现在的位置: 首页 > 综合 > 正文

apache 出现 make[2]: *** [exports.lo] Error 1的解决方法

2013年07月17日 ⁄ 综合 ⁄ 共 474字 ⁄ 字号 评论关闭

类似于以下信息:
“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[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.2.*/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.2.*/server'
make: *** [all-recursive] Error 1”

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

再重新编译, make, make install. 即可:)。

抱歉!评论已关闭.