- 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
- Execute "get-deps.sh" to get deps
- cd subversion-1.8.0
- get-deps.sh
- Compile apr
- cd apr
- ./configure
- make
- cd..
- Compile apr-util
- cd apr-util
- ./configure --with-apr=../apr
- make
- cd..
- Compile and install serf
- cd serf
- ./configure --with-apr=../apr --with-apr-util=../apr-util
- make
- make install
- cd..
- Export PKG_CONFIG_PATH
- export PKG_CONFIG_PATH=/usr/local/serf/lib/pkgconfig
- Compile subversion
- ./configure --with-apr=apr --with-apr-util=apr-util --with-serf=serf
- make
- Check version and module
- ./subversion/svn/svn --version
- Install
- make install
- If server, restart svnserve
- killall svnserve
- svnserve -d
2013年7月10日
Compile subversion 1.8.0
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言