Page 1 of 1

Celestia 1.4.1 on a SuSE 10.0

Posted: 20.07.2006, 18:21
by heiner
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

Posted: 20.07.2006, 19:25
by Christophe
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,

Posted: 21.07.2006, 05:43
by heiner
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.

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

Posted: 03.08.2006, 04:41
by erasmo
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