配置出错:
./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrite_module option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using --with-pcre=<path> option.
翻译:
/configure: error: HTTP rewrite模块需要PCRE库。你可以使用--without-http_rewrite_module来禁用该模块选项,或将PCRE库安装到系统中,或构建PCRE库通过使用--with-pcre=<path>选项从nginx的源代码中静态地获取。
解决方法:
# yum -y install pcre-devel //安装PCRE库后继续预编译
配置出错:
./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.
翻译:
./configure: error: HTTP gzip模块需要zlib库。你可以使用——without-http_gzip_module来禁用该模块选项,或将zlib库安装到系统中,或构建zlib库通过使用——with-zlib=<path>选项静态地从nginx的源代码中获取。
解决方法:
# yum -y install zlib-devel //安装zlib库后继续预编译
文章末尾固定信息
评论