本文介绍了Apache Apr 和 Apr-util 安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我第一次在 ubuntu 12.04 中安装 Apache,我在链接中查找了编译并安装 apache

I am installing Apache for first time in ubuntu 12.04 and i looked up in the link Compiling and installing apache

它说我们应该先有 APR 和 APR-util 我按照程序将它们解压到

It says we should have APR and APR-util first i follow the procedure and untar them into

/usr/local/srclib/apr/usr/local/srclib/apr-util 目录.写到哪里了

/usr/local/srclib/apr and /usr/local/srclib/apr-util directory. Every where it is written

./configure's --with-included-apr

现在我只在 /usr/local/srclib/apr 中执行 ./configure 之后我在 中执行 ./configure>/usr/local/srclib/apr-util 然后它向我抛出错误 configure: error: APR could not be found.请使用 --with-apr 选项.

Now i just do ./configure in /usr/local/srclib/apr after that i do ./configure in /usr/local/srclib/apr-util then it throws me error configure: error: APR could not be located. Please use the --with-apr option.

然后我添加 /configure --with-apr 它会引发错误

then i add /configure --with-apr it throws an error

error: --with-apr requires a directory or file to be provided.

请告诉我我在这里做错了什么

Please tell me what i am doing wrong here

推荐答案

尝试运行:

./configure --with-apr=

例如:如果您的 APR 安装存在于 /usr/local/apr(APR 的默认安装位置),您应该运行:

Eg: If your APR installation exists at /usr/local/apr(default installation location of APR), you should run:

./configure --with-apr=/usr/local/apr

这篇关于Apache Apr 和 Apr-util 安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 19:42