执行make出现:make: *** No rule to make target `build'

./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.

make: *** No rule to make target `build', needed by `default'.  Stop.

 

 

依赖没有安装

一键安装依赖:

yum -y install make zlib-devel gcc-c++ libtool openssl openssl-devel

 

 安装完成之后重新执行 

 make && make install

 

 

编译成功

posted @ 2021-06-22 14:59  谢世林  阅读(1094)  评论(0)    收藏  举报