最新下载
热门教程
- 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
即可解决
相关文章
- 奥比岛梦想国度卡死闪退有哪些解决方法 04-30
- DNF手游骨戒在哪个位置 04-30
- 回望羊驼:当利空成为短暂的财富密码 04-30
- 为什么每个 Web3 项目都逃不过 DEX? 04-30
- HashKey Exchange 虚拟资产保险覆盖规模登顶全球第一 04-30
- HTX DeepThink:冲上$95,000后,等待比特币的是什么? 04-30