我正在尝试使用--prefix选项安装非root帐户的apache web服务器(httpd-2.4.3),以便在我正在使用的用户控制的单个目录中进行配置和构建 .

我读过这篇文章:http://httpd.apache.org/docs/2.4/install.html#comments_thread_post现在我有了apahce apr和apr-util在../srclib下 . 我也在apache srcdir下有pcre .

多数民众赞成我如何配置:

./configure --prefix=/home/user1/bin/apache/installation/ --with-apr=/home/user1/bin/apache/httpd-2.4.3/srclib/apr --with-included-apr --with-pcre=/home/user1/bin/apache/httpd-2.4.3/pcre/ --with-apr-util=/home/user1/bin/apache/httpd-2.4.3/srclib/apr-util/

配置输出报告如下:

cat: /home/user1/bin/apache/httpd-2.4.3/srclib/Makefile.in: No such file or directory

当我尝试从/home/user1/bin/apache/httpd-2.4.3制作这是我的srcdir - 我是

getting this error:
Making all in srclib
make[1]: Entering directory `/home/user1/bin/apache/httpd-2.4.3/srclib'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory `/home/user1/bin/apache/httpd-2.4.3/srclib'
make: *** [all-recursive] Error 1

在/home/user1/bin/apache/httpd-2.4.3/srclib下配置创建的Makefile,其中包含以下内容:

top_srcdir   = /home/user1/bin/apache/httpd-2.4.3
top_builddir = /home/user1/bin/apache/httpd-2.4.3
srcdir       = /home/user1/bin/apache/httpd-2.4.3/srclib
builddir     = /home/user1/bin/apache/httpd-2.4.3/srclib
VPATH        = /home/user1/bin/apache/httpd-2.4.3/srclib

我想我在提供额外的库的方式上做错了...但我无法弄清楚是什么...非常感谢您的帮助!