本文采用的 svn1.6版本 第一步: wget http://www.php2.cc/data/data/neon-0.29.6.tar.gz tar zxvf neon-0.29.6.tar.gz cd neon-0.29.6 ./configure --with-ssl --with-libs=/usr/lib64/openssl/ --prefix=/usr/local/neon make && make install wget http://subversion.tigris.org/downloads/subversion-1.6.9.tar.gz tar zxvf subversion-1.6.9.tar.gz cd apr-1.5.2 ./configure make && make install wget http://www.php2.cc/data/data/apr-util-1.5.4.tar.gz tar zxvf apr-util-1.5.4.tar.gz cd apr-util-1.5.4 ./configure --with-apr=/usr/local/apr make && make install wget http://subversion.tigris.org/downloads/subversion-1.6.17.tar.gz wget http://subversion.tigris.org/downloads/subversion-deps-1.6.17.tar.gz tar zxvf subversion-1.6.17.tar.gz tar zxvf subversion-deps-1.6.17.tar.gz cd subversion-1.6.17 ./configure --with-ssl --with-neon=/usr/local/neon --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr make && make install 安装完成后,使用命令:svn --version 查看一下版本,如果版本和自己安装的不一致,说明之前安装过,可使用命令: /usr/local/svn checkout https://svn地址库 如果版本一致,直接使用命令: svn checkout https://svn地址库 编译安装subversion的时候,可能遇到的错误:configure: error: Apache version incompatible with APR version 解决方法: mv /usr/local/apache /usr/local/apache.bak mv /usr/local/apache2 /usr/local/apache2.bak 编译安装完成后,再修改过来即可。
PHP技术交流QQ群:422137578 除非注明,文章均为 PHP二次开发 原创,转载请注明本文地址:http://www.php2.cc/article-2680-1.html |