[GRASSLIST:7430] Re: Unable to locate PostgreSQL includes

Glynn Clements glynn at gclements.plus.com
Sun Jul 3 07:15:13 EDT 2005


Ing.Peter Misovic wrote:

> we are trying to install official Grass version (6.0). But we have a
> problem during the configure process with PostgreSQL include files.
> We've obtained error such a following :

> configure: error: *** Unable to locate PostgreSQL includes.
> 
> Our configure parameters are as following :

> CFLAGS="-g -Wall" ./configure --with-postgres=yes
> --with-gdal=/usr/local/bin/gdal-config--with-x --with-tcltk
> --with-gdal --with-fftw --with-includes=/usr/include

> --with--postgres-includes=/usr/local/pgsql/include
        ^^

This is a typo.

Unfortunately, configure doesn't warn you if you pass an unknown
--with-* switch.

The reason is so that you can run multiple configure scripts with the
same set of switches, even though not all scripts support all of the
switches. The downside is that you don't get any indication if you
misspell a switch.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list