Page 1 of 1
Celx and linux
Posted: 21.04.2005, 20:41
by guenter
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?
Re: Celx and linux
Posted: 21.04.2005, 21:43
by t00fri
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
Posted: 21.04.2005, 21:50
by hjw
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.
Posted: 22.04.2005, 10:44
by guenter
@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 ???
Posted: 22.04.2005, 12:26
by hjw
@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
Posted: 23.04.2005, 17:20
by guenter
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.
Posted: 25.04.2005, 21:51
by Christophe
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.
Posted: 26.04.2005, 18:23
by guenter
@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.