Splash screen dir not found (Linux, KDE)

General discussion about Celestia that doesn't fit into other forums.
Topic author
amoroso
Posts: 50
Joined: 07.06.2003
With us: 21 years 3 months

Splash screen dir not found (Linux, KDE)

Post #1by amoroso » 24.12.2005, 15:58

I have just installed Celestia 1.4.0 from the source distribution on my Slackware Linux 10.0 box with KDE 3.2.2 (nVidia GeForce FX 5600 Ultra card with 256 MB of RAM). I have configured the build with these options:

    Code: Select all

    --prefix=/usr/local/celestia --with-kde --with-lua=/usr/local/lua

Everything seems to be working fine. But each time I start the program, I get this information dialog:
    Something seems to be wrong with your installation of Celestia. The splash screen directory couldn't be found.

    Start-up will continue, but Celestia will probably be missing some data files and may not work correctly, please check your installation.

and, not surprisingly, I don't see any splash screen. Is there anything wrong with my setup?

Let me profit by the occasion to thank the Celestia team for this wonderful Christmas present.


Paolo

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 5 months
Location: Hamburg, Germany

Re: Splash screen dir not found (Linux, KDE)

Post #2by t00fri » 24.12.2005, 17:03

amoroso wrote:I have just installed Celestia 1.4.0 from the source distribution on my Slackware Linux 10.0 box with KDE 3.2.2 (nVidia GeForce FX 5600 Ultra card with 256 MB of RAM). I have configured the build with these options:

    Code: Select all

    --prefix=/usr/local/celestia --with-kde --with-lua=/usr/local/lua

Everything seems to be working fine. But each time I start the program, I get this information dialog:
    Something seems to be wrong with your installation of Celestia. The splash screen directory couldn't be found.

    Start-up will continue, but Celestia will probably be missing some data files and may not work correctly, please check your installation.
and, not surprisingly, I don't see any splash screen. Is there anything wrong with my setup?

Let me profit by the occasion to thank the Celestia team for this wonderful Christmas present.


Paolo


That's easy: Just create a dir named 'splash' in the installation dir (same level as 'data', 'models' etc. Then put in some of your favourite images. They are displayed in random sequence. Another neat feature specific to Celestia-KDE ;-)

Bye Fridger

Topic author
amoroso
Posts: 50
Joined: 07.06.2003
With us: 21 years 3 months

Re: Splash screen dir not found (Linux, KDE)

Post #3by amoroso » 24.12.2005, 19:29

t00fri wrote:That's easy: Just create a dir named 'splash' in the installation dir (same level as 'data', 'models' etc. Then put in some of your favourite images. They are displayed in random sequence. Another neat feature specific to Celestia-KDE ;-)


I have checked my installation: that directory already exists, and it contains the file celestia-splash.jpg.


Paolo

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 5 months
Location: Hamburg, Germany

Re: Splash screen dir not found (Linux, KDE)

Post #4by t00fri » 24.12.2005, 19:34

amoroso wrote:
t00fri wrote:That's easy: Just create a dir named 'splash' in the installation dir (same level as 'data', 'models' etc. Then put in some of your favourite images. They are displayed in random sequence. Another neat feature specific to Celestia-KDE ;-)

I have checked my installation: that directory already exists, and it contains the file celestia-splash.jpg.


Paolo


But then it should just work. I certainly works for me...

Bye Fridger

Topic author
amoroso
Posts: 50
Joined: 07.06.2003
With us: 21 years 3 months

Re: Splash screen dir not found (Linux, KDE)

Post #5by amoroso » 24.12.2005, 19:50

t00fri wrote:But then it should just work. I certainly works for me...


Indeed. Although I think I have followed the correct procedure, my Celestia installation may have some problems.

I have noticed, for example, that the menus contain few commands and many are missing (e.g. cycle star mode, view manipulation, set time, eclipse finder, etc.). The missing ones, however, can be added by configuring the toolbar.

The missing menu commands were present in the GTK version of Celestia 1.3.2 I previously used. With 1.4.0 I have to use the KDE one because GTK+ 2.6 or later is required, but I only have 2.4.

Is it normal that so many commands are missing from the KDE version of Celestia 1.4.0?


Paolo

suwalski
Developer
Posts: 62
Joined: 03.12.2003
With us: 20 years 9 months
Contact:

Post #6by suwalski » 25.12.2005, 05:47

amoroso wrote:Is it normal that so many commands are missing from the KDE version of Celestia 1.4.0?

I have just downloaded the source tarball onto one of my KDE machines and compiled it. I always use /opt/celestia as my prefix, so I know that the tarball does not have prefix problems. I did a clean install there.

Your problems are prefix related. The fact that it cannot find the splash screen and cannot find the menu definition indicates that. Both should be in /usr/local/celestia/share/celestia for you.

amoroso wrote:Let me profit by the occasion to thank the Celestia team for this wonderful Christmas present.


We worked hard to make this happen. Thanks for the kudos, and good luck solving the problem.

Topic author
amoroso
Posts: 50
Joined: 07.06.2003
With us: 21 years 3 months

Post #7by amoroso » 25.12.2005, 10:10

suwalski wrote:Your problems are prefix related. The fact that it cannot find the splash screen and cannot find the menu definition indicates that. Both should be in /usr/local/celestia/share/celestia for you.


In /usr/local/celestia/share/celestia I find both the splash screen directory and the celestiaui.rc file, which, if I understand correctly, contains the menu definitions.

Having read in the celestia-developers list that an incorrect makefile had initially left out some files, I have downloaded the fixed 1.4.0 sources and rebuilt Celestia with KDE. But the splash screen and some menus are still missing.


Paolo

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 5 months
Location: Hamburg, Germany

Post #8by t00fri » 25.12.2005, 10:21

amoroso wrote:
suwalski wrote:Your problems are prefix related. The fact that it cannot find the splash screen and cannot find the menu definition indicates that. Both should be in /usr/local/celestia/share/celestia for you.

In /usr/local/celestia/share/celestia I find both the splash screen directory and the celestiaui.rc file, which, if I understand correctly, contains the menu definitions.

Having read in the celestia-developers list that an incorrect makefile had initially left out some files, I have downloaded the fixed 1.4.0 sources and rebuilt Celestia with KDE. But the splash screen and some menus are still missing.


Paolo


It is crucial that you do a fresh 'make install'. But save you old textures first!

Bye Fridger

suwalski
Developer
Posts: 62
Joined: 03.12.2003
With us: 20 years 9 months
Contact:

Post #9by suwalski » 25.12.2005, 17:27

amoroso wrote:Having read in the celestia-developers list that an incorrect makefile had initially left out some files, I have downloaded the fixed 1.4.0 sources and rebuilt Celestia with KDE. But the splash screen and some menus are still missing.


The Makefile issues were with the tools directory that contains, among other things, perl scripts. The Makefiles were altogether non-existant, so the scripts were not being packaged. But that has nothing to do any of the code that is actually built and installed.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 5 months
Location: Hamburg, Germany

Post #10by t00fri » 27.12.2005, 13:05

I would delete the present installation,

by typing

>make distclean

and then configure /only/ with

>./configure --with-kde --with-lua

This configuration is certainly known to work (I use it all the time) and installs the celestia directory in /usr/local/share while 'make install' (never forget) puts the executable into /usr/local/bin

Since compilation only takes a few minutes (on my machine) it might be worth a try. Your /usr/local/celestia prefix is very unusual!

Bye Fridger

Topic author
amoroso
Posts: 50
Joined: 07.06.2003
With us: 21 years 3 months

Post #11by amoroso » 27.12.2005, 15:24

t00fri wrote:I would delete the present installation,

by typing

>make distclean

and then configure /only/ with

>./configure --with-kde --with-lua
I have tried that--with the only difference that I provided a path for Lua, which is installed elsewhere on my system. But I still have missing splash screen and menu entries.

t00fri wrote:Your /usr/local/celestia prefix is very unusual!

Indeed. But I do that because it's simpler to remove a Celestia installation by just removing a directory tree, and because I have more storage space in /usr/local. By the way, configuring Celestia 1.3.2 with:

worked fine.

Thanks,


Paolo

suwalski
Developer
Posts: 62
Joined: 03.12.2003
With us: 20 years 9 months
Contact:

Post #12by suwalski » 27.12.2005, 17:43

amoroso wrote:Indeed. But I do that because it's simpler to remove a Celestia installation by just removing a directory tree, and because I have more storage space in /usr/local. By the way, configuring Celestia 1.3.2 with:
worked fine.

I am at a loss. Essentially nothing has changed in the KDE code between 1.3.2 and 1.4.0 that could do this. And it works for others.

I'm inclined to think it's your environment.

Try starting it with a specified root:

Code: Select all

KDEDIRS=/usr/local/celestia /usr/local/celestia/bin/celestia

You can also try substituting KDEHOME instead of KDEDIRS.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 5 months
Location: Hamburg, Germany

Post #13by t00fri » 27.12.2005, 17:46

suwalski wrote:
amoroso wrote:Indeed. But I do that because it's simpler to remove a Celestia installation by just removing a directory tree, and because I have more storage space in /usr/local. By the way, configuring Celestia 1.3.2 with:
worked fine.

I am at a loss. Essentially nothing has changed in the KDE code between 1.3.2 and 1.4.0 that could do this. And it works for others.

I'm inclined to think it's your environment.

Try starting it with a specified root:

Code: Select all

KDEDIRS=/usr/local/celestia /usr/local/celestia/bin/celestia

You can also try substituting KDEHOME instead of KDEDIRS.


Amoroso (sounds sexy),

I agree with Pat. I have used that configuration almost on a daily basis, hundreds of times! It must be your installation environment.

Bye Fridger

Topic author
amoroso
Posts: 50
Joined: 07.06.2003
With us: 21 years 3 months

Post #14by amoroso » 31.12.2005, 10:15

suwalski wrote:Try starting it with a specified root:

Code: Select all

KDEDIRS=/usr/local/celestia /usr/local/celestia/bin/celestia

You can also try substituting KDEHOME instead of KDEDIRS.

Holy planet, this works! :-) Now I get both the splash screen and all the menus.

By the way, Celestia only works with KDEDIRS. When setting KDEHOME, it crashes with errors about denied permissions and not being able to create local folders in /usr/local/celestia/share/apps/, which of course doesn't have write permissions for a non-privileged user.

As many thanks as the atoms in the universe.


Paolo

Topic author
amoroso
Posts: 50
Joined: 07.06.2003
With us: 21 years 3 months

Post #15by amoroso » 31.12.2005, 10:18

t00fri wrote:Amoroso (sounds sexy)

Well, it's nothing fancy, just my--Italian--last name :-)

Thanks to you and Pat for your help.


Paolo Amoroso


Return to “Celestia Users”