1、下载svn
http://subversion.apache.org/download
下载完成后解压,执行
./configure --prefix=/usr/svn
提示 configure: error: no suitable APR found
2、下载并安装 apr 和 apr-util
http://archive.apache.org/dist/apr/
下载完成后安装
a) tar -zxvf apr-1.5.2.tar.gz
b) cd apr-1.5.2/
c) ./configure
d) make
e) make install
f) tar -zxvf apr-util-1.5.2.tar.gz
g) cd apr-util-1.5.2/
h) ./configure --with-apr=/usr/local/apr ; make ; make install
3、再次安装 svn
提示 svn requires SQLite
4、下载并安装SQLite
a) wget http://www.sqlite.org/2016/sqlite-autoconf-3120200.tar.gz
b) tar -zxvf sqlite-autoconf-3120200.tar.gz
c) ./configure; make & make install
5、再次安装svn
a) ./configure --prefix=/usr/svn --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr
b) make & make install