Thursday, July 02, 2009

Building SVN 1.6.3 on Mac OS X

I just built Subversion from source on my new Macbook Pro. Didn't find any short instructions on the web for this, so here 'ya go. First get the source code.

$ tar zxvf subversion-1.6.3.tar.gz
$ tar zxvf subversion-deps-1.6.3.tar.gz
$ cd subversion-1.6.3
$ ./configure --prefix=/usr/share --mandir=/usr/share/man \
--with-ssl --enable-swig-bindings=no --without-berkeley-db
$ make
$ sudo make install
$ sudo mv /usr/bin/svn /usr/bin/svn1.4.4
$ sudo ln -s /usr/share/bin/svn /usr/bin/svn
$ svn --version
svn, version 1.6.3 (r38063)
$ cd ..
$ rm -rf subverstion-*

For reference, here are the full, generic build instructions from Tigris.

1 Comments:

Blogger Tobi said...

Thanks for this. Saved me some time!

12:15 AM  

Post a Comment

<< Home