[GRASSLIST:3644] Re: compile with postgres

Glynn Clements glynn.clements at virgin.net
Wed May 8 10:23:55 EDT 2002


schwob at respublica.fr wrote:

> I compile grass5.0.0pre3 with this option:
> --with-postgres-includes=/usr/include/pgsql
> The program returns the following lines:
> 	checking for location of PostgreSQL 
> includes.../usr/include/pgsql
> 	checking for libpq-fe.h...yes
> 	checking for postgres.h...no
> 	checking for postgres_fe.h...no
> 	configure:error:*** unable to locate PosgreSQL 
> includes.
> Even so, 
> the postgres.h file is in /usr/include/pgsql/server 
> subdirectory
> the postgres_fe.h file is 
> in /usr/include/pgsql/internal subdirectory.

Then you need to use:

--with-postgres-includes='/usr/include/pgsql /usr/include/pgsql/internal'

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



More information about the grass-user mailing list