Apache Subversion Admin

Introduction

Apache Subversion depends on:

  • Apache Portable Runtime Project (APR)
  • Apache Portable Runtime Project Utilities (APR-Util)
  • Neon
  • SQLite-Amalgamation

All of these dependencies are included in the subversion-deps-x.y.z.tar.gz tarfile.

Install

1.7+


[Manually upgrade apr and apr-util before installing subversion]
[the get-deps.sh script takes care of the other dependencies]

% tar -xvf subversion-x.y.z.tar.gz
% cd subversion-x.y.z
subversion-x.y.z% ./get-deps.sh 
subversion-x.y.z% ./configure --prefix=/util/subversion-x.y.z --with-apr=/util/apr --with-apr-util=/util/apr-util --with-openssl
subversion-x.y.z% make
subversion-x.y.z% sudo make install
subversion-x.y.z% cd /util
/util% sudo ln -s subversion-x.y.z subversion

Pre-1.7


% tar -xvf subversion-x.y.z.tar.gz
% tar -xvf subversion-deps-x.y.z.tar.gz
% cd subversion-x.y.z
subversion-x.y.z% ./configure --prefix=/util/subversion-x.y.z --with-ssl
subversion-x.y.z% make
subversion-x.y.z% sudo make install
subversion-x.y.z% cd /util
/util% sudo ln -s subversion-x.y.z subversion

Notes

  1. Install with BDB?
    configure: WARNING: we have configured without BDB filesystem support
    
    
    You don't seem to have Berkeley DB version 4.0.14 or newer
    installed and linked to APR-UTIL.  We have created Makefiles which
    will build without the Berkeley DB back-end; your repositories will
    use FSFS as the default back-end.  You can find the latest version of
    Berkeley DB here:
      http://www.oracle.com/technology/software/products/berkeley-db/index.html
    

References

  1. http://subversion.apache.org/download/
  2. http://apr.apache.org/download.cgi
  3. http://www.webdav.org/neon/
  4. http://www.sqlite.org/