问题描述
我在Ubuntu 12.04为第一次安装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 /本地/ srclib / APR
和的/ usr /本地/ 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 /本地/ srclib / APR
之后,我做的 ./配置
在的/ usr /本地/ srclib / APR-UTIL
则抛出我误差配置:错误:APR找不到。请使用--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.
然后我加入 /配置--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
推荐答案
尝试运行这样的:
./配置--with-APR =在安装四月目录路径
./configure --with-apr=directory path where apr is installed
例如:--with的./configure-APR =的/ usr /本地/ APR
Eg: ./configure --with-apr=/usr/local/apr
在默认情况下,它是/ usr /本地/ APR
By default, it is /usr/local/apr.
这篇关于Apache的APR和APR-util的installlation?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!