Hi all,
I'm looking for an option or something like that to compile Celestia on Linux with no link to the installation path. The aim is to make the result of this compilation movable.
Example :
./configure --prefix=/as/to/be/an/absolute/path
make
make install
mv /as/to/be/an/absolute/path /another/path
/another/path/bin/celestia won't work
/another/path/bin/celestia --dir /another/path will crash
strings /another/path/bin/celestia finds 2 references to /as/to/be/an/absolute/path (probably related to the use of --with-kde).
./configure --prefix=relative/path doesn't configure.
Everyone understand that I'm looking for a self-made binary version of Celestia for Linux.
Mathieu
Linux static compilation
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 4 months
- Location: Lyon (France)
Assuming you're building the KDE frontend, your /another/path needs also to be defined in the KDEDIRS variable.
This should work:
You also have to make sure that the symbolic link /another/path/share/apps/celestia correctly points to /another/path/share/celestia
Ideally, Celestia should be able to find its data files by relying on KDEDIRS alone, like any other KDE application.
This should work:
Code: Select all
KDEDIRS=$KDEDIRS:/another/path /another/path/bin/celestia -dir /another/path/share/celestia
You also have to make sure that the symbolic link /another/path/share/apps/celestia correctly points to /another/path/share/celestia
Ideally, Celestia should be able to find its data files by relying on KDEDIRS alone, like any other KDE application.
Christophe