Installing Subversion
Here are the steps for getting Subversion 1.4 installed, along with the Ruby bindings if you need them.
Be sure to visit the Subversion website to check the latest version number. As of this writing it is 1.4.6, so you might need to make slight adjustments to the steps outline here.
# We need to compile with neon support to use SVN repos over WebDAV
# (externals may need it, even if you don't!). You should specifically use 0.25.5
wget http://www.webdav.org/neon/neon-0.25.5.tar.gz
tar xzvf neon-*
cd neon-*
./configure --prefix=/usr/local --with-ssl
make
sudo make install
# Now on to Subversion
yum remove subversion subversion-devel
wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.bz2
tar xvjf subversion-*
cd subversion-*
./configure --prefix=/usr --with-ssl --with-neon=/usr/local
make
sudo make install
# Ruby bindings
sudo make install-swig-rb
# should return true if Ruby bindings are setup correctly:
ruby -e 'puts require("svn/core")'
