Error message:
./configure: error: the HTTP rewritemodule requires the PCRE library. You can either disable the module byusing --without-http_rewrite_module option, or install the PCRE library intothe system, or build the PCRE library statically from the source with nginx byusing --with-pcre=<path> option.
solution
yum -y install pcre-devel
Error message:
./configure: error: the HTTP cachemodule requires md5 functions from OpenSSL library. You can either disable the module by using --without-http-cache option, or install the OpenSSL library into the system, or build the OpenSSL library statically fromthe source with nginx by using --with-http_ssl_module--with-openssl=<path> options.
solution
yum -y install openssl openssl-devel
Error message
./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 thezlib library into the system, or build the zlib library statically from the source with nginx byusing --with-zlib=<path> option.
solution
yuminstall-y zlib-devel