|
|
./configure: error: the HTTP rewrite module requires the PCRE library6 j+ j( ?1 ^, P5 e. F
报错时,需要安装下面插件解决:
7 d- e" K$ K, X5 x$ K6 [
1 _0 L1 R. ~! `& R, e% P* A. s- X2 S1 S2 } }1 g
# yum -y install pcre-devel
4 V' m7 \4 Q, c- h+ W& p2 a/ |% ~# T% N I; H
$ \% C# m! @6 v. W8 t/ b
./configure --user=nginx --group=nginx --prefix=/var/lib/bcop/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module: E5 l0 c1 D6 k/ P* A2 `
8 v2 b1 q3 b: d) Q
./configure: error: SSL modules require the OpenSSL library.
5 d# B: R, s' B5 }& Z, zYou can either do not enable the modules, or install the OpenSSL library2 u5 y+ {* z+ q8 t" p% R
into the system, or build the OpenSSL library statically from the source" z8 Z: H) U% q5 L$ b$ F' S! s. [, J' N/ F
with nginx by using --with-openssl=<path> option.
$ e8 h) E0 H# a. S8 y安装下面插件解决:4 T- {% E. H, [) _6 s: K- q* O
# yum -y install openssl openssl-devel
' j8 M) o& \: F7 h7 v7 g9 `) c2 {" p: m1 x0 f9 }
./configure: error: SSL modules require the OpenSSL library. |
|