Notes on Installing SubVersion on CentOS v4.2 Author: Kevin A. McGrail (kevin@mcgrail.com) SubVersion Home Page: http://subversion.tigris.org/ Free SubVersion Online Book: Version Control with Subversion - http://svnbook.red-bean.com/ -- Mirrored at: http://www.pccc.com/downloads/subversion/svn-book.pdf Because CentOS includes DB4 v4.2.52 & SWIG v1.3.21 & AutoConf 2.59 natively, we can simply download and compile SubVersion. #Compiling SubVersion mkdir /tmp/SUB20050304 cd /tmp/SUB20050304 wget http://www.pccc.com/downloads/subversion/subversion-1.3.2.tar.bz2 cd /usr/src tar jxvf /tmp/SUB20050304/subversion-1.3.2.tar.bz2 cd subversion-1.3.2 rm -f /usr/local/lib/libsvn* rm -f /usr/local/lib/libapr* rm -f /usr/local/lib/libexpat* rm -f /usr/local/lib/libneon* ./configure --with-libs=/usr/local/ssl --with-ssl --with-python=/usr/bin/python2 --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2 --with-apxs=/usr/local/apache2/bin/apxs NOTE: When compiling 1.3.2 with Apache 2.2.0, I found I was unable to run svn diff, svn update, etc. without segmentation faults, weird characters and oddities and errors like 'svn: Can't read file XXXX End of file found'. Instead, I compiled with the command line of ./configure --with-libs=/usr/local/ssl --with-ssl and all is working fine. make make check ((takes like 700MB and quite a long time ;-) ) make install make swig-py make check-swig-py make install-swig-py make swig-pl make check-swig-pl make install-swig-pl make clean #ADD /usr/local/lib/svn-python/libsvn to /etc/ld.so.conf ldconfig -v #GET RID OF THE TEMP FILES rm -rf /tmp/SUB20050304