编译安装nginx却requires the PCRE library
程序员文章站
2022-04-26 22:24:36
...
编译安装nginx需要pcre包,未安装会有如下提示:
./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的devel包,pcre-devel。使用yum安装即可:(以下命令还带有ssl、zlib等依赖的安装)
yum -y install zlib zlib-devel openssl openssl--devel pcre pcre-devel
以上就是编译安装nginx却requires the PCRE library的详细内容,更多请关注其它相关文章!
上一篇: css平行四边形与菱形变换
下一篇: python常用命令有哪些
推荐阅读
-
CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法
-
CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法
-
Linux-CentOS环境下Nginx源码编译安装产生错误缺失PCRE、OpenSSL、zlib库的问题解决
-
【安装Nginx报错】Nginx提示gzip module requires the zlib library
-
linux下安装nginx error: the HTTP rewrite module requires the PCRE library
-
编译安装nginx却requires the PCRE library
-
编译安装nginx却requires the PCRE library
-
linux下安装nginx error: the HTTP rewrite module requires the PCRE library