Back in 2006 I wrote about installing the excellent Player/Stage robot simulator under Linux, and the problems caused by dependencies (i.e. other packages that need to be installed first, before you can then install Player/Stage). Wouldn't it be great, I wrote, if there were a universal installer programme that would sort out all of these dependencies.
I should explain that since that post I've switched from Linux to OS X, running on a MacBook Pro, and have only just got round to installing Player/Stage. I was very pleased to discover that my plea for a universal installer has been answered by the (almost) excellent MacPorts.
I say almost excellent because installation wasn't completely glitch free.
Here's what I had to do to install to Mac OS X 10.5.7 (Leopard)
1. Download and install XCode (MacPorts depends on it)
2. Download and install MacPorts, install details here
3. In a terminal window run MacPorts with
$ sudo port install playerstage-stage playerstage-player
And wait an hour or so - it takes awhile. However, compilation of playerstage-player fails library not found for -ljpeg. To fix this as detailed here:
4. sudo port install python_select && sudo python_select python25
then re-run step 3.
5. But before you can run Player/Stage there's another fix needed, as detailed here.
sudo ln -s /usr/X11/share/X11/rgb.txt /usr/X11R6/lib/X11/rgb.txt
And that's it. Player/Stage installed.