解决方案:./configure: error: the HTTP rewrite module requires the PCRE library.

在执行 ./configure命令时,提示报以下错误:

错误为:./configure: error: the HTTP rewrite module requires the PCRE library.

详细内容为:

./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= option.

解决方案

yum -y install pcre-devel

 

你可能感兴趣的:(#,bug,linux,OpenResty,bug)