./configure: error: the HTTP gzip module requires the zlib library.
Posted 本站大佬
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了./configure: error: the HTTP gzip module requires the zlib library.相关的知识,希望对你有一定的参考价值。
执行./configure --prefix=/home/atguigu/nginx
报错:
./configure: error: the HTTP gzip module requires the zlib library.
You can either disable the module by using --without-http_gzip_module
option, or install the zlib library into the system, or build the zlib library
statically from the source with nginx by using --with-zlib=<path> option.
解决方法:
yum -y install pcre-devel
yum -y install openssl openssl-devel
以上是关于./configure: error: the HTTP gzip module requires the zlib library.的主要内容,如果未能解决你的问题,请参考以下文章
./configure: error: the HTTP gzip module requires the zlib library.
./configure: error: the HTTP gzip module requires the zlib library.
./configure: error: the GeoIP module requires the GeoIP library.
./configure: error: the HTTP rewrite module requires the PCRE library.
./configure: error: the HTTP rewrite module requires the PCRE library.