因为我需要一个在 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. …Run Code Online (Sandbox Code Playgroud)