Monday, August 07, 2006

Subversion server on OS X Tiger

Somehow it was much harder to install Subversion on OS X than it needed to be. Thanks to this page I finally got it right:
  • Used Fink to install swig.
  • Downloaded Subversion 1.3
  • $ GXX=yes ./configure --without-apxs --without-berkeley-db --with-zlib --enable-shared=yes --with-ssl --with-swig=/sw/bin/swig
  • $ make
  • # make install
  • # ln -s /usr/local/bin/svnserve /usr/bin/svnserve [to avoid having to mess around with ssh client configuration]
  • # echo "/usr/local/lib/svn-python" > /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/svn_python.pth [Note that the link above refers to /Library/Frameworks, which doesn't exist on my machine.]
  • $ make swig-py
  • # make install-swig-py
I couldn't easily use Subversion from fink because fink doesn't know about ViewVC, and ViewVC requires the Python link to Subversion, and I didn't want Subversion to install its own Python because it wanted to drag bloody X11 onto my machine.

0 Comments:

Post a Comment

<< Home