Compiling subversion 1.7.1 from source with SSL


If you need to install Subversion 1.7.1 to a server with SSL support, here’s a quick routine to get that done.

Download the latest version
cd /usr/local/src
wget http://apache.mirror.aussiehq.net.au/subversion/subversion-1.7.1.tar.gz
tar -zxvf subversion-1.7.1.tar.gz
cd subversion-1.7.1

Use the in-built script to download the required dependencies, and configure neon for SSL
./get-deps.sh
cd /neon/
./configure --with-ssl
make
make install
cd ..

Download and install the required sqlite3.c
wget http://www.sqlite.org/sqlite-amalgamation-3.7.0.1.tar.gz
tar xvzf sqlite-amalgamation-3.7.0.1.tar.gz
mkdir /sqlite-amalgamation/
cp sqlite-3.7.0.1/sqlite3.c /usr/local/src/subversion-1.7.1/sqlite-amalgamation/

Configure & make Subversion
./configure --with-neon=/usr/lib64/
make
make install

if you’ve used default install locations, add to path
export PATH=$PATH:/usr/local/bin

Leave a Reply

Your email address will not be published. Required fields are marked *