pond2539 发表于 2018-11-27 12:01:17

apache 出现 make[2]: *** [exports.lo] Error 1的

  类似于以下信息:
“exports.c:1653: error: redefinition of 'ap_hack_apr_version_string'
exports.c:1022: error: previous definition of 'ap_hack_apr_version_string' was here
make: *** Error 1
make: Leaving directory `/usr/local/src/httpd-2.2.*/server'
make: *** Error 1
make: Leaving directory `/usr/local/src/httpd-2.2.*/server'
make: *** Error 1”

有些人说路径不对,有些说perl包不对,有的说zlib不对。
反正有病乱投医。
翻了好久的网页才搞定。
解决办法:
  重新解压
在configure后加上 “--with-included-apr”。



页: [1]
查看完整版本: apache 出现 make[2]: *** [exports.lo] Error 1的