David Thompson wrote:
>
>
> This error with OpenGL not X. It appears that you do not have OpenGL
> installed. When you run configure what is the status of the OpenGL
> tests. Where is your OpenGL libs located?
Eh, but why do I not have these problems when I set
"setenv LDFLAGS -L/usr/X11R6/lib" before running the configure
and make?
I believe that the "/usr/X11R6/lib" is simply forgotten somewhere
in the configure/make process. But where exactly?
Here is what you ask for:
$ ./configure --prefix=/opt \
--x-includes=/usr/local/include:/usr/X11R6/include \
--x-libraries=/usr/local/lib:/usr/X11R6/lib > configure.output
$ grep -i gl configure.output
checking for glXGetConfig in -lhclglx... no
checking for gluBuild2DMipmaps in -lhclglu... no
checking for glAccum in -lglwstati... no
checking for glXGetConfig in -lGL... no
checking for gluBuild2DMipmaps in -lGLU... no
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for gl.h... no
checking for gl/device.h... no
checking for gl/gl.h... no
checking for xgl/xgl.h... no
config.status: creating src/exec/hwrender/gl/Makefile
config.status: creating src/exec/hwrender/opengl/Makefile
config.status: creating src/exec/hwrender/xgl/Makefile
The last three Makefile's are such that only opengl has work
to do; nothing to be done in xgl/ and gl/. Should make sense, no?
Moreover:
$ cd src/exec/hwrender/opengl
$ make
has no errors at all!! Does that give a hint?
On my FreeBSD system, I have:
/usr/X11R6/include/GL/GLwDrawA.h
/usr/X11R6/include/GL/GLwDrawAP.h
/usr/X11R6/include/GL/GLwMDrawA.h
/usr/X11R6/include/GL/GLwMDrawAP.h
/usr/X11R6/include/GL/gl.h
/usr/X11R6/include/GL/gle.h
/usr/X11R6/include/GL/glext.h
/usr/X11R6/include/GL/glu.h
/usr/X11R6/include/GL/glut.h
/usr/X11R6/include/GL/glx.h
/usr/X11R6/include/GL/glxext.h
/usr/X11R6/include/GL/glxint.h
/usr/X11R6/include/GL/glxmd.h
/usr/X11R6/include/GL/glxproto.h
/usr/X11R6/include/GL/glxtokens.h
/usr/X11R6/include/GL/osmesa.h
/usr/X11R6/lib/libgle.a
/usr/X11R6/lib/libgle.so -> libgle.so.3
/usr/X11R6/lib/libgle.so.3
/usr/X11R6/lib/libglut.so -> libglut.so.3
/usr/X11R6/lib/libglut.so.3
/usr/X11R6/lib/libGL.a
/usr/X11R6/lib/libGL.so -> libGL.so.1
/usr/X11R6/lib/libGL.so.1
/usr/X11R6/lib/libGLU.a
/usr/X11R6/lib/libGLU.so -> libGLU.so.1
/usr/X11R6/lib/libGLU.so.1
/usr/X11R6/lib/libGLw.a
/usr/X11R6/lib/libMesaGL.so -> libGL.so
/usr/X11R6/lib/libMesaGLU.so -> libGLU.so
Regards,
Rob.