failure to compile
Posted: 21.06.2003, 02:26
My system is Linux Red Hat 9, on an NForce-based motherboard (MSI). The graphics card on these boards is embedded, using the GeForce2 chipset.
I'm using the latest RH kernel update, and the latest official NVidia driver, compiled on this same system. The graphics system seems to be working fine, i didn't have any problems.
I downloaded Celestia from here http://shrike.freshrpms.net/ and tried to rebuild the src.rpm on my system. Well, it failed. Here is the error:
However, i do have glut installed:
The config.log file reveals this:
The guy who created the src.rpm (Matthias Saou) says it compiles fine on his system. He's using the same Red Hat 9, has a GeForce card, but he's not using the official NVidia drivers. His allegation (and my suspicion too) is that the NVidia driver somehow replaced a few things on my system, hence the compilation fails.
Can anyone shed some more light?
Anyone else with RH9 and the official NVidia drivers here? Does Celestia compile fine on your system?
What could be the cause for the failure? What can i do to fix that?
If you need more information, let me know.
Thank you,
I'm using the latest RH kernel update, and the latest official NVidia driver, compiled on this same system. The graphics system seems to be working fine, i didn't have any problems.
I downloaded Celestia from here http://shrike.freshrpms.net/ and tried to rebuild the src.rpm on my system. Well, it failed. Here is the error:
Code: Select all
[root@rivendell root]# rpmbuild --rebuild --target=athlon celestia-1.3.0-fr1.src.rpm
... a lot of snipped stuff ...
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for glNewList in -lGL... yes
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 GL/glut.h usability... yes
checking GL/glut.h presence... yes
checking for GL/glut.h... yes
checking for glutKeyboardUpFunc in -lglut... no
configure: error: GLUT library version >= 3.7 not found
However, i do have glut installed:
Code: Select all
[root@rivendell root]# rpm -qa | grep glut
glut-devel-3.7-12
glut-3.7-12
[root@rivendell root]#
The config.log file reveals this:
Code: Select all
configure:20686: checking for glutKeyboardUpFunc in -lglut
configure:20717: gcc -o conftest -ansi -W -Wall -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -O2 -march=athlon-xp -mfpmath=sse -I/usr/X11R6/include -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer conftest.c -lglut -lGLU -lGL -lSM -lICE -lm -L/usr/X11R6/lib -lXmu -lXi -lXext -lX11 -lm -lz -lGL >&5
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXBindChannelToWindowSGIX'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXQueryChannelDeltasSGIX'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXChannelRectSyncSGIX'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXChannelRectSGIX'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXQueryChannelRectSGIX'
collect2: ld returned 1 exit status
configure:20720: $? = 1
configure: failed program was:
| #line 20693 "configure"
| /* confdefs.h. */
The guy who created the src.rpm (Matthias Saou) says it compiles fine on his system. He's using the same Red Hat 9, has a GeForce card, but he's not using the official NVidia drivers. His allegation (and my suspicion too) is that the NVidia driver somehow replaced a few things on my system, hence the compilation fails.
Can anyone shed some more light?
Anyone else with RH9 and the official NVidia drivers here? Does Celestia compile fine on your system?
What could be the cause for the failure? What can i do to fix that?
If you need more information, let me know.
Thank you,