If you are just wanting to play or test Oolite, please use the autopackage version of Oolite on affected systems.
If you want to compile your own copy of Oolite on an affected distro, you should first install a good version of GNUstep.
(Edited 2010.06.06 - made 'gui' and 'back' optional as per Getafix' suggestion)
For Oolite, the last version which appears to be reasonably certain to have no issues is gnustep-base1.18. You can get it from the gnustep ftp server:
ftp://ftp.gnustep.org/pub/gnustep/core/
The tarball versions for gnustep 1.18 are:
- gnustep-make-2.0.7.tar.gz
- gnustep-base-1.18.0.tar.gz
- gnustep-gui-0.16.0.tar.gz
- gnustep-back-0.16.0.tar.gz
(Edited 2010.06.11 - gnustep1.21 appears to have severe issues - please stick with 1.18 for now or at least, verify any bugs with gnustep1.18 before raising them
ftp://ftp.gnustep.org/pub/daily-snapshots/
I install these into "/opt" rather than into the default "/usr/local" and configure them such that they will not overwrite the system-installed /etc/GNUstep.conf or interfere with it. Follow these steps:
- Untar the individual tarballs, or, with the daily snapshot, the single tarball which contains all four packages. You will end up several sub-directories, one each for 'make', 'base', and optionally, 'gui', and 'back'.
- Build the 'make' package first:
- cd into the make directory
- ./configure --prefix=/opt/gnustep --with-config-file=/opt/gnustep/GNUstep.conf
- make
- make install (NOTE: You will either need to be root for this, or have created /opt/gnustep and make it writeable for your current user)
- IMPORTANT: You now must source your new gnustep configuration before you can build the rest.
- . /opt/gnustep/System/Library/Makefiles/GNUstep-reset.sh
- . /opt/gnustep/System/Library/Makefiles/GNUstep.sh
- Build the 'base' package next:
- cd into the base directory
- ./configure --prefix=/opt/gnustep --with-config-file=/opt/gnustep/GNUstep.conf
- make
- make install
- You're done! You can use the same procedure to optionally build the 'base' and 'gui' packages as well.
Code: Select all
. /opt/gnustep/System/Library/Makefiles/GNUstep-reset.sh
. /opt/gnustep/System/Library/Makefiles/GNUstep.sh
I have the following snippets in my ~/.bashrc to easily switch between versions of GNUstep:
Code: Select all
function gnustep_sys()
{
. /usr/share/GNUstep/Makefiles/GNUstep-reset.sh
. /usr/share/GNUstep/Makefiles/GNUstep.sh
}
function gnustep_opt()
{
. /opt/gnustep/System/Library/Makefiles/GNUstep-reset.sh
. /opt/gnustep/System/Library/Makefiles/GNUstep.sh
}