SVN Installs

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Starclopsofish
Greenhorn
Posts: 11
Joined: 08 Apr 2009, 15:03

SVN Installs

Post by Starclopsofish »

Quick question- If I install the version from SVN does this overwrite my stable release installation? If so is there an environment variable or something I can use to install elsewhere? I'm on Arch Linux 64-bit. Sorry if this has been answered elsewhere, a search was inconclusive. Thanks in advance!
Raem_Lylar
Trained
Trained
Posts: 151
Joined: 22 Jul 2008, 17:44

Re: SVN Installs

Post by Raem_Lylar »

I dont know anything about Lunix.
But, may i suggest simply installing in a different directory from your stable build? That should effectivly separate the two versions (excluding requirements for openal).
Main: Arithyce
User avatar
mcdebugger
Trained
Trained
Posts: 66
Joined: 02 Feb 2007, 20:54
Location: Russian Federation

Re: SVN Installs

Post by mcdebugger »

You can override default install path adding --prefix=/path/to/prefix to configure script options.
By default on many systems stable releases came in distros repos installs to "/usr" while "self-compiled" versions (including SVN) installs to "/usr/local/"
So if you want to have both versions installed and play them you may run program with full path
for example:
/usr/games/bin/warzone2100 or /usr/bin/warzone2100 (for stable distro's version)
/usr/local/bin/warzone2100 (for your svn revision)

and of course you can do something like this:

Code: Select all

./autogen.sh
./configure --prefix="/home/myname/usr"
make
make install
and then run binary from your home directory
you can also try

Code: Select all

PREFIX="/path/to/prefix" make install
Starclopsofish
Greenhorn
Posts: 11
Joined: 08 Apr 2009, 15:03

Re: SVN Installs

Post by Starclopsofish »

Worked like a charm, thanks.
Raem_Lylar
Trained
Trained
Posts: 151
Joined: 22 Jul 2008, 17:44

Re: SVN Installs

Post by Raem_Lylar »

Wow! All that just to change directories? I think i will stick to Windows after all...
Main: Arithyce
Starclopsofish
Greenhorn
Posts: 11
Joined: 08 Apr 2009, 15:03

Re: SVN Installs

Post by Starclopsofish »

Nah, it's not so bad! The benefits greatly outweigh the disadvantages, IMO. I'm sure it's just as verbose in a Windows CLI utility, it's just that in Windows you typically have a GUI to assist you ;) I think there are some for Linux anyway, but I haven't looked into it. I figure using the command line more will be good for me.