Well my graphic card is an ATI Rage 128 but I think this might happen with other cards...
Fist of all what I did was to go to http://www.rpmfind.net and download the latest
celestia-1.2.4-4mdk.src.rpm
I installed it ans did:
su
mv /celestia.spec /usr/src/RPM/SPECS
mv celestia* /usr/src/RPM/SOURCES
then inside celestia-1.2.4.tar.bz2 with emacs I edited the file src/celengine/render.cpp, line:
_________________________________________________________________
glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB,(GLint*) &nSimultaneousTextures);
I added the line:
nSimultaneousTextures = 1;
right underneath
__________________________________________________________________
then I removed the backup render.cpp~
and recompressed to celestia-1.2.4.tar.bz2
I also modified the celestia.spec, line %configure, and replaced --enable-gtk by --without-gtk, because the gtk GUI makes my navigation spasmodic like.
then I rebuilt the whole thing
rpm -ba celestia.spec and it works fine
Cheers,
M.E.
How-to bugfix segfault with ringed planets, Mandrake 9.0
-
Topic authorCro Maat
No need to deactivate gtk gui after all
Sorry, gtk gui works fine now. I think it was some kind of xfree temporary instability. I restarted xfree and that solved it.
By the way I realised I made a typing mistake in my last post. So of course read:
mv /celestia* /usr/src/RPM/SOURCES
and NOT mv celestia* /usr/src/RPM/SOURCES
Cheers !
M.E.
By the way I realised I made a typing mistake in my last post. So of course read:
mv /celestia* /usr/src/RPM/SOURCES
and NOT mv celestia* /usr/src/RPM/SOURCES
Cheers !
M.E.