|
|
./configure: error: the HTTP rewrite module requires the PCRE library1 s; W& d7 t1 ~8 m# }+ y- w
报错时,需要安装下面插件解决:) \; W; c# g+ }. c' o
5 ]- u) R3 w% }, C8 f
/ f, h* @! I8 b$ O
# yum -y install pcre-devel7 N. S9 s, R4 _* C2 t6 G' D
- S" X6 O h+ Y! p0 _
4 H) `% E6 y% P! S7 a% G" I& H I ./configure --user=nginx --group=nginx --prefix=/var/lib/bcop/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module4 A$ O$ D# w, O: s8 Y) |+ a
* I) w. X5 | A& e& o" _./configure: error: SSL modules require the OpenSSL library./ Q7 f8 A0 X5 I4 \2 _* S) {
You can either do not enable the modules, or install the OpenSSL library
+ w# p, u4 s# qinto the system, or build the OpenSSL library statically from the source
7 F8 G' I5 k; a/ T' bwith nginx by using --with-openssl=<path> option.
7 s. ^# V. L' N6 x, x) B. t安装下面插件解决:+ l9 G7 ]9 f+ G+ Z$ [7 Y$ S
# yum -y install openssl openssl-devel8 C( c1 e) y( I2 D. e9 c
3 i* q! f3 X+ e' E4 \2 ]! n./configure: error: SSL modules require the OpenSSL library. |
|