linux安装subversion

http://subversion.apache.org/download/下载最新版本,老版本在http://archive.apache.org/dist/subversion/
这次下载的是subversion-1.8.10.tar.gz,下载之后上传到/opt。解压tar -zxvf subversion-1.8.10.tar.gz
尝试编译
cd  /opt/subversion-1.8.10
./configure --with-apxs=/opt/apache/bin/apxs --prefix=/usr/local/subversion --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-ssl --with-zlib --enable-maintainer-mode
错误1:
An appropriate version of sqlite could not be found. We recommmend3.7.6.3, but require at least 3.6.18.
去这里http://www.sqlite.org/download.html下载sqlite-amalgamation-3080700.zip
解压后上传到/opt/subversion-1.8.10/sqlite-amalgamation,其中sqlite-amalgamation目录需要自己创建

错误2:
configure: error: subversion requires zlib
去http://zlib.net/下载,http://zlib.net/zlib-1.2.8.tar.gz,上传到/opt
cd /usr/local
tar -xvzf zlib-1.2.8.tar.gz
cd zlib-1.2.8
./configure
make && make install






郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。