MakesDna is the only place that -lGLU appears that it's not found.
gcc -g -O2 -o makesdna makesdna-makesdna.o ../../../../intern/guardedalloc/.libs/libblender_guardedalloc.al -lGLU -lGL -lm -ljpeg -lpng -lcrypto -lssl -lpthread -ldl -lstdc++ -lz
ld: can't locate file for: -lGLU
*** Error code 1
./configure is finding it: checking for gluGetString in -lGLU... yes
Any ideas?
I suggest a link from /usr/lib/libGLU.so to where your libGLU.so is (probably /usr/X11R6/lib/libGLU.so).
Actually, makesdna doesn't need "-lGLU -lGL -lm -ljpeg -lpng -lcrypto -lssl -lpthread -ldl -lstdc++ -lz". Somehow autoconf put those there....
Could you edit $builddir/source/blender/makesdna/intern/Makefile and remove any references to them and see if it compiles?
sgefant
I commented this line out in makesdna/intern/Makefile:
# LIBS = -lGLU -lGL -lm -ljpeg -lpng -lcrypto -lssl -lpthread -ldl -lstdc++ -lz
Now the error occures here after makesdna is built:
gcc -g -O2 -o makesdna makesdna-makesdna.o ../../../../intern/guardedalloc/.libs/libblender_guardedalloc.al -lGLU -lGL -lm -ljpeg -lpng -lcrypto -lssl -lpthread -ldl -lstdc++ -lz
ld: can't locate file for: -lGLU
This is an improvement, at least makesdna is building.
EDIT:
I use the tcsh shell, I've added the full paths to .tcshrc, .cshrc, .shrc and /sw/bin/init.csh, and init.sh so there should be know problems finding anything.