解决方案:./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.的主要内容,如果未能解决你的问题,请参考以下文章

转linux configure报错configure: error: C++ preprocessor “/lib/cpp” fails sanity 的解决办法

安装postgreSQL出现configure: error: zlib library not found解决方法

configure error C compiler cannot create executables错误解决

解决configure: error: Popt libraries is required简单报错笔记!

configure: error: Cannot find ldap libraries in /usr/lib 解决办法

configure: error: no acceptable C compiler found in $PATH 问题解决