[GRASSLIST:2594] Re: libpq_fe.h error in grass5.7

Richard Greenwood rich at greenwoodmap.com
Fri Feb 13 09:28:23 EST 2004


hamdi ines wrote:

> hello,
> i tried to install grass5.7 from the source: i m
> installed postgresql-7.3.2, gdal, proj-4.4.7,
> xerces-1.6.0,..and i m download the cvs head version
> of grass5.3 but when i write:
> 
> root at etho grass57_exp_2003_12_13]# CFLAGS="-g -Wall"
> ./configure --with-grass50=/home/grass/
> 
> I get the following error:
> 
> 
>>checking for Tk_MainWindow in -ltk... 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.
> 
> But the libpq_fe.h already exists in
> /postgresql-7.3.2/src/interfaces/libpq/include/
> please can any one help me.
> 

You might try the --with-postgres-includes option e.g.
    --with-postgres-includes=/usr/include/postgresql/


-- 
Richard Greenwood
www.greenwoodmap.com




More information about the grass-user mailing list