configure: error: no suitable APR found
1.下载所需软件包:
wget http://archive.apache.org/dist/apr/apr-1.5.2.tar.gz
wget http://archive.apache.org/dist/apr/apr-util-1.5.4.tar.gz
wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.39/pcre-8.39.tar.gz
2.
yum remove apr-util-devel apr apr-util-mysql apr-docs apr-devel apr-util apr-util-docs
3.具体步骤如下:
a:解决apr not found问题>>>>>>
[root@xt test]# tar -zxf apr-1.5.2.tar.gz
[root@xt test]# cd apr-1.5.2
# ./configure --prefix=/usr/local/apr
# make && make install
b:解决APR-util not found问题>>>>
[root@xt test]# tar -zxf apr-util-1.5.4.tar.gz
[root@xt test]# cd apr-util-1.5.4
# ./configure --prefix=/usr/local/apr-util -with- apr=/usr/local/apr/bin/apr-1-config
# make && make install
4.最后编译svn时加上:
--with-apr=/usr/local/apr \
--with-apr-util=/usr/local/apr-util/
configure: error: Subversion requires SQLite
5.
wget http://www.sqlite.org/2016/sqlite-amalgamation-3140200.zip
mv sqlite-amalgamation-3071501 subversion-1.9.4/sqlite-amalgamation
configure: error: subversion requires zlib
yum -y install zlib-devel
之后没再报错
ok
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- using serf 1.3.9 (compiled with 1.3.9)
- handles 'http' scheme
- handles 'https' scheme