[PyOpenGL-Devel] Mandrake Linux compile problems (v. 2.0.0.44)
Brought to you by:
mcfletch
|
From: Derek S. <de...@re...> - 2002-02-21 19:54:32
|
This is an FYI only, so you can fix the build problems in the next release. I can't get PyOpenGL-2.0.0.44 to compile under a clean Mandrake Linux 8.1 install. I tried to both 'rpm --rebuild' the SRPM, and also to compile from the .tar.gz distribution. Both fail during the 'python setup.py install' stage. The problem is that it's not looking in /usr/X11R6/lib/ for my X11 libraries. Here is where it fails: gcc -shared build/temp.linux-i686-2.1/GL.ARB.matrix_palette.o -L/usr/lib -L/usr/local/lib -L/usr/X11/lib -Lbuild/temp.linux-i686-2.1 -lGL -lX11 -lXext -lGLU -linterface_util -lGLE -o build/lib.linux-i686-2.1/OpenGL/GL/ARB/matrix_palette.so /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Note the 'cannot find -lX11' error. And yet: [root@dereks PyOpenGL-2.0.0.44]# ls /usr/X11R6/lib/libX11.* /usr/X11R6/lib/libX11.a /usr/X11R6/lib/libX11.so.6@ /usr/X11R6/lib/libX11.so@ /usr/X11R6/lib/libX11.so.6.2* [root@dereks PyOpenGL-2.0.0.44]# If I copy libX11* to /usr/lib/ then it finds libX11.a but complains about libXext. I assume it will do that with all libs in the /usr/X11R6/lib directory. Thanks, Derek Simkowiak |