MAC OS X Development
First get XCode Developer tools and X11 installed from you Mac OSX install CD's or the Apple Website.
The following guide uses a quick, low overhead solution called 'Homebrew' to install Globulation 2 dependencies.
$ mkdir /opt $ cd /opt $ git clone git://github.com/mxcl/homebrew.git local $ chown -R [your_name]:[your_group] local (replace the bracket values)
Open up ~/.profile (or sometimes called .bash_profile) in your favourite editor, and add at the top of the file:
export PATH=/opt/local/bin/:$PATH export MANPATH=/opt/local/share/man:$MANPATH export CPPFLAGS="-I/opt/local/include $CPPFLAGS" export LDFLAGS="-L/opt/local/lib $LDFLAGS"
Save ~/.profile, Quit the Terminal.app program, and then restart it. Type
$ which brew
and hit enter. If the result is '/opt/local/bin/brew' then feel free to continue, else find out what's wrong.
With Homebrew installed, the PATH's in place, and the Terminal open, run:
$ brew install libpng $ brew link libpng $ brew install scons sdl sdl_ttf sdl_image sdl_net speex libvorbis libogg boost fribidi portaudio
Compiling Globulation 2
Mac support is very limited, so for now, you'll just need to play the game in the directory you compiled it. Assuming you have download Globulation 2 and extracted the source code (if not, see Download and Install), change into the directory with the console and run:
If all goes well, it should build the glob2 binary at the end of the process. You can safely ignore all the warnings it gives.
Once compiled, you'll need to run the following at the Globulation 2 source root to get the game working. Not sure why this is necessary yet (sources indicate Globulation 2 source needs altering).
$ ln -s /opt/local/lib/libboost_thread-mt.dylib