The Mac installer for MacPorts can be downloaded here.
First you may need to set your $PATH variable. Do this by adding the following to your .bash_profile file in your home directory
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
sudo port install subversion sudo port install subversion-javahlbindings
sudo port install py25-lint sudo port install python_select sudo python_select python25
sudo port install py-rdflib
If you get the following error:
checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details.
it is possible that you do not have XCode installed, or not the most up-to-date version installed.
If you get an error like this (I got this when trying to install subversion):
configure: error: No awk program found Error: The following dependencies failed to build: apr-util sqlite3 gawk gettext ncurses ncursesw gmake readline cyrus-sasl2 openssl zlib neon serf Error: Status 1 encountered during processing.
To solve this I simply reran the command. It worked fine the second time⦠don't know why though
The locate tool is great for finding files on the command line. If you get the following error:
locate: `/var/db/locate.database': No such file or directory
you will need to do the following:
sudo /usr/libexec/locate.updatedb
This may take a few minutes to build your locate database (solution found here).