Celx and linux

General discussion about Celestia that doesn't fit into other forums.
Topic author
guenter
Posts: 7
Joined: 21.04.2005
With us: 19 years 7 months

Celx and linux

Post #1by guenter » 21.04.2005, 20:41

Hi,

trying to start different celx scripts from motherlode, but all i get is a
"invalid filetype" error.
The lua interpreter is running ok in a terminal .

I'm running the latest cvs-version on suse 9.2 with lua 5.0.2 and everything else is working fine.

Any ideas?
guenter

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

Re: Celx and linux

Post #2by t00fri » 21.04.2005, 21:43

guenter wrote:Hi,

trying to start different celx scripts from motherlode, but all i get is a
"invalid filetype" error.
The lua interpreter is running ok in a terminal .

I'm running the latest cvs-version on suse 9.2 with lua 5.0.2 and everything else is working fine.

Any ideas?


I hope you configured your Celestia version to enable Lua during compilation. Things work perfectly with me and I am using SuSE 9.0, 9.1 and 9.2 on various machines.

So in the configure step you got to type:

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

Otherwise Lua is not known to Celestia although it will work in a terminal....

Bye Fridger

hjw
Posts: 66
Joined: 02.02.2004
With us: 20 years 9 months
Location: Schwabach/Germany

Post #3by hjw » 21.04.2005, 21:50

trying to start different celx scripts from motherlode, but all i get is a
"invalid filetype" error.


grepping the source tells me that "Invalid filetype" is printed if the
C++ macro CELX is undefined. This happens if celestia is configured
without lua.

Topic author
guenter
Posts: 7
Joined: 21.04.2005
With us: 19 years 7 months

Post #4by guenter » 22.04.2005, 10:44

@t00fri
yes i did the config for lua support - the "celx" extension is shown in the file open dialog. It was not shown before when i compiled without.

@hjw
that sounds to me like something went wrong during configure or make. Is it possible to get the extension in the file dialog without Celestia really knowing about lua ???
guenter

hjw
Posts: 66
Joined: 02.02.2004
With us: 20 years 9 months
Location: Schwabach/Germany

Post #5by hjw » 22.04.2005, 12:26

@t00fri
yes i did the config for lua support - the "celx" extension is shown in the file open dialog. It was not shown before when i compiled without.

@hjw
that sounds to me like something went wrong during configure or make. Is it possible to get the extension in the file dialog without Celestia really knowing about lua ???


That is really strange. The KDE file dialog also uses the CELX macro. If
you see celx in the file dialog, lua is enabled.

BUT: the celx script MUST have a filename ending with .celx or .clx.

Sorry, no more ideas at this point...

MfG - HJW

Topic author
guenter
Posts: 7
Joined: 21.04.2005
With us: 19 years 7 months

Post #6by guenter » 23.04.2005, 17:20

i now think it's definitley a not problem of celestia, but of my system.
Recompiling after a make clean took me three or four tries to get it compiled again - getting segmentation faults during the make process - but finally it's woring now. On a nearly identically system, i set up yesterday on a notebook, everything is working smooth without strange effects.
I think i have to have a closer look at this when compiling next time. :?
guenter

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

Post #7by Christophe » 25.04.2005, 21:51

segmentation fault during a make? Either your installation of gcc is broken or you have a hardware problem. If the segfault comes and goes then it's most probably hardware related.
Christophe

Topic author
guenter
Posts: 7
Joined: 21.04.2005
With us: 19 years 7 months

Post #8by guenter » 26.04.2005, 18:23

@Christophe

it's most probably hardware related.

your right and it's seems getting worse from day to day. Anyway new hardware is on it's way.
guenter


Return to “Celestia Users”