title: nginx ./configure error ubuntu 12.04
body: <p>after downloading and trying to configure nginx when um executing the command ./configure
  um getting this error</p>
  
  <pre><code>./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=&lt;path&gt; option.
  </code></pre>
  
  <p>and I execute the</p>
  
  <pre><code>apt-get build-dep nginx 
  </code></pre>
  
  <p>command um getting the following error</p>
  
  <pre><code>The following packages have unmet dependencies:
  libgd2-noxpm-dev : Depends: libgd2-noxpm (= 2.0.36~rc1~dfsg-6ubuntu2) but it is not    going to be installed
  E: Build-dependencies for nginx could not be satisfied.
  </code></pre>
  
  <p>I dont have any idea about the libgd2-noxpm. This is my first time with nginx . how to overcome from this error . Thank you in advance</p>