본문 바로가기

Server/Linux

centOS7-apache2.2.x checking for APR-util... reconfigconfigure: error: Cannot use an external APR with the bundled APR-util

728x90
반응형

아파치 컴파일 설ㅈ치중 apr 에러가 난다;;;

 

소스 설치에 문제가 없는데 ㅜ.ㅜ 

아래와 같은 메세지가 나온다면 

Configuring Apache Portable Runtime library ...

checking for APR... yes
  setting CC to "gcc"
  setting CPP to "gcc -E"
  setting CFLAGS to " -g -O2 -pthread"
  setting CPPFLAGS to " -D_REENTRANT -D_GNU_SOURCE"
  setting LDFLAGS to " "

Configuring Apache Portable Runtime Utility library...

checking for APR-util... reconfig
configure: error: Cannot use an external APR with the bundled APR-util

해결 방법은 소스 컴파일시 라인을 추가 하면된다.

--with-included-apr

컴파일 소스에 위의 명령어를 추가 하면 된다.

 

그럼 설치가 되요~

 

간만에 설치하니 또 삽질을 하는구나;; 정리를 잘해놔야지 ㅜ.ㅜ

728x90
반응형