Preparing a Mac to Run Silva Buildout
There is some necessary preparation on a Macintosh computer to be able to run an instance of Silva. The basic steps to get your Mac ready to run the buildout are enumerated here.
Install MacPorts (http://www.macports.org). MacPorts allow you to easily install other software that is necessary to run Silva
- You may also need to install XCode from Apple (http://developer.apple.com/mac/). You will need to become a member if you are not already one. Log in, then go to the member site and then downloads. Make sure to download the correct version that matches the version of OSX that you are using.
- Open a new terminal and check if your path was modified to include /opt/local/bin echo $PATH. If not, then modify your profile ( ~/.bashrc ) by adding a path for software installed by MacPorts export PATH=/opt/local/bin:$PATH
vi .bashrc
- Run MacPorts as root to install python 2.4 sudo port install python24
- Run MacPorts as root to install python_select sudo port install python_select
- Run MacPorts as root to run python_select sudo python_select python24
- Run MacPorts as root to install libxml2 sudo port install libxml2
- You will most likely need to remove memcached from your profile recipe (as it doesn't seem to compile on mac at this point).
At this point you should be ready to run Silva buildout