I've installed PostGIS on my Dreamhost hosted VPS and have gotten to the configure section of the process as detailed here: http://postgis.refractions.net/documentation/manual-2.0/postgis_installation.html#installation_configuration
In the last line when I run ./configure I get this error:
configure: error: could not find pg_config within the current
path. You may need to try re-running configure with a --with-pgconfig parameter.
And I see in the instructions say:
--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.
However, I can't find a way to find where this file is. I know I have PostGre installed because it says so when I run this:
aptitude show postgresql | grep State
coming back with
State: installed
But I don't know where to go from here. Any help is appreciated. Thanks!