linux에 apache 2.4.2버전 설치 중 make에서 에러가 납니다.
configure 옵션은
./configure --prefix=/usr/local/server/apache --enable-mods-shared=all --enable-so --enable-rewrite --with-included-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
이었고, configure과정에서는 에러가 없었습니다.
apr은 1.4.6버전으로 깔았고,
apr-util은 1.4.1버전 입니다.
rpm -qa httpd로 apache가 깔려있는지 확인도 하였습니다.
에러 내용은
[root@localhost httpd-2.4.2]# make
-중략-
exports.c:554: error: previous definition of 'ap_hack_apr_xml_parse_file' was here
exports.c:1600: error: redefinition of 'ap_hack_apr_xml_parser_feed'
exports.c:555: error: previous definition of 'ap_hack_apr_xml_parser_feed' was here
exports.c:1601: error: redefinition of 'ap_hack_apr_xml_parser_done'
exports.c:556: error: previous definition of 'ap_hack_apr_xml_parser_done' was here
exports.c:1602: error: redefinition of 'ap_hack_apr_xml_parser_geterror'
exports.c:557: error: previous definition of 'ap_hack_apr_xml_parser_geterror' was here
exports.c:1603: error: redefinition of 'ap_hack_apr_xml_to_text'
exports.c:558: error: previous definition of 'ap_hack_apr_xml_to_text' was here
exports.c:1604: error: redefinition of 'ap_hack_apr_xml_empty_elem'
exports.c:559: error: previous definition of 'ap_hack_apr_xml_empty_elem' was here
exports.c:1605: error: redefinition of 'ap_hack_apr_xml_quote_string'
exports.c:560: error: previous definition of 'ap_hack_apr_xml_quote_string' was here
exports.c:1606: error: redefinition of 'ap_hack_apr_xml_quote_elem'
exports.c:561: error: previous definition of 'ap_hack_apr_xml_quote_elem' was here
exports.c:1607: error: redefinition of 'ap_hack_apr_xml_insert_uri'
exports.c:562: error: previous definition of 'ap_hack_apr_xml_insert_uri' was here
exports.c:1616: error: redefinition of 'ap_hack_apu_version'
exports.c:571: error: previous definition of 'ap_hack_apu_version' was here
exports.c:1617: error: redefinition of 'ap_hack_apu_version_string'
exports.c:572: error: previous definition of 'ap_hack_apu_version_string' was here
make[2]: *** [exports.lo] 오류 1
make[2]: Leaving directory `/usr/local/src/APM/httpd-2.4.2/server'
make[1]: *** [all-recursive] 오류 1
make[1]: Leaving directory `/usr/local/src/APM/httpd-2.4.2/server'
make: *** [all-recursive] 오류 1
입니다.
하루종일 끙끙거리다 질문 올립니다. ㅠㅠ
왜 이런 오류가 나는걸까요?
와..
저랑 증상이 완전 똑같네요..
댓글 달기