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

Posted 最小的帆也能远航

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决方案:./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=<path> option.

解决方案

yum -y install pcre-devel

 

以上是关于解决方案:./configure: error: the HTTP rewrite module requires the PCRE library.的主要内容,如果未能解决你的问题,请参考以下文章