View Full Version : When I excute $GLUT_HOME/make there are some error.

05-17-2004, 04:59 PM

When I install glut-3.6 for Linux refer to README. In setp 6, excute $GLUT_HOME/make. It Output some error as below:

gcc -m32 -O2 -pipe -march=i386 -mcpu=i686 -fno-strength-reduce -fno-strict-aliasing -pipe -I../../lib/glut -I../../../include -I../../include -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o test1.o test1.c
make[2]: *** No rule to make target `../../lib/glut/libglut.so', needed by `test1'. Stop.
make[2]: Leaving directory `/usr/local/glut/test/glut'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/glut/test'
make: *** [all] Error 2

I tried to install glut-3.7 that have the same problem. How to solve it??

05-19-2004, 02:38 PM
Why are you trying to compile from source? Just get the glut and glut-dev packages for your distribution.

05-27-2004, 07:54 PM
I have the same trouble, when I forgot to do

5) Make two symbolic links:

ln -s libglut.so.3.6 libglut.so.3
ln -s libglut.so.3.6 libglut.so