./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using
option, or install the PCRE library into the system, or build the PCRE
statically from the source with nginx by using --with-pcre=
This happens when not having pcre, using --without-http_rewrite_module
also --with-pcre as an option, like:
./configure --without-http_rewrite_module --with-pcre
For sure that’s a stupid combination, but just happened in a very long,
configure line here. FWIW, this was on OpenBSD 5.1.