Introduction to Subversion
        
        
          Subversion is a version control
          system that is designed to be a compelling replacement for
          CVS in the open source community.
          It extends and enhances CVS'
          feature set, while maintaining a similar interface for those
          already familiar with CVS. These
          instructions install the client and server software used to
          manipulate a Subversion
          repository. Creation of a repository is covered at Running a
          Subversion Server.
        
        
          This package is known to build and work properly using an LFS-7.7
          platform.
        
        
          Package Information
        
        
          
            - 
              
                Download (HTTP): 
                http://www.apache.org/dist/subversion/subversion-1.8.11.tar.bz2
               
- 
              
                Download MD5 sum: 766a89bbbb388f8eb76166672d3b9e49
               
- 
              
                Download size: 6.6 MB
               
- 
              
                Estimated disk space required: 123 MB (272 MB with all
                bindings and API documentation built; additional 694 MB for
                tests)
               
- 
              
                Estimated build time: 1.9 SBU (3.6 SBU with all bindings and
                API documentation built; additional 11 SBU for tests)
               
 
        
          Subversion Dependencies
        
        
          Required
        
        
          Apr-Util-1.5.4 and SQLite-3.8.8.2
        
        
          Recommended
        
        
          Serf-1.3.8 (for handling http:// and https://
          URLs)
        
        
          Optional
        
        
          Apache-2.4.12, Cyrus
          SASL-2.1.26, D-Bus-1.8.16, kdelibs-4.14.5
          (for KWallet
          support), Python-2.7.9 (with sqlite support for the
          tests), Ruby-2.2.0, and SWIG-3.0.5 (for building Perl, Python and
          Ruby bindings)
        
        
          Optional (for the Java Bindings)
        
        
          One of OpenJDK-1.8.0.31, Dante or Jikes,
          and JUnit-4.11 (to test the Java bindings)
        
        
          User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/subversion
        
       
      
        
          Installation of Subversion
        
        
          Install Subversion by running the
          following commands:
        
        
./configure --prefix=/usr    \
            --disable-static \
            --with-apache-libexecdir &&
make
        
          If you have Doxygen-1.8.9.1 installed and you wish to
          build the API documentation, issue: doxygen doc/doxygen.conf.
        
        
          If you passed the --enable-javahl
          parameter to configure and wish to build the
          Java bindings, issue the following command:
        
        
make javahl
        
          If you have a multi core CPU and normally run make with multiple jobs (eg
          make -j4) then a bug
          in the Makefile will prevent the
          Perl bindings compiling correctly.
          Fix the Makefile with:
        
        
sed -i 's#Makefile.PL.in$#& libsvn_swig_perl#' Makefile.in
        
          If you want to compile Perl,
          Python2, or Ruby bindings, issue any of the following
          command:
        
        
make swig-pl # for Perl
make swig-py \
     swig_pydir=/usr/lib/python2.7/site-packages/libsvn \
     swig_pydir_extra=/usr/lib/python2.7/site-packages/svn # for Python
make swig-rb # for Ruby
        
          To test the results, issue: make -k
          check. One test (wc-queries-test) is known to fail
          with recent versions of SQLite.
        
        
          To test the results of the Java bindings build, issue make check-javahl. Note you must
          have the JUnit testing framework
          installed.
        
        
          To test the results of any of the SWIG bindings, you can use any of the
          following commands: make
          check-swig-pl, make
          check-swig-py, or make check-swig-rb.
        
        
          Now, as the root user:
        
        
make -j1 install &&
install -v -m755 -d /usr/share/doc/subversion-1.8.11 &&
cp      -v -R       doc/* \
                    /usr/share/doc/subversion-1.8.11
        
          If you built the Java bindings, issue the following command as the
          root user to install them:
        
        
 make install-javahl
        
          If you built the Perl,
          Python2, or Ruby bindings, issue any of the following
          commands as the root user to
          install them:
        
        
make install-swig-pl
make install-swig-py \
      swig_pydir=/usr/lib/python2.7/site-packages/libsvn \
      swig_pydir_extra=/usr/lib/python2.7/site-packages/svn
make install-swig-rb