安装Apache 2.2

Lan*_*ter 6 apache installation

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

./configure --prefix=/fmac/users/f****/apacheServer \
  --exec-prefix=/fmac/users/f*****/apaacheServer
Run Code Online (Sandbox Code Playgroud)

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

然后我做:

make
make install
Run Code Online (Sandbox Code Playgroud)

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

libtool: install: error: cannot install `libaprutil-1.la' to a directory not
                         ending in /usr/local/apache2/lib
Run Code Online (Sandbox Code Playgroud)

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

Lan*_*ter 22

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

make clean

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

然后它奏效了.