在安装nginx的过程中,出现以下报错:
./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.
从报错的信息来看,缺少了PCRE library依赖,需要对依赖进行安装
种一棵树最好的时间是10年前,其次就是现在,加油!
--by蜡笔小柯南
Linux不同的系统中,依据不同的命令来进行安装
Ubuntu系统:
sudo apt update
sudo apt install libpcre3 libpcre3-dev
CentOS系统:
sudo yum install -y pcre pcre-devel
使用相对应的命令,来完成依赖的安装
如果你有任何疑问或经验分享,可以在评论区留言哦~~
不管在任何时候,我希望你永远不要害怕挑战,不要畏惧失败。每一个错误都是向成功迈出的一步,每一个挑战都是成长的机会,因为每一次的努力,都会使我们离梦想更近一点。只要你行动起来,任何时候都不算晚。最后,把座右铭送给大家:种一棵树最好的时间是10年前,其次就是现在,加油!共勉 💪。
获取最新动态,以及相关资源,资料,可以从👇获取哦!!!

2131

被折叠的 条评论
为什么被折叠?



