最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Centos编译Nginx错误configure: error: the HTTP rewrite module 解决办法
时间:2022-06-30 21:10:13 编辑:袖梨 来源:一聚教程网
我们在编译Centos手工编译Nginx时候,会出现各种编译不通过的错误提示,一般情况下都是系统缺少组件造成的,我这里把平时遇到的错误提示都总结下:
一、错误提示./configure: error: the HTTP rewrite module requires the PCRE library
原因:PCRE组件没有安装
解决办法:安装pcre-devel
yum -y install pcre-devel openssl openssl-devel
或者手工编译安装PCRE组件
cd /tmp wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.32.tar.gz tar zxf pcre-8.32.tar.gz cd pcre-8.32 ./configure make && make install
即可解决
相关文章
- 《下一站江湖2》剑术突破方法 05-08
- 《剑星》废品平原全收集攻略 05-08
- 《辐射4》传说级怪物代码介绍 05-08
- 《下一站江湖2》诛尽杀绝化境卷获得方法 05-08
- 《剑星》无限之刃成就攻略 05-08
- 《辐射4》快速升级方法 05-08