安装
准备
apr-1.6.5.tar.gz
apr-util-1.6.1.tar.gz
subversion-1.11.1.tar.gz
sqlite-amalgamation-3081101.zip
serf-1.3.9.zip
scons-3.0.1.zip
下载
wget http://mirror.bit.edu.cn/apache/apr/apr-1.6.5.tar.gz wget http://mirror.bit.edu.cn/apache/apr/apr-util-1.6.1.tar.gz wget http://mirrors.shu.edu.cn/apache/subversion/subversion-1.11.1.tar.gz wget https://www.sqlite.org/2015/sqlite-amalgamation-3081101.zip wget https://www.apache.org/dist/serf/serf-1.3.9.zip wget http://prdownloads.sourceforge.net/scons/scons-3.0.1.zip
安装依赖包
yum -y install expat-devel zlib-devel openssl-devel sqlite apr-util-sqlite
安装apr
tar xzvf apr-1.6.5.tar.gz cd apr-1.6.5 ./configure --prefix=/tongfu.net/env/apr-1.6.5 make && make install cd ..
安装apr-util
tar xzvf apr-util-1.6.1.tar.gz cd apr-util-1.6.1 ./configure --prefix=/tongfu.net/env/apr-util-1.6.1 \ --with-apr=/tongfu.net/env/apr-1.6.5/bin/apr-1-config make && make install cd ..
安装scons
unzip scons-3.0.1.zip cd scons-3.0.1 python setup.py install cd ..
安装serf
unzip serf-1.3.9.zip cd serf-1.3.9 scons PREFIX=/tongfu.net/env/serf-1.3.9 \ APR=/tongfu.net/env/apr-1.6.5/ \ APU=/tongfu.net/env/apr-util-1.6.1/ scons -Y . scons PREFIX=/tongfu.net/env/serf-1.3.9 \ LIBDIR=/usr/lib64/ scons PREFIX=/tongfu.net/env/serf-1.3.9 install cd ..
安装svn
tar -xzvf subversion-1.11.1.tar.gz unzip sqlite-amalgamation-3081101.zip mv sqlite-amalgamation-3081101 subversion-1.11.1/sqlite-amalgamation cd subversion-1.11.1 ./configure --prefix=/tongfu.net/env/subversion-1.11.1 \ --with-apr=/tongfu.net/env/apr-1.6.3/ \ --with-apr-util=/tongfu.net/env/apr-util-1.6.1/ \ --with-serf=/tongfu.net/env/serf-1.3.9/ \ --with-lz4=internal \ --with-utf8proc=internal make && make install cd ..