ubuntu error: the HTTP rewrite module requires the PCRE library.

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu error: the HTTP rewrite module requires the PCRE library.相关的知识,希望对你有一定的参考价值。

checking for getaddrinfo() ... found

configuring additional modules

adding module in //usr/src/echo-nginx-module-master

 + ngx_http_echo_module was configured

checking for PCRE library ... not found

checking for PCRE library in /usr/local/ ... not found

checking for PCRE library in /usr/include/pcre/ ... not found

checking for PCRE library in /usr/pkg/ ... not found

checking for PCRE library in /opt/local/ ... not found


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

  解决办法:

     sudo apt-get update

     sudo apt-get install libpcre3 libpcre3-dev


本文出自 “精忠报国” 博客,请务必保留此出处http://xinsir.blog.51cto.com/5038915/1744670

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

Debug - SpringBoot - Error starting ApplicationContext. To display the auto-configuration report re-

Error starting ApplicationContext. To display the conditions report re-run your application with 

Error starting ApplicationContext. To display the conditions report re-run your application with

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.

SpringBoot项目报错解决:“Error starting ApplicationContext. To display the conditions report re-run ...”

springboot启动报错:"Error starting ApplicationContext. To display the conditions report re-run your