QUOTE:
Configuration summary
+ threads are not used
+ PCRE library is not found
....
....
./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.
</path>
If you are experiencing this small problem, you should simply use following parameter of configure script:
CODE:
# ./configure --with-cc-opt="-I /usr/include/pcre"And voila!
+ using system PCRE library
Now it can see and will use system PCRE library.
From: http://blog.kovyrin.net/2006/08/30/nginx-redhat-pcre-problem/