码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2017-07-30 14:47:00      阅读:222      评论:0      收藏:0      [点我收藏+]

标签:install   pcr   image   报错   分享   nginx   img   down   .gz   

 

 案发现场还原:

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.

标签:install   pcr   image   报错   分享   nginx   img   down   .gz   

原文地址:http://www.cnblogs.com/what-/p/7259008.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!