wget https://mirrors.cnnic.cn/apache//apr/apr-1.6.5.tar.gz tar -zxvf apr-1.6.5.tar.gz cd apr-1.6.5 ./configure --prefix=/data/server/apache_component/apr-1.6.5 make make install
安装apr-util
1 2 3 4 5 6 7 8
wget http://mirror.bit.edu.cn/apache//apr/apr-util-1.6.1.tar.gz tar -zxvf apr-util-1.6.1.tar.gz cd apr-util-1.6.1 ./configure \ --prefix=/data/server/apache_component/apr-util-1.6.1 \ --with-apr=/data/server/apache_component/apr-1.6.5 make make install
安装 scons
1 2 3 4 5 6 7
wget https://svwh.dl.sourceforge.net/project/scons/scons/3.0.1/scons-3.0.1.tar.gz [安装这个之前确保已经安装python环境 python --version ] tar -zxvf scons-3.0.1.tar.gz cd scons-3.0.1 python setup.py install --prefix=/data/server/apache_component/scons
###扩展,官方解释 https://www.sqlite.org/amalgamation.html https://github.com/mirek/sqlite-amalgamation Just copy the amalgamation into your source directoryand compile it along withthe other C code filesin your project.
wget http://mirrors.shu.edu.cn/apache/subversion/subversion-1.11.1.tar.gz wget http://mirrors.shu.edu.cn/apache/subversion/subversion-1.11.1.tar.gz tar -zxvf subversion-1.11.1.tar.gz cd subversion-1.11.1
编译安装完后使用svn命令一直报错 ./svn --version ./svn: error while loading shared libraries: libserf-1.so.1: cannot open shared object file: No such fileor directory