[GRASSLIST:616] Re: Problems compiling the latest snapshot.

Piero Cavalieri grasspiero at tiscali.it
Sat Jul 5 05:01:10 EDT 2003


Antonio G. - Geotronix wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Hi.
> 
> I'm trying to compile the latest snapshot (28/06/2003)on my debian
>  woody but I'm not having great success. This is the error that
> ./configure gives me:
> 
> ..
> ...
> ....
> checking for Tk_MainWindow in -ltk... no
> checking for Tk_MainWindow in -ltk8.0... yes
> checking whether to use PostgreSQL... yes
> checking for location of PostgreSQL includes...
> checking for libpq-fe.h... no
> configure: error: *** Unable to locate PostgreSQL includes.
> 
> I've installed postgresql-dev but it seems to not be this package.

I have libpq-fe.h in /usr/include/pgsql , and postgresql-dev should be
the right package (but simply look at that file, with find or slocate).
./configure --help | grep 'postgre'  also give
--with-postgres-includes=DIRS
(For me: --with-postgres-includes=/usr/include/pgsql/ )

Piero




More information about the grass-user mailing list