|
|
./configure: error: the HTTP rewrite module requires the PCRE library4 F* j O" S/ p _4 J/ ^, n
报错时,需要安装下面插件解决:" p& Y9 L# M8 Q
7 i1 N2 A# p& G/ }0 I- D' p
# a+ P8 w! e: D0 k
# yum -y install pcre-devel
/ b- g+ B. z- g' z1 @( o
1 m- [" d4 V% d- a# @
# f7 }% R4 R$ r, j/ H" H3 i ./configure --user=nginx --group=nginx --prefix=/var/lib/bcop/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module/ u" C. o% |' P5 i+ D
9 X$ d/ B. @$ E D7 J' A$ P./configure: error: SSL modules require the OpenSSL library.6 c& ?; S& f& h
You can either do not enable the modules, or install the OpenSSL library
3 A a. b0 p9 s! m3 xinto the system, or build the OpenSSL library statically from the source
/ E" _! s' S% e3 g, Rwith nginx by using --with-openssl=<path> option.
( }9 O K2 P% A" s, W安装下面插件解决:0 E/ P9 d7 |7 O" K8 C5 E, N0 E4 ?
# yum -y install openssl openssl-devel- G1 J+ y$ `) u" m& C* Z
8 Y. B$ {2 a3 T5 C$ F& M/ T' H
./configure: error: SSL modules require the OpenSSL library. |
|