Page 1 of 1

Linux: Multiple installs

Posted: 20 Mar 2007 19:43
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

Posted: 20 Mar 2007 20:10
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

Posted: 20 Mar 2007 20:34
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?

Posted: 20 Mar 2007 21:10
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)