I spent a few hours today trying to get Trac working on OS X using DarwinPorts.
Read on for a summary of the steps required to get the thing running. Warning, this is not for the faint of heart.
- Install DarwinPorts
- Install SWIG
- Modify the Portfile using this patch
sudo port install swig- Install Subversion
sudo port install subversion +python +mod_dav_svn- Install Py-SQLite
sudo port install py-sqlite- Install Clearsilver
- Download clearsilver/Portfile into an empty directory named clearsilver
cd path/to/clearsilver ; sudo port install- Install Trac
- Download trac/Portfile into an empty directory named trac
cd path/to/trac ; sudo port install
- Setup apache as described in Trac’s documentation
Cross your fingers and hope for the best.
Have you considered contributing a Trac portfile to DarwinPorts? It’s certainly needed, and you seem to have already done most of the work.