|
|
./configure: error: the HTTP rewrite module requires the PCRE library, t' J6 }* s) v
报错时,需要安装下面插件解决:
% \) F) J+ b( e" w # Z( a! e( S5 b+ g
8 u% B4 @' R2 k6 p# yum -y install pcre-devel4 \' z4 u2 i; Q# I( }3 ?
, a5 W' a8 b0 A
$ l: q- D( o1 [ M ./configure --user=nginx --group=nginx --prefix=/var/lib/bcop/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module
% E3 Q$ O, k* S3 V' {7 H* z0 C! f" U2 V) \* b. |# @4 s
./configure: error: SSL modules require the OpenSSL library.9 r1 E, S, L$ o8 T. q s
You can either do not enable the modules, or install the OpenSSL library( A: B1 t7 Q( _' ^" w& G7 Z/ X
into the system, or build the OpenSSL library statically from the source: W- ~8 H0 e; ~4 m
with nginx by using --with-openssl=<path> option.% f, s9 ]0 u: j/ Y; S2 D" J
安装下面插件解决:
: I6 o" I0 T1 Q# yum -y install openssl openssl-devel, [& k5 N" H4 h4 G. `1 }# t
% t- s1 k7 d" ^./configure: error: SSL modules require the OpenSSL library. |
|