(NOTE: The following has been tested on Ubuntu 8.04 and 10.04 for both 32bit and 64bit installations.
GNUstep base versions > 1.19.1 and < 1.21.1 are broken with a buggy XML parsing. You may install
a fixed gnustep as described here or build & install gnustep-1.20.1 stable from source.)
(1) Mandatory Development Libraries and Tools
(1.1) Get the libraries and tools
One way is to open a terminal and do:
(Accept all the extra packages (dependencies) needed to be installed!)
sudo apt-get install gobjc gnustep-core-devel libsdl-mixer1.2-dev subversion libespeak-dev libnspr4-dev curl
Another way is to use the "Synaptic Package Manager" to get (this is what I did
(Mark all the extra packages (dependencies) needed to be installed!)
(1.2) Setup GNUstep environment variables
- gobjc (The GNU Objective-C compiler)
- gnustep-core-devel (The GNUstep Development Environment -- core development)
- libsdl-mixer1.2-dev (development files for SDL1.2 mixer library)
- subversion (svn - Advanced version control system)
Edit the ".bashrc" file, located in your home directory, and append the related environment libraries.
Locate the "GNUstep.sh" file (e.g. /usr/share/GNUstep/Makefiles/GNUstep.sh) and append it at your ".bashrc". In that way you will get all
the GNUstep environment variables into your profile.
#GNUSTEP Environment vars
The path is preceded by a dot and a space character!
Exit the terminal and re-open it. This will force the ".bashrc" to execute with the GNUstep environment variables.
(1.3) Setup Oolite AddOns directory
Create the add-ons folder in your home directory by executing:
mkdir -p ~/.Oolite/AddOns
This will create '.Oolite' and '.Oolite/AddOns' directories.
NOTE: All the add-ons, to be used by the Oolite you are about to build, should be placed here!
The 'Logs' directory will be automatically generated upon first run in .Oolite directory.
(2) Get and build the source
(2.1) Get the Oolite source code
Open a terminal window and make a folder (e.g. Oolite-dev) at your home directory. CD into that directory.
For full checkout of Oolite v1.75.3 (beta release):
svn co http://svn.berlios.de/svnroot/repos/oolite-linux/tags/1.75.3/
This will create a "1.75.3" directory, where the v1.75.3 source files will reside.
For 1.75.3 bug-fix execute:
svn co http://svn.berlios.de/svnroot/repos/oolite-linux/trunk/
This will create a "trunk" directory, where the latest 1.75.3 bug-fix source files will reside.
(2.2) Build Oolite
CD into the root of Oolite source (e.g. ~/Oolite-dev/trunk or ~/Oolite-dev/1.75.3)
make -f Makefile release
(2.3) Run Oolite