如何安装 Apache Portable Runtime?

如何安装 Apache Portable Runtime?

我的 Apache 安装如下yum install apache

现在我正尝试按照说明从源代码安装 subversion 服务器这里

但是当我尝试配置时,出现错误:

[root@vps303 subversion-1.6.9]# ./configure
configure: Configuring Subversion 1.6.9
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
...
checking for APR... no
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

svnserve已经包含在subversion包中,也可以通过 安装yum

相关内容