Nginx安装过程中make出错fatal error: pcre.h: No such file or directory

来源:互联网 发布:echarts动态获取数据 编辑:程序博客网 时间:2024/06/06 13:58

我用pcre2替代了pcre
出现了错误:

src/core/ngx_regex.h:15:18: fatal error: pcre.h: No such file or   directory    #include <pcre.h> ^ compilation terminated.  make  : *** [objs/src/core/nginx.o] Error 1 make  : Leaving directory    `/usr/local/src/nginx-1.7.10' make: *** [build] Error 2

解决办法:使用pcre而不用pcre2就能make成功,(然而pcre官网上说今后只对pcre进行漏洞修补)。

阅读全文
0 0
原创粉丝点击