安裝 apache錯誤集合

1。故障現象:提示錯誤:apache

checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failurescentos

緣由:缺乏zlib-develless

解決:安裝zlib-devel,yum install -y zlib-devel(centos)dom

2.故障現象:ide

configure: error: no acceptable C compiler found in $PATHui

緣由:缺乏gccspa

解決:安裝gcc ,yum install -y gccserver

3. configure: error: Size of "void *" is less than size of "long"get

有說法。
it

1)移除--with-pcre=/xxx/xxx/pcre選項,何嘗試,

2)增長 ap_cv_void_ptr_lt_long=no ,可行,但下一步make時會提示以下報錯,

util_pcre.c:140: undefined reference to `pcre_info'

採用移除的辦法,就不會有提示錯誤了。可是不是少了點什麼???

4。開戶apache時報如下錯誤:

httpd: apr_sockaddr_info_get() failed for Web-Server

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

解決:httpd.conf內設置ServerName值。

相關文章
相關標籤/搜索