2013年7月10日

Compile subversion 1.8.0

  1. Download source code and un-compress
    • wget http://ftp.mirror.tw/pub/apache/subversion/subversion-1.8.0.tar.gz
    • tar zxvf subversion-1.8.0.tar.gz
  2. Execute "get-deps.sh" to get deps
    • cd subversion-1.8.0
    • get-deps.sh
  3. Compile apr
    • cd apr
    • ./configure
    • make
    • cd..
  4. Compile apr-util
    • cd apr-util
    • ./configure --with-apr=../apr
    • make
    • cd..
  5. Compile and install serf
    • cd serf
    • ./configure --with-apr=../apr --with-apr-util=../apr-util
    • make
    • make install
    • cd..
  6. Export PKG_CONFIG_PATH
    • export PKG_CONFIG_PATH=/usr/local/serf/lib/pkgconfig
  7. Compile subversion
    • ./configure --with-apr=apr --with-apr-util=apr-util --with-serf=serf
    • make
  8. Check version and module
    • ./subversion/svn/svn --version
  9. Install
    • make install
  10.  If server, restart svnserve
    • killall svnserve
    • svnserve -d

沒有留言:

張貼留言