簡體   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