执行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 

------------恢复内容结束------------

posted @ 2021-06-28 13:33  谢世林  阅读(2221)  评论(0)    收藏  举报