In general, we have to install APR and APR-util with SVN. In this case, we also install neon, an HTTP and WebDAV client library, with a C interface.
First, make sure that SSH connection is enabled under your target account.
Then, download and configure the script for installation. You can directly copy the following commands to run through SSH.
cd ~
mkdir src
cd ~/src
wget http://mirror.csclub.uwaterloo.ca/apache/apr/apr-util-1.3.4.tar.gz
wget http://mirror.csclub.uwaterloo.ca/apache/apr/apr-1.3.3.tar.gz
wget http://subversion.tigris.org/downloads/subversion-1.5.5.tar.gz
wget http://www.webdav.org/neon/neon-0.28.3.tar.gz
tar -xzf apr-util-1.3.4.tar.gz
tar -xzf apr-1.3.3.tar.gz
tar -xzf subversion-1.5.5.tar.gz
tar -xzf neon-0.28.3.tar.gz
cd ~/src/apr-1.3.3
./configure --prefix=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/apr-util-1.3.4
./configure --prefix=$HOME --with-apr=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/neon-0.28.3
./configure --enable-shared --prefix=$HOME LDFLAGS="-L/lib64"
make
make install
cd ~/src/subversion-1.5.5
./configure --prefix=$HOME
make
make install
Please note that for subversion configuration, we don't need to installberkeley-db, which might cause a complaint. However, it will not cause any error. Originally, most users use ./configure --prefix=$HOME --without-berkeley-db --with-zlib --with-ssl --without-apxs, but I have problems in using --with-zlib, so I dropped all the options except the prefix, which worked as well.
If you encounter no problem following previous steps, then you are done. Otherwise, check this link for more information.
My installed SVN repository is accessible here.
Added at: 2009-04-14 16:33
Added at: 2009-04-14 14:53
Added at: 2009-12-09 03:21