因为我需要一个错误修复程序,而该错误修复程序在Ubuntu的版本库的Subversion中不可用,因此我从源代码安装它。
在运行时./configure
,出现错误:
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and supply the appropriate
--with-apr option to 'configure'
or
get it with SVN and put it in a subdirectory of this source:
svn co \
http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x \
apr
Run that right here in the top level of the Subversion tree.
Afterwards, run apr/buildconf in that subdirectory and
then run configure again here.
Whichever of the above you do, you probably need to do
something similar for apr-util, either providing both
--with-apr and --with-apr-util to 'configure', or
getting both from SVN with:
svn co \
http://svn.apache.org/repos/asf/apr/apr-util/branches/1.2.x \
apr-util
configure: error: no suitable apr found
笔记:
1)我已经安装了libapr1
2)我无法安装svn客户端,无法按照错误消息中的说明进行操作(apt-get install svn-未找到包-我在sources.list中有main,universe,restricted,multiverse)