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.bz2wget http://archive.apache.org/dist/subversion/subversion-1.8.5.tar.bz2.sha1sha1sum subversion-1.8.5.tar.bz2more subversion-1.8.5.tar.bz2.sha1bunzip2 -c -f subversion-1.8.5.tar.bz2 | tar -xvGet 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.debwget http://mirrors.kernel.org/ubuntu/pool/main/s/serf/libserf-1-1_1.3.3-1_amd64.debwget http://mirrors.kernel.org/ubuntu/pool/main/a/apr/libapr1_1.5.0-1_amd64.debwget http://mirrors.kernel.org/ubuntu/pool/main/a/apr/libapr1-dev_1.5.0-1_amd64.debsudo 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.debOther required packages (mainly dev pkgs)
sudo apt-get install libsqlite3-dev sqlite libz-dev libgnome-keyring-dev gnome-keyringsudo apt-get install libdb++-dev libdb-dev libsasl2-dev libsasl2-2 libmagic1 libmagic-dev apache2-devBuild Subversion
cd subversion-1.8.5./configure --with-libmagic --with-gnome-keyring --with-berkeley-db --with-openssl --with-serf --with-apxs --with-jdk=/opt/jdkmake -j 8sudo make installWorks 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.