Page 1 of 1

Building Celestia from sources

Posted: 04.11.2003, 21:44
by Eugine V. Kosenko
Hi!

I've actively been using ALTLinux Junior 2.2. I want to make a source and binary rpm package of Celestia for ALTLinux. So, I took the list of sources, and tried to compile them on my local machine first.

I've used the next commands:

./configure --prefix=/usr/local/celestia
make
make install

Everything was good until the end of the building. Then I've tried to launch celestia. When I launched this in console, I've taken the next log:

$ /usr/local/celestia/bin/celestia
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
nStars: 112521
Parent body 'TYC 5503-946-1' of 'b' not found.
$

After this I have a "frozen" window with the caption "Celestia" in the header. It seems this is a main window of the application, because I see menu item "Settings->Configure Celestia". However, the main area is a part of the previous (underlaying) window. When I try to choose any menu item or close the application, I get the KDE message that the application fallen because the SIGSEGV 11. Any additional information is not provided.

If I launched the application as root user, I also get the next message

Mutex destroy failure: Device or resource busy

after this.

The version of KDE I use is 3.1.2. Can anyone help me with the problem?

Posted: 05.11.2003, 01:12
by jamarsa
It seems you don't have the glx module loaded for X. You will need to look in your XF86Config for a line in the Module Section, like this:

Section "Module"
...
Load "glx"
...
EndSection

Make sure your graphics hardware is capable of supporting 3D hardware acceleration. A good idea is to post the output of the command glxinfo here.

PS: Maybe the 'GLcore' and 'dri' modules should be declared too? It depends of your hardware, though.

Posted: 05.11.2003, 20:30
by Guest
jamarsa wrote:Make sure your graphics hardware is capable of supporting 3D hardware acceleration. A good idea is to post the output of the command glxinfo here.


Thanks for the support! I will try to make the adjustments

My video card is really weak -- this is ATI Rage 3D AGP without hardware acceleration. However, I use the binary Celestia distribution for Windows, and I do not have any problem except the performance. Therefore I hoped that the Linux distribution would not require 3D acceleration. Isn't it so?

Apart from this, I have got the same messages about GLX for some applications, which started them without problems...

Posted: 05.11.2003, 22:50
by jamarsa
Therefore I hoped that the Linux distribution would not require 3D acceleration. Isn't it so?

That is true, you don't need 3D acceleration. But it is far better to have it... 8)

Apart from this, I have got the same messages about GLX for some applications, which started them without problems...


It depends on the application you refer to... I suspect Celestia heavily uses 3D functions and OpenGL primitives. Chris or Chris(tophe) would answer better this question.