installation

General discussion about Celestia that doesn't fit into other forums.
Topic author
sonetsst

installation

Post #1by sonetsst » 11.03.2002, 23:53

hi,
i'm a whole newbie thing when it comes to linux, so cut me some slack :-)
i've already downloaded and unziped the source, but when i run confgure i get:
<snip>
checking for gluLookAt in -lGLU... no
checking for gluLookAt in -lMesaGLU... no
configure: error: GLU library was not found
<snip>
i put the lines above it just incase that has something to do with it.
now i don't understand. isn't glu supposed to be part of my installed opengl library?
i'm using a nvidia tnt2 card, and i have installed the drivers from their site.
can someone please tell me how to get this to work!
thanks for your time!
seth

Guest

me too

Post #2by Guest » 17.08.2002, 05:05

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

What's this gluLookAt? I want it too. I just compiled Mesa4.0.3, am I going to have to get something and recompile it? There's only hundreds of GL extensions & they don't always compile; for instance, I've got all sorts of gtkgl stuff & gdk stuff I needed for some kind of gldrawingarea function (for something else, btw) - but the dependencies were maddening. I hope it's not more stuff like that.
celestia also complains of no: gdk_gl_query. Why do I have GL, gdk, & gtk but these applications want to pretend it's not there? :)

Guest

Post #3by Guest » 22.08.2002, 11:32

Untar Mesa-Lib-4.0.3 -=AND=- untar Mesademos
For some reason mesa developers put the GLUT stuff in a separate mesa-demos tarball that looks sort of non-essential and optional. Well in most attempts to compile opengl stuff like Flightgear or celestia this 'afterthought' library has been totally necessary.
mesa-demos will untar overtop of mesa-4.0.3
then do ./configure && make && make install
now glut and gl libs are in /usr/local/lib

When building Celestia probably you want to pass an explicit direction about where to find the gl and glut libs
./configure --with-gl-libs=/usr/local/lib --with-glut-libs=/usr/local/lib

I think the gdk-gl-query error is probably fixed by making sure you have any -devel library associated with gtk-gl-area installed. Some kind of opengl-gtk binding. probably used in whatever gui if any we get in the linux version.
But right now I am too tired to track this down.
I could build celestia-1.2.4 but not celestia-1.2.0 on the same system. So celestia may be sensitive to the gcc compiler version you have, too. that was the last barrier to getting it to build.
I -really- wish this thing had some commandline options, eg --geometry 800x600 or --fullscreen and so forth. I am completely new to its scripting.


Return to “Celestia Users”