[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

openGL headers but not libs ?



Hello,

I have installed xscreensaver 4.1 on woody, Having installed loads of -dev packages I still have multiple packages that are un-avalible. I believe this is because of a lack of open.GL. When I ./compile I get the warning ...

 #################################################################

      Note: The OpenGL 3D library was not found.

            More specifically, we found the headers, but not the
            libraries; so either GL is half-installed on this
            system, or something else went wrong.  The `config.log'
            file might contain some clues.

            Those demos which use 3D will not be built or installed.
            You might want to consider installing OpenGL and
            re-running configure.  If your vendor doesn't ship
            their own implementation of OpenGL, you can get a free
            version at <http://www.mesa3d.org/>.  For general OpenGL
            info, see <http://www.opengl.org/>.

   #################################################################

" More specifically, we found the headers, but not the libraries;" usualy means to me that a -dev package is needed. I searched aptitude for opengl which only returns pearl & python but no -dev.

I have checked through "config.log" but found nothing usefull, well nothing I understand to be truthfull .. the section being ..


.configure:14292: checking GL/gl.h usability
configure:14301: gcc -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI
__ -c -g -O2  -I${prefix}/include  -I/usr/X11R6/include conftest.c >&5
configure:14304: $? = 0
configure:14307: test -s conftest.o
configure:14310: $? = 0
configure:14319: result: yes
configure:14323: checking GL/gl.h presence
configure:14330: gcc -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI
__ -E  -I${prefix}/include  -I/usr/X11R6/include conftest.c
configure:14336: $? = 0
configure:14354: result: yes
configure:14372: checking for GL/gl.h
configure:14379: result: yes
configure:14398: checking for GL/glx.h
configure:14411: gcc -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI
__ -c -g -O2  -I${prefix}/include  -I/usr/X11R6/include conftest.c >&5
configure:14414: $? = 0
configure:14417: test -s conftest.o
configure:14420: $? = 0
configure:14430: result: yes
configure:14449: checking whether GL is really MesaGL
configure:14476: result: no
configure:14659: checking for glXCreateContext in -lGL
configure:14692: gcc -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI __ -o conftest -g -O2 -I${prefix}/include -I/usr/X11R6/include -L${exec_prefix}/lib -L/usr/X11R6/lib conftest.c -lGL -lGLU -lX11 -lXext -lm >&5
configure:14674: warning: function declaration isn't a prototype
configure:14683: warning: function declaration isn't a prototype
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
configure:14695: $? = 1
configure: failed program was:
#line 14666 "configure"
#include "confdefs.h"

I thought openGL was working on my system, tux racer works great so I am reluctant to start loading mesa and risk corrupting it ...

Any suggestions ?

Dave







Reply to: