Miscellaneous

PCRE (Perl Compatible Regular Expressions) 8.34 Installation

aappsroot·2014년 2월 11일·조회 4,721

 

NginX 를 컴파일하다가 만났습니다.

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

 

즉, pcre 를 먼저 설치해야 합니다.

 

다운로드 경로는 다음과 같습니다.

http://sourceforge.net/projects/pcre/files/pcre/

 

pcre-8.34.tar.gz (8.34 버전) 를 다운로드 받았고 OS X 에서 컴파일을 시도합니다.

컴파일 옵션을 잘 몰라서 그냥 --prefix 만으로 했는데 잘 끝났네요. 

 

댓글 0

로그인 후 댓글을 남길 수 있습니다.

아직 댓글이 없습니다.