에러헤결

configure: error : Did not find working script at pcre-config

곰돌이볼 2023. 5. 16. 15:32

에러


  • Linux APM 수동 설치 중 apache2 설치 과정에서 발생

 

해결 방법


  • --with-pcre=/usr/local/pcre/ 코드를 아래와 같이 변경
    • --with-pcre=/usr/local/pcre/bin/pcre-config
  • 최종 apache 설치 명령어
    • ./configure --prefix=/usr/local/apache2.4 --enable-module=so --enable-rewrite --enable-so --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-pcre=/usr/local/pcre/bin/pcre-config --enable-mods-shared=all /usr/local/httpd-2.4.46# make /usr/local/httpd-2.4.46# make install

 

참고 사이트