原文:安装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