源码安装完Apache2.4.16之后,试图继续安装原先的SVN版本1.6.12.
在执行配置命令时就出现错误:
[root@huadi-160219095359 subversion-1.6.12]# ./configure --prefix=/usr/local/svn --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache/bin/apr-1-config --with-apr-util=/usr/local/apache/bin/apu-1-config
........
checking httpd version... recent enough
checking whether Apache version is compatible with APR version... no
configure: error: Apache version incompatible with APR version
网上没有搜索到有效的解决方案,怀疑是SVN的版本太低,重新安装了SVN1.7.9,执行同样的配置命令时果然成功了。
结论就是: Apache2.4.x 版本只能支持SVN1.7以上的版本。