make install issiues.
Posted: 26 Feb 2006 05:44
Hello.
I have enjoyed the game you have created. However I have a few problems on Linux that I can not seem to fix.
When I run the game from the directory I have compiled it (eg /home/solbu/download/openttd-0.4.5), the game runs with no problems of any kind.
I can also install it globaly as root (by editing the Makefile.config) into, say /usr/local/share/games/openttd and run it from that directory with no problems.
But when I run it as a regular user (from say /home/solbu) it does not run.
The error message i get are as follow:
This only happens when I do not run it inside the directory that the data and lang directories resides.
I want to enable the regular users on my computers to enjoy this also without the need to install a separate copy for each user.
I have enjoyed the game you have created. However I have a few problems on Linux that I can not seem to fix.
When I run the game from the directory I have compiled it (eg /home/solbu/download/openttd-0.4.5), the game runs with no problems of any kind.
I can also install it globaly as root (by editing the Makefile.config) into, say /usr/local/share/games/openttd and run it from that directory with no problems.
But when I run it as a regular user (from say /home/solbu) it does not run.
The error message i get are as follow:
Code: Select all
[solbu@jensen ~]$ openttd
Your sample.cat file is corrupted or missing!
Error: No available language packs
openttd: openttd.c:76: error: Assertion `0' failed.
[solbu@jensen ~]$
Here is an excerpt from the Makefile.config:[solbu@jensen ~]$ ls /usr/local/share/games/openttd/
data/ gm/ lang/ scenario/
[solbu@jensen ~]$ ls /usr/local/share/games/openttd/data/
autorail.grf dosdummy.grf openttd.grf sample.cat trgcr.grf trgir.grf trkfoundw.grf
canalsw.grf nsignalsw.grf opntitle.dat trg1r.grf trghr.grf trgtr.grf
[solbu@jensen ~]$ ls /usr/local/share/games/openttd/lang/
american.lng danish.lng finnish.lng hungarian.lng origveh.lng slovak.lng
brazilian_portuguese.lng dutch.lng french.lng icelandic.lng polish.lng spanish.lng
catalan.lng english.lng galician.lng italian.lng portuguese.lng swedish.lng
czech.lng estonian.lng german.lng norwegian.lng romanian.lng turkish.lng
[solbu@jensen ~]$ pwd
/home/solbu
[solbu@jensen ~]$
Does anyone have any ideas on how I fix this problem?INSTALL:=1
PREFIX:=/usr/local
BINARY_DIR:=games
DATA_DIR:=share/games/openttd
ICON_DIR:=
USE_HOMEDIR:=1
PERSONAL_DIR:=.openttd
I want to enable the regular users on my computers to enjoy this also without the need to install a separate copy for each user.