problem during install on Mandrake Linux

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

problem during install on Mandrake Linux

Post #1by Peptron » 07.08.2004, 19:27

When I try to install Celestia on Mandrake Linux, I get this error on the celestia-kde-1.3.1-3mdk.i586.rpm package:

Some package requested cannot be installed:
celestia-kde-1.3.1-3mdk.i586 (due to unsatisfied liblualib.so)
do you agree ?



The other Package (celestia-kde-textures-1.3.1-3mdk.i586.rpm) install without problem.

I have installed the program on Windows on the same machine, and it works perfectly. So I'm certain it's more a configuration problem than an hardware problem.

Here is my hardware:
CPU: AMD Athlon(m) XP 2000+
Video Card: NV11 Geforce2 MX/MX 400

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Re: problem during install on Mandrake Linux

Post #2by Christophe » 07.08.2004, 23:07

You need to install the liblua5 RPM which is available from the contrib directory on Mandrake mirrors.

If you have a contrib source configured, 'urpmi liblua5' will do the trick.
Christophe

Topic author
Peptron

Post #3by Peptron » 08.08.2004, 18:03

Ok, now it installed ok, but I get an army of OpenGL errors...

I suppose that it has something to do with an uninstalled package that allows to use OpenGL? I haven't been able to use any OpenGL program on Mandrake Linux until now. But OpenGL works perfectly on Red Hat Linux and Windows.

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #4by Christophe » 08.08.2004, 19:32

You need to install the nvidia XFree86 drivers.
Christophe

Topic author
Peptron

Post #5by Peptron » 08.08.2004, 21:29

Hey thanks! It works!

Now I don't understand why, but it works absolutely perfectly under Linux, but it is laggy in Windows. Is there any rationnal explanation to this?

It was some trouble installing the drivers, because I ended up needing to edit the inittab file under Vim (a program that I DONT' like :wink: ) to put the default run level to 5 again. I even ended up in the runlevel 1 and 3 at the same time, with both sending messages and both getting my input :wink: . That was scary and it seemed like my computer was possessed :twisted: .

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #6by Christophe » 08.08.2004, 21:55

Peptron wrote:Hey thanks! It works!

I'm glad it worked.

Peptron wrote:Now I don't understand why, but it works absolutely perfectly under Linux, but it is laggy in Windows. Is there any rationnal explanation to this?

You're probably not using the correct drivers under Windows either. Do other OpenGL programs work normaly under Windows?

Peptron wrote:It was some trouble installing the drivers, because I ended up needing to edit the inittab file under Vim (a program that I DONT' like :wink: ) to put the default run level to 5 again. I even ended up in the runlevel 1 and 3 at the same time, with both sending messages and both getting my input :wink: . That was scary and it seemed like my computer was possessed :twisted: .


It's a bit strange, the NVidia installation script doesn't touch the inittab. I wonder how you ended up with a different default runlevel.
Christophe

Topic author
Peptron

Post #7by Peptron » 08.08.2004, 22:39

It's because the install won't work from X Windows. And since I am in Mandrake, X Windows is automatically loaded. So I thougth about changing the default runlevel to 1 in the inittab. But then the installation told me that I needed to be in runlevel 3. Since I was traumatised by Vim I simply typed "runlevel 3". It worked, but it didn't quit runlevel 1 :roll: , so I was in runlevel 1 and 3 at the same time, both sending messages and getting my input. I then rebooted to be sure that I was in runlevel 3 and only runlevel 3 to install. It worked first try and then I got back to runlevel 5, the one with KDE.

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #8by Christophe » 09.08.2004, 07:29

Strange, runlevel does not allow you to change runlevel, it just displays the current one.

To change runlevel, use init.

In fact you don't need to change runlevel to run the NVidia installer, you just need to make sure that no X instance is running. On most distributions an X display manager is started from inittab when in runlevel 5 (which indeed requires you to be in runlevel 3 to stop it), Mandrake does it a bit differently and uses an init script to do it, so to stop it you just have to run 'service dm stop'.

So for example, now that you have the driver installed, to update it, from X use CTRL+ALT+F1 to switch to a console, log in as root, run 'service dm stop', then 'nvidia-installer --update' and 'service dm start'.
Christophe


Return to “Celestia Users”