Building svn on OS X

As noted elsewhere on this blog, I’m lazy and I admit it freely. So here are my notes for building subversion on OS X to make sure that there is a place I can look the procedure up and don’t have to memorize it.

I downloaded subversion-1.4.0.tar.gz and extracted the subversion-1.4.0 directory.
I added apr and apr-util like so:
svn co http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x apr
svn co http://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x apr-util

and executed buildconf in apr and apr-util to create the respective configure files.

Then I did the surprising combo of
./configure
make
sudo make install
and ended up with a working svn 1.4.0.

Note: I did not install Berkely DB, since I had no use for it.

I used the command
svn co http://svn.collab.net/repos/svn/trunk subversion
to check out 1.4.2 and thus made sure everything is working.

[I might polish this post a little in the future, but it contains all information that is needed.]

Technorati Tags: ,