Hi,
I'm building celestia unix version 1.2.2. but:
checking for GL/gl.h... yes
checking for glNewList in -lGL... yes
checking for GL/glu.h... yes
checking for gluLookAt in -lGLU... yes
checking for GL/glut.h... yes
checking for glutKeyboardUpFunc in -lglut... no
configure: error: GLUT library version >= 3.7 not found
It find the glut header file but not the library file.
If i do this:
# ldconfig -v | grep glut
libglut.so.3 -> libglut.so.3.7.0
# ls -l /usr/X11/lib | grep glut
lrwxrwxrwx 1 root root 16 Mar 31 19:53 libglut.so.3 -> libglut.so.3.7.0*
-rwxr-xr-x 1 root root 306038 Mar 10 17:41 libglut.so.3.7.0*
Bye!
Building problems with unux 1.2.2
Eureka!!!
I made 3 changes in the configure script:
line 4090: LIBS="-lglut -lXmu -Xt -Xi $LIBS"
line 4124: LIBS="-lglut -lXmu -lXt -Xi $LIBS"
line 4139: LIBS="-ljpeg -lXmu $LIBS"
line 4188: LIBS="-lpng -lXmu $LIBS"
And more changes, we need to do another link to libglut in order to ld find glut
cd /usr/X11R6/lib; ln -s libglut.so.3.7.0 libglut.so; ldconfig
It works
line 4090: LIBS="-lglut -lXmu -Xt -Xi $LIBS"
line 4124: LIBS="-lglut -lXmu -lXt -Xi $LIBS"
line 4139: LIBS="-ljpeg -lXmu $LIBS"
line 4188: LIBS="-lpng -lXmu $LIBS"
And more changes, we need to do another link to libglut in order to ld find glut
cd /usr/X11R6/lib; ln -s libglut.so.3.7.0 libglut.so; ldconfig
It works