QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3910|回复: 7

Apache又来烦人了 ~~~

[复制链接]
发表于 2005-10-26 21:06:35 | 显示全部楼层 |阅读模式
因为一些小问题,又编译了一次
结果最后几行发现下面这个提示:
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/usr/local/apache/server'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/apache/server'
make: *** [install-recursive] Error 1

这个是什么原因所致?

// 偶用apache 2.0
发表于 2005-10-26 21:21:24 | 显示全部楼层
就不能贴多点么
回复

使用道具 举报

 楼主| 发表于 2005-10-26 21:54:06 | 显示全部楼层

...
exports.c:2455: redefinition of `ap_hack_apr_xml_to_text'
exports.c:1089: `ap_hack_apr_xml_to_text' previously defined here
exports.c:2456: redefinition of `ap_hack_apr_xml_empty_elem'
exports.c:1090: `ap_hack_apr_xml_empty_elem' previously defined here
exports.c:2457: redefinition of `ap_hack_apr_xml_quote_string'
exports.c:1091: `ap_hack_apr_xml_quote_string' previously defined here
exports.c:2458: redefinition of `ap_hack_apr_xml_quote_elem'
exports.c:1092: `ap_hack_apr_xml_quote_elem' previously defined here
exports.c:2459: redefinition of `ap_hack_apr_xml_insert_uri'
exports.c:1093: `ap_hack_apr_xml_insert_uri' previously defined here
exports.c:2464: redefinition of `ap_hack_apu_version'
exports.c:1098: `ap_hack_apu_version' previously defined here
exports.c:2465: redefinition of `ap_hack_apu_version_string'
exports.c:1099: `ap_hack_apu_version_string' previously defined here
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/usr/local/apache/server'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/apache/server'
make: *** [install-recursive] Error 1
就是上面这样子
回复

使用道具 举报

发表于 2005-10-26 22:25:30 | 显示全部楼层
再多点?
回复

使用道具 举报

 楼主| 发表于 2005-10-29 19:58:22 | 显示全部楼层
十分感谢板主!
这两天忙着考试,也没上网.
那天发现,出现这个错误是因为安装软件方法不当所致
比如说我将.tar.tz解压到了/usr/local/apache目录下
然后在configure时,加了--prefix=/usr/local/apache  

后来将--prefix换了不同的目录,就没问题了
谢谢板主啊,下回有问题还要来问
回复

使用道具 举报

发表于 2005-10-29 20:04:31 | 显示全部楼层

为什么把 tar.gz 解到/usr/local/apache ???
回复

使用道具 举报

 楼主| 发表于 2005-10-29 20:24:49 | 显示全部楼层
当初想是把apache安装在/usr/local/apache目录中
便想解压过去直接./configure,make,make install
结果就出上面的问题
之后加了--prefix=/usr/local/apache2
我的理解应该是指把apache2安装到apache2目录中吧?
回复

使用道具 举报

发表于 2005-10-29 20:33:46 | 显示全部楼层
解压缩到哪里和安装到哪里没什么关系。--prefix 管装到哪里
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-3-28 23:21 , Processed in 0.186641 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表