질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

아파치 2.0.43 make 에러

작성자 정보

  • 김경태 작성
  • 작성일

컨텐츠 정보

본문

안녕하세요..
아파치를 설치하다가 난 make에러 입니다.. 검색을 해보고는 있는데.. 답답합니다..

레뎃 7.3 이구요.. 보시다시피.. apache는 2.0.43 입니다.

[root@www httpd-2.0.43]# make
Making all in srclib
make[1]: Entering directory `/var/tmp/httpd-2.0.43/srclib'
Making all in apr
make[2]: Entering directory `/var/tmp/httpd-2.0.43/srclib/apr'
Making all in strings
make[3]: Entering directory `/var/tmp/httpd-2.0.43/srclib/apr/strings'
make[4]: Entering directory `/var/tmp/httpd-2.0.43/srclib/apr/strings'
/bin/sh /var/tmp/httpd-2.0.43/srclib/apr/libtool --silent --mode=compile 
gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -
D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE   -
I../include -I../include/arch/unix  -c apr_cpystrn.c && touch 
apr_cpystrn.lo
In file included from apr_cpystrn.c:55:
../include/apr.h:314:2: #error no decision has been made on APR_PATH_MAX 
for your platform
make[4]: *** [apr_cpystrn.lo] Error 1
make[4]: Leaving directory `/var/tmp/httpd-2.0.43/srclib/apr/strings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/httpd-2.0.43/srclib/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/httpd-2.0.43/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/httpd-2.0.43/srclib'
make: *** [all-recursive] Error 1


컴파일은
./configure 
--prefix=/home/httpd 
--bindir=/usr/bin 
--sbindir=/usr/sbin 
--libexecdir=/usr/lib/apache 
--includedir=/usr/include/apache 
--sysconfdir=/etc/httpd/conf 
--localstatedir=/var 
--datadir=/home/httpd 
--mandir=/usr/share/man 
--enable-module=most 
--enable-shared=max

이렇게 해서 에러 없이 잘 끝났습니다.

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,365 명
  • 현재 강좌수 :  37,036 개
  • 현재 접속자 :  387 명