nginx ./configure error ubuntu 12.04
apt-get build-dep nginx
just resolved my problem....
You have to install pcre3:
apt-get install libpcre3 libpcre3-dev
The library is required for regular expressions support in the location directive and for the ngx_http_rewrite_module module. http://nginx.org/en/docs/install.html