Building SVN Client On Linux
This article describes how to build SVN client from source on a Linux OS. These are the following modules you’ll need. Well ofcourse you are free to download other versions of the sources and experiment with them. I’ve tested the SVN client with these versions and found them to be working.
apr: Apache Portable Runtime- Download the source from http://www.ecoficial.com/apachemirror/apr/apr-1.4.2.tar.gz
apr-util: Apache Portable Runtime Utilities- Download the source from http://www.ecoficial.com/apachemirror/apr/apr-util-1.3.9.tar.gz
neon: HTTP and WebDAV client library- Download the source from http://www.webdav.org/neon/neon-0.29.3.tar.gz
openssl: Open SSL library and Tools- Download the source from http://www.openssl.org/source/openssl-0.9.8n.tar.gz
sqlite: server-less SQL database engine- Download the source SQL Amalgamation for Unix from http://www.sqlite.org/sqlite-amalgamation-3.6.23.1.tar.gz
- And of course a SubVersion Client 🙂
- Download the source from : http://subversion.tigris.org/downloads/subversion-1.6.12.tar.bz2
Copy all these tar.gz files under your working directory. If you are bored of clicking and downloading each of these versions you could just paste these wget commands on your linux box. Just be sure you have internet access from that machine –
wget http://www.ecoficial.com/apachemirror/apr/apr-1.4.2.tar.gz
wget http://www.ecoficial.com/apachemirror/apr/apr-util-1.3.9.tar.gz
wget http://www.webdav.org/neon/neon-0.29.3.tar.gz
wget http://www.sqlite.org/sqlite-amalgamation-3.6.23.1.tar.gz
wget http://www.openssl.org/source/openssl-0.9.8n.tar.gz
wget http://subversion.tigris.org/downloads/subversion-1.6.12.tar.bz2
And you could run this simple wrapper script that I’ve written. This script extracts, builds and installs all the required components and SVN client to the location of your choice. You can get the script (makesvn.sh) from my box.net link https://app.box.com/shared/m19bstkv4g on the right hand side of this blog. If you are using different versions of the dependent software, just edit the makesvn.sh and alter the first few variables APR_GZ, APRUTIL_GZ etc. to point to the correct names.