title: Issues installing PostGIS
body: <p>I'm trying to install PostGIS following these instructions:</p>
  
  <pre><code>wget http://postgis.refractions.net/download/postgis-1.5.2.tar.gz
  tar zxvf postgis-1.5.2.tar.gz &amp;&amp; cd postgis-1.5.2/
  sudo ./configure &amp;&amp; make &amp;&amp; sudo checkinstall --pkgname postgis-1.5.2 --pkgversion 1.5.2-src --default
  </code></pre>
  
  <p>but it doesn't pass the "sudo ./configure" command. The last line it's saying:</p>
  
  <pre><code> configure: error: could not find pg_config within the current path. You may need to try re-running configure with a --with-pgconfig parameter.
  </code></pre>
  
  <p>So I looked online I found a place saying something like this:</p>
  
  <blockquote>
    <p>--with-pgconfig=FILE PostgreSQL provides a utility called pg_config to
    enable extensions like PostGIS to
    locate the PostgreSQL installation
    directory. Use this parameter
    (--with-pgconfig=/path/to/pg_config)
    to manually specify a particular
    PostgreSQL installation that PostGIS
    will build against.</p>
  </blockquote>
  
  <p>I searched for pg_config using " whereis pg_config" but I could not find it. Is it referring to "/etc/postgresql/9.0/main/pg_hba.conf" file or a folder....? Am I missing something? I'm really confused at this point. I guess better real confusion than false clarity :).</p>
  
  <p>I'm using PostgreSQL 9 / Ubuntu 10.10. Any help would be greatly appreciated.</p>