BZFlag - Building from SVN
Table of Contents
Overview
- Check out the source tree from sourceforge via SVN
- Update the source to get the latest stuff
- Build the source
- Install your new version
Short Version for the Impatient
Do this once:
$ svn co https://bzflag.svn.sourceforge.net/svnroot/bzflag/trunk/bzflag bzflag
Repeat this for every new build with new source
$ cd bzflag $ svn up $ ./autogen.sh $ ./configure $ make $ su root -c make install
Use ./configure --enable-shared if you want plugin support.
That's it.
Details
Check out the source from sourceforge via SVN
Get the source
$ svn co https://bzflag.svn.sourceforge.net/svnroot/bzflag/branches/v2_0branch/bzflag bzflag
This will get the source compatible with 2.0.x servers
Update the source to get the latest stuff
You normally do this before each build.
$ cd bzflag $ svn up
Now you have up to date sources
Build the application
In the top of the bzflag project directory
$ ./autogen.sh $ ./configure $ make
or
$ ./autogen.sh $ ./configure --enable-shared $ make
if you want plugin support.
Install
This step is optional. It is possible to run the code right out of the project directory. If you want it installed then do the following:
$ su root -c make install
That's it!
Date: 2010-05-25 08:19:42 EDT