源碼安裝完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以上的版本。