Apache安装 - srclib / Makefile.in:没有这样的文件或目录

时间:2013-02-18 10:42:56

标签: apache

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

我读过这篇文章:http://httpd.apache.org/docs/2.4/install.html#comments_thread_post 现在我在../srclib下有我的apahce + apr和apr-util。我也在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

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

0 个答案:

没有答案