【问题标题】:PCRE error compiling Apache httpd 2.4.18 on RHEL 5.11在 RHEL 5.11 上编译 Apache httpd 2.4.18 时出现 PCRE 错误
【发布时间】: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 来说太旧了

标签: apache pcre


【解决方案1】:

能够使用与 httpd-2.4.18 相同的配置和制作成功安装 Apache httpd-2.4.17。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-07-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-12
    • 2021-11-14
    • 2016-11-27
    相关资源
    最近更新 更多