1.下載源碼安裝依賴apr apr-util sqlite
wget http://archive.apache.org/dist/subversion/subversion-1.14.0.tar.gz
wget http://archive.apache.org/dist/apr/apr-1.7.0.tar.gz
wget http://archive.apache.org/dist/apr/apr-util-1.6.1.tar.gz
wget https://www.sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
2.需要安裝scons
wget http://downloads.sourceforge.net/scons/scons-2.3.0.tar.gz
python setup.py install --prefix=/usr \ --standard-lib \ --optimize=1 \ --install-data=/usr/share
2.安裝serf
wget http://archive.apache.org/dist/serf/serf-1.3.9.tar.bz2
scons APR=/usr/local/apr/ APU=/usr/local/apr/
scons -Y /data/serf-1.3.8
scons install
2. ./configure --prefix=/usr/local/svn --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr/ --with-sqlite=/opt/sqlite/usr/local/ --with-serf=/usr/local/ --with-lz4=internal --with-utf8proc=internal
make;make install