Apache又来烦人了 ~~~
因为一些小问题,又编译了一次结果最后几行发现下面这个提示:
make: *** Error 1
make: Leaving directory `/usr/local/apache/server'
make: *** Error 1
make: Leaving directory `/usr/local/apache/server'
make: *** Error 1
这个是什么原因所致?
// 偶用apache 2.0 就不能贴多点么 :P
...
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: *** Error 1
make: Leaving directory `/usr/local/apache/server'
make: *** Error 1
make: Leaving directory `/usr/local/apache/server'
make: *** Error 1
就是上面这样子 再多点? :roll: 十分感谢板主!
这两天忙着考试,也没上网.
那天发现,出现这个错误是因为安装软件方法不当所致
比如说我将.tar.tz解压到了/usr/local/apache目录下
然后在configure时,加了--prefix=/usr/local/apache
后来将--prefix换了不同的目录,就没问题了
谢谢板主啊,下回有问题还要来问:) :shock:
为什么把 tar.gz 解到/usr/local/apache ??? 当初想是把apache安装在/usr/local/apache目录中
便想解压过去直接./configure,make,make install
结果就出上面的问题
之后加了--prefix=/usr/local/apache2
我的理解应该是指把apache2安装到apache2目录中吧? :roll: 解压缩到哪里和安装到哪里没什么关系。--prefix 管装到哪里
页:
[1]