繁体   English   中英

安装Apache 2.2

[英]Installing Apache 2.2

所以我按照指示行事,并且做了:

./configure --prefix=/fmac/users/f****/apacheServer \
  --exec-prefix=/fmac/users/f*****/apaacheServer

它似乎没有任何错误或任何工作。

然后我做:

make
make install

我在安装时收到以下错误:

libtool: install: error: cannot install `libaprutil-1.la' to a directory not
                         ending in /usr/local/apache2/lib

任何想法为什么还有一些其他配置var我需要设置?

如果有人在Google上搜索此答案,我想出了如何修复它。 我不得不:

make clean

在我的httpd-NN构建根目录中(其中NN是您正在构建的httpd的版本)。

然后它奏效了。

这件事对我有用:

如果您在不同位置(默认值除外)安装apache,apr,apr-util并且没有root权限,那么您需要将apache配置为:

./configure  --prefix=path/to/your/apachefolder --with-apr=/path/for/apr -with-apr-util=/path/for/apr-util --with-pcre=/path/for/pcre

这对我有用。 我希望这有帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM