CEL URLs not working in SuSE 9.1

Report bugs, bug fixes and workarounds here.
Guest

CEL URLs not working in SuSE 9.1

Post #1by Guest » 26.07.2004, 13:32

I was previously running Celestia 1.3.1 under SuSE 9.0 and KDE 3.1. Everything worked perfectly under that configuration. I recently upgraded to SuSE 9.1 Pro running KDE 3.2 and I installed SuSE's celestia rpm. Under this new configuration celestia 1.3.1 still seems to run OK, but CEL URLs don't seem to work anymore. I must be doing something wrong with them. Can anyone suggest a fix? Thanks.

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

Post #2by Christophe » 26.07.2004, 21:43

Get this file: celestia.protocol, and put it in $KDEDIR/share/services.
Christophe

Guest

Post #3by Guest » 27.07.2004, 04:58

Thanks for responding. Before I saw your post I downloaded the latest daily tarball of the CVS release. I compiled this on SuSE 9.1 using the opton:
./configure --with-kde --prefix=/opt/kde3

It now works perfectly! Also, I don't get the KDE crash report after I exit from Celestia like I did with the SuSE supplied rpm of version 1.3.1. All seems fine now.

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

Post #4by Christophe » 27.07.2004, 07:35

Don't forget --with-lua if you want to have celx support.
Christophe

Guest

Post #5by Guest » 29.07.2004, 06:27

Christophe:

Thanks for your advise regarding compiling with lua. On my SuSE 9.1 system I had to configure as follows:
./configure --with-kde --with-lua --prefix=/opt/kde3

I also found that the following two files in the /src/celestia/ directory of the tarball must be patched to compile celestia with lua support on SuSE 9.1:

1) In the file celx.cpp:
change the entry on line 36 from-
#include "lualib.h"
to the following-
#include </usr/include/lua/lualib.h>

2) In the file celx.h:
change the entry on line 18 from-
#include "lua.h"
to the following-
#include </usr/include/lua/lua.h>

Is it possible to give ./configure some set of parameters or arguments such that it is not necessary to patch the above files to compile with lua support? On SuSE lua seems to get installed into that /usr/include/lua directory where celestia doesn't want to automatically find it.


Return to “Bugs”