原文:安裝nginx報錯configure: error:the HTTP gzip module requires the zlib library.

若在 . configure 后方加入了 with http gzip static module 添加gzip壓縮模塊 提示以下錯誤 . configure: error: the HTTP gzip module requires the zlib library.You can either disable the module by using without http gzip mod ...

2019-09-16 15:28 0 1537 推薦指數:

查看詳情

安裝nginx出錯the HTTP rewrite module requires the PCRE library

問題描述 報錯信息如下所示: 原因 缺少pcre和pcre-devel 解決 首先安裝pcre和pcre-devel,rpm安裝的時候注意依賴關系。 如果在安裝以后還出現報錯的情況,則使用命令指定pcre的源碼路徑進行安裝。 --prefix:選擇nginx安裝的目錄 ...

Sat Jun 12 00:00:00 CST 2021 0 8862
configure: error: zlib library and headers are required

configure: error: zlib library and headers are required (1)直接看是zlib安裝導致的,yum list |grep zlib* 看到的是全部都安裝好的; (2)直接打開configure,這個是一個shell腳本,找到報錯 ...

Fri Jul 29 23:57:00 CST 2016 0 7127
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM