Celestia 1.4.1 on a SuSE 10.0

General discussion about Celestia that doesn't fit into other forums.
Topic author
heiner
Posts: 3
Joined: 07.05.2006
With us: 18 years 6 months
Location: Kronach, Germany

Celestia 1.4.1 on a SuSE 10.0

Post #1by heiner » 20.07.2006, 18:21

Hello all,

I'm using Celestia 1.4.1 (GTk version) on SuSE 10.0.

Yesterday, I found the addon war of the worlds, and downloaded it.
The first thing is, I cannot select one of the celx scripts.
The file dialog only shows cel files.

After renaming one of the celx scripts to *.cel Celestia tries to load the script,
but will cancel execution with an error "expecting "{" at start of script".

On a Windows PC this works really fine. By the way, a really great addon.
Can someone give me a tip, how to come around with this stuff?

Another question is concerning the KDE version of Celestia. After compiling the KDE version I cannot see any spaceships around earth (eg Hubble).
I found a tip in this forum to pass a CXXFLAGS option to the configure script.
(Ther is gcc 4.0.2 installed).

Because I'm not very familiar with self compiling programs can somebody give me a tip how I have to call the configure script?

Do I have to use
./configure CXXFLAGS=-fno-strict-aliasing --with-kde --prefix=/opt/kde3

Or do I have to use the configure script twice, first with CXXFLAGS, second with the other stuff?

Or is there another way?

Many, many thanks in advance
Heinrich

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

Post #2by Christophe » 20.07.2006, 19:25

First off, the GTK version provided by Suse probably doesn't have Lua support enabled, which explains why you can't select a celx script.

Now, CXXFLAGS is an environment variable, not a configure option, what you have to do is:

Code: Select all

$ CXXFLAGS=-fno-strict-aliasing ./configure [your configure options]

or

Code: Select all

$ export CXXFLAGS=-fno-strict-aliasing
$ ./configure [your configure options]


and if you want to use celx scripts, you'll need to use the --with-lua option (liblua-dev required).

Good luck,
Christophe

Topic author
heiner
Posts: 3
Joined: 07.05.2006
With us: 18 years 6 months
Location: Kronach, Germany

Post #3by heiner » 21.07.2006, 05:43

Thanks a lot Christophe for your helpfull tips.

Celestia is now working :D
But I have another question.
The GTK version is not provided by Suse. I have used the package version of Celestia from the official download page.
My question is now, if lua is not installed on the system, does Celestia switch automatically to not to use celx scripts?

Due to your tips, I found, that lua was not installed

Thanks in advance.

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

Post #4by Christophe » 21.07.2006, 07:10

No, if Celestia is compiled with lua support and lua is not installed on the system, then celestia just won't start.
Christophe

erasmo
Posts: 10
Joined: 15.11.2005
With us: 19 years
Location: Xalapa Veracruz Mexico

Post #5by erasmo » 03.08.2006, 04:41

Hello really you don't have a great problem.

I hint wich you download the source file from the official page.

http://prdownloads.sourceforge.net/cele ... z?download

and when you decompress the .tar.gz file

the at a terminal as root user tipe the next

$ ./configure --with-kde --with-lua
$ make
$ make install

i compile with this instruction and i don't have problem if i not put the sound patch.

note: when you install you linux you must have installed the LUA libraries. And you revise the instruction of configure, at the --with.


I have wich this can help you
I have the inetrest of generate something o educational material, otherwise I too have the nececities of be at constant actualization of the knowledge about the space.


Return to “Celestia Users”