[转]SVN安装问题The Apache Portable Runtime (APR) library cannot be found
Posted Tony(我就是iHqq)
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[转]SVN安装问题The Apache Portable Runtime (APR) library cannot be found相关的知识,希望对你有一定的参考价值。
http://blog.csdn.net/ckwer2008/article/details/47972601
Linux很多地方编译的时候都会用到apr 如果找不到apr就会报错 configure: WARNING: APR not found The Apache Portable Runtime (APR) library cannot be found. Please install APR on this system and configure Subversion with the appropriate –with-apr option. You probably need to do something similar with the Apache Portable Runtime Utility (APRUTIL) library and then configure Subversion with both the –with-apr and –with-apr-util options. apr是比较恶心的一个东东,因为用直接用yum install apr安装apr后,当再安装其他东西需要apr环境时候 经常还是找不到,尽管已经安装它了。 这样的话我们只能通过下面这两个参数来指定他们的位置了,但是首先要做的就是安装apr和apr-until --with-apr --with-apr-util apr 和 apr-util官网下载地址: http://apr.apache.org/download.cgi 安装顺序是先安装apr然后再安装 apr-util,因为安装apr-util需要apr环境 首先安装apr 指定安装到/usr/local/apr wget http://mirrors.cnnic.cn/apache/apr/apr-1.4.8.tar.gz tar zxvf apr-1.4.8.tar.gz cd apr-1.4.8 ./configure --prefix=/usr/local/apr make & make install 然后安装apr-util,指定安装到/usr/local/apr-util wget http://mirrors.cnnic.cn/apache/apr/apr-util-1.5.2.tar.gz tar zxvf apr-util-1.5.2.tar.gz cd apr-util-1.5.2 ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr make & make install 经过上面的步骤我们就可以安装其他程序了,比如编译安装svn的时候指定apr和apr-util 指定svn位置/usr/local/subversion 同时也要指定apr和apr-util位置,代码如下 wget http://mirror.esocc.com/apache/subversion/subversion-1.8.3.tar.gz cd subversion-1.8.3.tar.gz ./configure --prefix=/usr/local/subversion --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util make & make install
配置:
http://www.iitshare.com/linux-svn-installation-and-configuration.html
以上是关于[转]SVN安装问题The Apache Portable Runtime (APR) library cannot be found的主要内容,如果未能解决你的问题,请参考以下文章
apache分析之svn:Could not open the requested SVN filesystem
解决:配置虚拟主机,重启apache,[warn] _default_ VirtualHost overlap on port 80, the first has precedence
解决:The Tomcat connector configured to listen on port 8182 failed to start. The port may already be i
转 Centos下安装apahce的configure: error: APR not found. Please read the documentation解决办法
SVN报错The server may be unreachable or the URL may be incorrect的解决方案