[GRASSLIST:4626] Re: Compiling Grass 5.3 and Postgresql

Glynn Clements glynn at gclements.plus.com
Sat Oct 23 16:00:06 EDT 2004


ssherman wrote:

> I am attempting to compile GRASS 5.3 from source on a Fedora Core 2 system 
> with PostgreSQL (I am running Posgres 7.4.5). I get the following error:
> 
> 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 am new to both GRASS and Linux but I know that postgres is working and that 
> the header files exist. They are located in /usr/local/pgsql/include/ I don't 
> know how to get past this error. 

	./configure --with-postgres-includes=/usr/local/pgsql/include
...

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list