./configure: error: the HTTP rewrite module requires the PCRE library.
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了./configure: error: the HTTP rewrite module requires the PCRE library.相关的知识,希望对你有一定的参考价值。
案发现场还原:
wget http://nginx.org/download/nginx-1.8.0.tar.gz cp nginx-1.8.0.tar.gz /usr/local cd /usr/local tar -zxvf nginx-1.8.0.tar.gz
安装Nginx时报错
./configure: error: the HTTP rewrite module requires the PCRE library.
解决办法:
yum -y install openssl openssl-devel
总结:
yum -y install pcre-devel openssl openssl-devel
./configure --prefix=/usr/local/nginx
make
make install
一切搞定
以上是关于./configure: error: the HTTP rewrite module requires the PCRE library.的主要内容,如果未能解决你的问题,请参考以下文章
./configure: error: the HTTP gzip module requires the zlib library.
./configure: error: the HTTP gzip module requires the zlib library.
./configure: error: the GeoIP module requires the GeoIP library.
./configure: error: the HTTP rewrite module requires the PCRE library.
./configure: error: the HTTP rewrite module requires the PCRE library.