carl moonan | the dude abides

How to build & install Subversion 1.4.3 on Mac OS X 10.4.9 intel

Working as of 2007/05/22 … if you are reading this & this date is very old then these instructions may not work as they do now.

Next off is to build Subversion. This is easily done but should you want to do any WebDAV stuff it becomes more complicated. I found I could build subversion but could not get it to talk to remote repositories. To resolve this when i looked back at the compile i found that there was a missing library called neon and so it disable the WebDAV part of subversion. Please see this post should you need to build and install neon 0.25.5. This build references apache which i have installed to /usr/local/apache/2.2.4/ please see here for how to build and install apache 2.2.4.

Source code (http://subversion.tigris.org/):
http://subversion.tigris.org/downloads/subversion-1.4.3.tar.gz

Install location on machine:

/usr/local/subversion/1.4.3

Steps:
download source code

curl http://subversion.tigris.org/downloads/subversion-1.4.3.tar.gz > subversion-1.4.3.tar.gz

unzip

tar -zxf subversion-1.4.3.tar.gz
cd subversion-1.4.3

configure

./configure --prefix=/usr/local/subversion/1.4.3
--with-ssl
--with-apxs=/usr/local/apache/2.2.4/bin/apxs
--with-zlib
--enable-swig-bindings=no
--without-berkeley-db
--with-apr=/usr/local/apache/2.2.4/
--with-apr-util=/usr/local/apache/2.2.4/
--disable-neon-version-check
--with-neon=/usr/local

make

make

install

sudo make install

At this point Subversion should be built and installed to /usr/local/subversion/1.4.3/ you could add the bin folder to your path to pick up the latest version of the svn binaries.

Here is a build an installation script for the process described. Copy & paste it into a file. Make the file executable with chmod +x myBuildScript.sh

#!/bin/bash

curl http://subversion.tigris.org/downloads/subversion-1.4.3.tar.gz > subversion-1.4.3.tar.gz
tar -zxf subversion-1.4.3.tar.gz
cd subversion-1.4.3
./configure --prefix=/usr/local/subversion/1.4.3 --with-ssl --with-apxs=/usr/local/apache/2.2.4/bin/apxs --with-zlib --enable-swig-bindings=no --without-berkeley-db --with-apr=/usr/local/apache/2.2.4/ --with-apr-util=/usr/local/apache/2.2.4/ --disable-neon-version-check --with-neon=/usr/local/neon/0.25.5

make
sudo make install

One Comment, Comment or Ping

Reply to “How to build & install Subversion 1.4.3 on Mac OS X 10.4.9 intel”