Bug found???

General discussion about Celestia that doesn't fit into other forums.
Topic author
Widgeteye
Posts: 7
Joined: 01.03.2005
With us: 19 years 8 months

Bug found???

Post #1by Widgeteye » 30.10.2005, 01:49

Ok, after trying and trying to configure celestia with:
configure --with-gtk
and failing miserably because of not being able to find the libjpeg files, I tried configuring with:
configure --with-glut
and the configure file found libjpeg without a problem.

so to sum up;

configure --with-gtk
gave me;
checking for jpeg_start_decompress in -ljpeg NO

configure --with-glut
gave me;
checking for jpeg_start_decompress in -ljpeg YES

And no matter what I did to try and tell configure where to
find libjpeg, nothing worked with "configure --with-gtk"

Odd.

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #2by cartrite » 30.10.2005, 08:13

I don't know. Never tried to configure for gtk. Always KDE. That does open up a can worms tho. GTK and GDK and X and Gnome etc. Version #'s?????????

A lot of Gnome files are on my system to support the Gimp and Mozilla Firefox. Never really use anything else. At least I don't think I do. Oh Yeah, THINKING HURTS. This is getting interesting tho.

cartrite

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

Post #3by t00fri » 30.10.2005, 09:47

I compile ALL gtk versions routinely without the slightest problems, including Celestia-FT1.x, of course.

Pat Suwalski, the main developer of the gtk port now has even managed to compile Celestia with gtk+ natively under Windows.
Celestia-gtk+ for Windows

Bye Fridger
Last edited by t00fri on 30.10.2005, 10:23, edited 2 times in total.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

Post #4by t00fri » 30.10.2005, 09:49

cartrite wrote:...
Oh Yeah, THINKING HURTS. This is getting interesting tho.

cartrite


Yes, SPORT also hurts when you are NOT used to it...

Bye Fridger

Topic author
Widgeteye
Posts: 7
Joined: 01.03.2005
With us: 19 years 8 months

Post #5by Widgeteye » 30.10.2005, 14:43

t00fri wrote:I compile ALL gtk versions routinely without the slightest problems, including Celestia-FT1.x, of course.

Pat Suwalski, the main developer of the gtk port now has even managed to compile Celestia with gtk+ natively under Windows.
Celestia-gtk+ for Windows

Bye Fridger



That doesn't mean there isn't something wrong. Can you explain why the same source code would find a file while configuring for one version and not find the same file while configuring for another? I spent almost 6 hours friday night making sure all the dependencies that celestia called for were the most up to date and in normal linux directories /usr/local and then /usr. I told configure where to find libjpeg and it still wouldn't see it.

It doesn't make sense that the same code would find libjpeg when configuring for glut and not find it when configuring for gtk.

After I suceeded in configuring for glut I went back and erased the config.log and tried configuring for gtk again and got the same error.

Just because you had success doesn't mean there isn't a problem somewhere.

I have been using Linux Slackware for over 10 years and I know how to configure and build apps. Though I am no programmer, I know which hoops to jump through to generally get an app to build. Nothing worked for this one.

I will say though that after I got the program built it works very nicely. I have plenty of graphics card for this one and it uses all of it. :)

Thanks,
Widgeteye

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

Post #6by t00fri » 30.10.2005, 16:56

Please consider that I am not the only one who manages to build the gtk+ version without problems. Many people have also no problems...

Slackware is not very popular anymore at least over here.
So you are essentially on your own here. Can you list ALL files that are installed for your jpeg package??

Let me give you a complete list of libs that the gtk+ version actually requires. Perhaps one of them is missing in your installation and your "jpeglib" error is just one of these familiar fake error reports, actually referring to another (earlier) problem! 'Configure' error reporting is TRICKY, but given your large experience as you say, I don't need to tell you more, I suppose...

Code: Select all

[fschrempp] /usr/local/cvs/celestia-gtk # ldd ./celestia
        libpng.so.3 => /usr/lib/libpng.so.3 (0x4001a000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40048000)
        libglut.so.3 => /usr/lib/libglut.so.3 (0x40069000)
        libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x400b6000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x400bb000)
        libz.so.1 => /usr/lib/libz.so.1 (0x400c3000)
        libgtkglext-x11-1.0.so.0 => /usr/local/lib/libgtkglext-x11-1.0.so.0 (0x400d2000)
        libgdkglext-x11-1.0.so.0 => /usr/local/lib/libgdkglext-x11-1.0.so.0 (0x400d6000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x40128000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x401a5000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40224000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40232000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40330000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40346000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4039a000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x403a4000)
        libgtk-x11-2.0.so.0 => /opt/gnome/lib/libgtk-x11-2.0.so.0 (0x403bd000)
        libgdk-x11-2.0.so.0 => /opt/gnome/lib/libgdk-x11-2.0.so.0 (0x406ad000)
        libatk-1.0.so.0 => /opt/gnome/lib/libatk-1.0.so.0 (0x4072e000)
        libgdk_pixbuf-2.0.so.0 => /opt/gnome/lib/libgdk_pixbuf-2.0.so.0 (0x40747000)
        libpangoxft-1.0.so.0 => /opt/gnome/lib/libpangoxft-1.0.so.0 (0x4075c000)
        libpangox-1.0.so.0 => /opt/gnome/lib/libpangox-1.0.so.0 (0x40764000)
        libpangoft2-1.0.so.0 => /opt/gnome/lib/libpangoft2-1.0.so.0 (0x4076f000)
        libpango-1.0.so.0 => /opt/gnome/lib/libpango-1.0.so.0 (0x40795000)
        libgobject-2.0.so.0 => /opt/gnome/lib/libgobject-2.0.so.0 (0x407ce000)
        libgmodule-2.0.so.0 => /opt/gnome/lib/libgmodule-2.0.so.0 (0x40806000)
        libdl.so.2 => /lib/libdl.so.2 (0x4080a000)
        libglib-2.0.so.0 => /opt/gnome/lib/libglib-2.0.so.0 (0x4080e000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40896000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40956000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40979000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40981000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40ab5000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x4121e000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x41220000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x41224000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x41237000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x412a9000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x412b2000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x412dd000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x412e6000)


Good luck!

Bye Fridger

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

re

Post #7by John Van Vliet » 01.11.2005, 00:47

i to am using gtk , but with gnome . AFTER build distro clean
./configure --with-gnome worked fine

of cource i was also building gtk2.6 and gimp3.2 so all the dep's were very new and upto date my only prob was gcc 4.1


Return to “Celestia Users”