Subversion 1.8 on Ubuntu 13.10 (Saucy)

Post date: Jan 27, 2014 3:47:57 AM

I needed the latest version of Subversion (client and server) running on Ubuntu 13.10, BUT, no pre-built package. So I built Subversion latest release (1.8.5) from source - here are the steps and packages I used. If you want to build a later version (or trunk) just update the following steps as needed.Get the Subversion 1.8.5 source

wget http://archive.apache.org/dist/subversion/subversion-1.8.5.tar.bz2
wget http://archive.apache.org/dist/subversion/subversion-1.8.5.tar.bz2.sha1
sha1sum subversion-1.8.5.tar.bz2
more subversion-1.8.5.tar.bz2.sha1
bunzip2 -c -f subversion-1.8.5.tar.bz2 | tar -xv

Get Latest libserf

and dependencies from the main development branch because the latest version is required by subversion.

The version of libserf in the Saucy repo is too old for Subversion 1.8.5. I had to get the deb files from the development repo.

sudo apt-get install libsctp1 libsctp-dev libaprutil1-dev uuid-dev

wget http://mirrors.kernel.org/ubuntu/pool/main/s/serf/libserf-dev_1.3.3-1_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/s/serf/libserf-1-1_1.3.3-1_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/a/apr/libapr1_1.5.0-1_amd64.deb
wget http://mirrors.kernel.org/ubuntu/pool/main/a/apr/libapr1-dev_1.5.0-1_amd64.deb
sudo dpkg -i libserf-dev_1.3.3-1_amd64.deb libserf-1-1_1.3.3-1_amd64.deb libapr1_1.5.0-1_amd64.deb libapr1-dev_1.5.0-1_amd64.deb

Other required packages (mainly dev pkgs)

sudo apt-get  install libsqlite3-dev sqlite libz-dev libgnome-keyring-dev gnome-keyring
sudo apt-get  install libdb++-dev libdb-dev libsasl2-dev libsasl2-2 libmagic1 libmagic-dev apache2-dev

Build Subversion

cd subversion-1.8.5
./configure --with-libmagic --with-gnome-keyring --with-berkeley-db --with-openssl --with-serf --with-apxs --with-jdk=/opt/jdk
make -j 8
sudo make install

Works For me.

Depending on what base packages you have on your system, you might need some other packages.

You also might want to fine tune the configure line - such as removing my non-standard jdk dir.

The above should get you close.

Subversion Icon