【发布时间】:2016-06-09 20:21:39
【问题描述】:
配置的初始尝试给出了这个错误:
checking for pcre-config... false
configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/
我安装了pcre-devel:
yum install pcre-devel.x86_64
现在配置成功。但是,make 给出了这个错误:
util_pcre.c: In function 'ap_regcomp':
util_pcre.c:128: error: 'PCRE_DUPNAMES' undeclared (first use in this function)
util_pcre.c:128: error: (Each undeclared identifier is reported only once
util_pcre.c:128: error: for each function it appears in.)
make[2]: *** [util_pcre.lo] Error 1
make[2]: Leaving directory `/home/downloads/httpd-2.4.18/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/downloads/httpd-2.4.18/server'
make: *** [all-recursive] Error 1
寻求帮助以解决 make pcre 问题。
【问题讨论】:
-
请使用最新的pcre。 repo 中的 pcre 包对于 apache 2.4 来说太旧了