Linux: Multiple installs

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
pettsson
Engineer
Engineer
Posts: 4
Joined: 19 Mar 2007 22:38
Location: Sweden

Linux: Multiple installs

Post by pettsson »

I'd like to have two installs of OpenTTD installed simultaneously, one latest stable, and one for nightly. How would I do that? I tried a few variations of INSTALL_DIR, INSTALL_BINARY_DIR as argument to ./configure, but I couldn't see any difference to the Makefile.
I'm not all too experienced with how ./configure and Makefiles work, and I'd rather not mess my 0.5 install up, so I figured I'd better ask :)
I'm running Gentoo (2.6.18), 0.5.0 is installed to /usr/games/bin/openttd with data in /usr/share/games/openttd. I'd like the nightly to be installed to /usr/games/bin/openttd-nightly with data in /usr/share/games/openttd-nightly.

Thankful for any help
Leviath.NL
Traffic Manager
Traffic Manager
Posts: 152
Joined: 28 Jan 2006 15:00

Post by Leviath.NL »

I have the stable version installed, and the latest version (compiled Subversion) in a map in my home dir.

In linux it's very easy to compile your own version so I don't use the precompiled ones.

After ./configure you can try to manually edit the Makefile and change the install-dir.

http://wiki.openttd.org/index.php/Compiling_on_Linux may also help
pettsson
Engineer
Engineer
Posts: 4
Joined: 19 Mar 2007 22:38
Location: Sweden

Post by pettsson »

Hm, looked through the makefile, preset directories were /usr/local/..., so it wouldn't overwrite my standard install. Seemed fine so I make && make install:ed , however, it wouldn't start, saying that the grf-files were missing or corrupted (but they weren't missing at least) and then errored out on "No available language packs". Checking the build-log I clearly see it compiling a bunch of languages... Any hints?
Leviath.NL
Traffic Manager
Traffic Manager
Posts: 152
Joined: 28 Jan 2006 15:00

Post by Leviath.NL »

If I where you I would just make a dir where you update the source, and "make" there. This is the simplest way and you just get a bin folder with an executable openttd inside. (still needs original data-files off course)
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Amazon [Bot] and 6 guests