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

时间: 2024-10-10 09:45:27

ubuntu error: the HTTP rewrite module requires the PCRE library.的相关文章

ubuntu下安装nginx错误error: the HTTP rewrite module requires the PCRE library 解决方法

本文为大家讲解的是ubuntu下安装nginx错误error: the HTTP rewrite module requires the PCRE library 解决方法,感兴趣的同学参考下. 本文为大家讲解的是ubuntu下安装nginx错误error: the HTTP rewrite module requires the PCRE library 解决方法,感兴趣的同学参考下. 错误描述: ubuntu安装nginx时提示error: the HTTP rewrite module r

nginx安装报错./configure: error: the http rewrite module requires the pcre library.

nginx编译时报错: ./configure: error: the http rewrite module requires the pcre library. 解决方法: [[email protected] nginx-1.5.9]#  yum install zlib-devel -y

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

有时候,我们需要单独安装nginx,来处理大量的下载请求. 单独在Centos5安装nginx遇到的rewrite和HTTP cache错误解决办法: wget http://nginx.org/download/nginx-0.8.33.tar.gz tar -zxvf nginx-0.8.33.tar.gz cd nginx-0.8.33 ./configure --prefix=/usr/local/nginx 安装Nginx时报错 ./configure: error: the HTTP

ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.

有时候,我们需要单独安装nginx,来处理大量的下载请求.单独在Centos5安装nginx遇到的rewrite和HTTP  cache错误解决办法: wget http://nginx.org/download/nginx-0.8.33.tar.gztar -zxvf nginx-0.8.33.tar.gz cd nginx-0.8.33./configure --prefix=/usr/local/nginx 安装Nginx时报错 ./configure:  error: the HTTP 

CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法

错误提示: ./configure: error: the HTTP rewrite module requires the PCRE library. 安装pcre-devel与openssl-devel解决问题 yum -y install pcre-devel openssl openssl-devel ./configure --prefix=/usr/local/nginx make make install

error: the HTTP rewrite module requires the PCRE library.

1 从http://nginx.org/en/download.html   或http://nginx.net/en/download.html     wget http://nginx.org/download/nginx-0.6.38.tar.gz 2 解压 安装:    tar zxvf nginx-0.6.38.tar.gz    cd nginx-0.6.38    ./configure       make     make install 正常安装的话,这样就可以了,但是有时

ubuntu安装nginx时提示error: the HTTP rewrite module requires the PCRE library

需要安装pcre包. sudo apt-get update sudo apt-get install libpcre3 libpcre3-dev 你可能还需要安装 sudo apt-get install openssl libssl-dev

[linux] Nginx编译安装错误error: the HTTP rewrite module requires the PCRE library

nginx编译错误: 执行如下命令安装缺少的文件即可

Linux-./configure: error: the HTTP rewrite module requires the PCRE library.

这个问题是要解决: yum -y install pcre-devel 然后在yum的时候发现出错.问题是我的linux不能上网. 这个问题搞得烦死了.和主机能ping.但是就是不能上网: ping www.baidu.com之后就报: unknow host...... 解决办法: 之前的博客写过怎么解决,就是: 然后虚拟机重启,必须要重启,不然没用.然后就能上网了. 能上网之后 yum的问题就解决了.