LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Celestia compilation issues (https://www.linuxquestions.org/questions/linux-software-2/celestia-compilation-issues-639577/)

oskorei 05-03-2008 05:49 AM

Celestia compilation issues
 
I am trying to compile the new version of celestia (1.5.1), and encounter the following problem during configuration (last 11 lines out):

checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for gluLookAt in -lGLU... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for CAIRO... yes
checking for THEORA... yes
checking for jpeg_start_decompress in -ljpeg... no
configure: error: jpeg library not found

libjpeg.so is alive and present in /usr/lib64, and other libraries in the same directory are detected with no problem. Any ideas?

I have mostly the latest versions of all the tools; other software compiles without a hitch.

Thanks in advance!

knudfl 05-03-2008 11:10 AM

I am guessing: the other libs in /usr/lib64 have an entry in /usr/lib/pkgconfig,
so they will be found. There are these options in 'configure'
--with-extra-includes=DIR adds non standard include paths
--with-extra-libs=DIR adds non standard library paths
(from 'configure --help)

oskorei 05-03-2008 01:29 PM

I tried --with-extra-libs=/usr/lib64, and it didn't work. I even went ahead and installed jpeg-devel-32bit to make sure I had both versions of the library. Still no luck! Same output.

Quote:

Originally Posted by knudfl (Post 3141223)
I am guessing: the other libs in /usr/lib64 have an entry in /usr/lib/pkgconfig,
so they will be found. There are these options in 'configure'
--with-extra-includes=DIR adds non standard include paths
--with-extra-libs=DIR adds non standard library paths
(from 'configure --help)


oskorei 05-03-2008 01:45 PM

OK, an update: it's got to be the configure script for this version of Celestia, since I just tried compiling an older version (1.3.0) and it went without a hitch. Weird, but true...

back to the thinking cap.;)

LordAnta 05-03-2008 01:56 PM

or you don't have the exact version of the library that it wants.
It happened to me with gkrellm. He was asking for a library, it was in /usr/lib, but it was a newer version than the one he was asking for.

Maybe your program needs a newer version of the jpeg library, and you have a older one. That is why the older version of the program worked.

oskorei 05-03-2008 04:33 PM

Could have been, but I just installed the newest development versions with smart, so that should not be the issue. Like I said, it's weird. Adding insult to injury, I upgraded my SuSE to 10.3 and it seems to have broken most of the GL apps: Celestia, partiview, google-earth are balking at me now. I suspect it's that x11-nouveau nvidia driver (I get a "insufficient GL support/extension GLX missing from display ":0.0" " message, and all the MESA libs are up to date and exist both in 32 and 64 bit versions), so I'll just try to reinstall the original nvidia one, and see what happens.

Wow, I am full of problems today!

Quote:

Originally Posted by LordAnta (Post 3141370)
or you don't have the exact version of the library that it wants.
It happened to me with gkrellm. He was asking for a library, it was in /usr/lib, but it was a newer version than the one he was asking for.

Maybe your program needs a newer version of the jpeg library, and you have a older one. That is why the older version of the program worked.



All times are GMT -5. The time now is 03:30 AM.