VPS侦探论坛

标题: 1.3升级nginx失败 [打印本页]

作者: hamen    时间: 2017-5-6 23:50
标题: 1.3升级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.

make: *** No rule to make target 'build', needed by 'default'.  Stop.
cp: cannot stat ‘objs/nginx’: No such file or directory
Test nginx configure file...
include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory
upgrade...
make: *** No rule to make target 'upgrade'.  Stop.
======== upgrade nginx completed ======
Program will display Nginx Version......
include/upgrade_nginx.sh: line 65: /usr/local/nginx/sbin/nginx: No such file or directory
作者: hamen    时间: 2017-5-6 23:59
从1.10.3升级到1.12.0
作者: licess    时间: 2017-5-7 15:20
估计可能你系统上的pcre被删除了,centos的话 yum install pcre-devel
debian/ubuntu的话 apt-get install libpcre3-dev
安装成功后再升级




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4