Page 1 of 1

Bug found???

Posted: 30.10.2005, 01:49
by Widgeteye
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.

Posted: 30.10.2005, 08:13
by cartrite
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

Posted: 30.10.2005, 09:47
by t00fri
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

Posted: 30.10.2005, 09:49
by t00fri
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

Posted: 30.10.2005, 14:43
by Widgeteye
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

Posted: 30.10.2005, 16:56
by t00fri
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

re

Posted: 01.11.2005, 00:47
by John Van Vliet
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