no gluLookAt, what is it?

Report bugs, bug fixes and workarounds here.
Guest

no gluLookAt, what is it?

Post #1by Guest » 05.09.2002, 21:57

Celestia 1.2.4 won't configure for me, says it want's gluLookAt in my libs.
I have a modern pc, w/a g400, Mesa 4.0.3, glut 3.7, linux 2.4.18, X 4.2, gcc3.1.1; it's ready to run Celestia, just don't know what this is?

Here's the bomb:
bash-2.05a# ./configure
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -msse ) works... yes
checking whether the C compiler (gcc -O3 -msse ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /bin/install -c
checking for ranlib... ranlib
checking whether to include debugging code... no
checking whether to be pedantic... no
checking whether to do profiling... no
checking whether to disable GTK.... no
checking for gtk-config... /usr/local/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for gdk_gl_query in -lgtkgl... no
configure: warning: Disabled GTK GUI because of missing necessary packages
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for GL/gl.h... yes
checking for glNewList in -lGL... yes
checking for GL/glu.h... yes
checking for gluLookAt in -lGLU... no
checking for gluLookAt in -lMesaGLU... no
configure: error: GLU library was not found

How can I fix this?

Guest

more info

Post #2by Guest » 12.09.2002, 16:23

I stuck libgii.so.0.0.8, & libggi.so.2.0.1 on it & recompiled Mesa, but there is still no
gluLookAt (just a hunch, 'cos Mesa's configure script supported it)
It even seems to be in there...

bash-2.05a# grep -s gluLookAt *
Binary file libGLU.so matches
Binary file libGLU.so.1 matches
Binary file libGLU.so.1.3.401 matches
Binary file libGLU.so.1.3.403 matches
Binary file libMesaGLU.so matches
Binary file libglu32.so matches



libvgagl.so.1.4.2
libgtkgl.so.5.0.0
libgtkgl.la
libglut.so.3.7.0
libglut.la
libglu32.so
libd3dgl.so
libGL.la
libGL.so.1.3.403
libGLU.so.1.3.403
libGLU.la
libGLw.so.1.0.0
even got libopengl32.so :)

But it still bails the same as always?

Guest

beyond gluLookAt, new build issue

Post #3by Guest » 20.09.2002, 05:33

Ok, I deleted all of the Mesa & GL files from /usr/local/lib. Celestia configured properly afterwards, using the Mesa that was included with Xfree4.2 (there is a small 4.2.1 security patc available now, BTW) , /usr/X11R6/lib/libOSMesa.so.3.3.
GL apps continue to function (/usr/ocal/lib/xcreensaver/moebius -root still makes phat wallpaper.), I think I've been keeping a nice fresh version of Mesa around, and using 3.3 all along.. maybe I should have had /usr/local/lib before /usr/X11R6/lib in /etc/ld.so.conf?

It still doesn't compile w/these libs all the way, it stops like this:
Making all in celengine
make[3]: Entering directory `/usr/src/celestia-1.2.4/src/celengine'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/local/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include/orbit-1.0 -I/usr/local/include/gtk-1.2 -I/usr/X11R6/include -c starbrowser.cpp
In file included from ../celengine/texmanager.h:15,
from simulation.h:22,
from starbrowser.h:17,
from starbrowser.cpp:15:
../celutil/resmanager.h: In member function `ResourceHandle
ResourceManager<T>::getHandle(const T&)':
../celutil/resmanager.h:62: warning: `typename std::map<T, ResourceHandle,
std::less<_Key>, std::allocator<std::pair<const T, ResourceHandle> >
>::iterator' is implicitly a typename
../celutil/resmanager.h:62: warning: implicit typename is deprecated, please
see the documentation for details
In file included from starbrowser.cpp:15:
starbrowser.h: At global scope:
starbrowser.h:32: syntax error before `*' token
starbrowser.cpp:93: syntax error before `*' token
starbrowser.cpp:94: type specifier omitted for parameter `Pred'
starbrowser.cpp:94: parse error before `,' token
starbrowser.cpp:95: ISO C++ forbids declaration of `findStars' with no type
starbrowser.cpp: In function `int* findStars(...)':
starbrowser.cpp:96: `vector' undeclared (first use this function)
starbrowser.cpp:96: (Each undeclared identifier is reported only once for each
function it appears in.)
starbrowser.cpp:96: parse error before `*' token
starbrowser.cpp:97: `nStars' undeclared (first use this function)
starbrowser.cpp:98: `finalStars' undeclared (first use this function)
starbrowser.cpp:102: `Pred' undeclared (first use this function)
starbrowser.cpp:102: ISO C++ forbids declaration of `multiset' with no type
starbrowser.cpp:102: template-id `multiset<const Star*, <expression error> >'
used as a declarator
starbrowser.cpp:102: parse error before `;' token
starbrowser.cpp:103: `StarSet' undeclared (first use this function)
starbrowser.cpp:105: `stardb' undeclared (first use this function)
starbrowser.cpp:113: `firstStars' undeclared (first use this function)
starbrowser.cpp:122: `pred' undeclared (first use this function)
starbrowser.cpp:132: parse error before `::' token
starbrowser.cpp:133: `iter' undeclared (first use this function)
starbrowser.cpp: In member function `const Star* StarBrowser::nearestStar()':
starbrowser.cpp:147: parse error before `*' token
starbrowser.cpp:148: `stars' undeclared (first use this function)
starbrowser.cpp:144: warning: unused variable `Universe*univ'
starbrowser.cpp: At global scope:
starbrowser.cpp:154: syntax error before `*' token
starbrowser.cpp:163: syntax error before `.' token
starbrowser.cpp:164: syntax error before `.' token
starbrowser.cpp:182: syntax error before `.' token
starbrowser.cpp:183: syntax error before `.' token
starbrowser.cpp:193: syntax error before `.' token
make[3]: *** [starbrowser.o] Error 1
make[3]: Leaving directory `/usr/src/celestia-1.2.4/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/celestia-1.2.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/celestia-1.2.4'
make: *** [all-recursive-am] Error 2
bash-2.05a#

I haven't tried to disable gnome or anything like that yet, just thought there were a lot of ppl looking at the gluLookAt posts. My gnome stuff is only half installed and sort of broken, so it's probably buildable now..


Return to “Bugs”