[GRASS5] Postgres 7.2.1 or debian?

Glynn Clements glynn.clements at virgin.net
Sat Aug 3 19:29:32 EDT 2002


Tom Rake wrote:

> I just tried to compile the release branch and I have traced the problem 
> back to ./configure.
> 
> I am using a debian system with postgresql 7.2.1.
> 
> the checks for postgres.h and postgres_fe.h fail because these files are now 
> in the server subdirectory.
> 
> I have quickly reviewed the debian source package for 7.2.1 and it isn't 
> apparent (I not up on all debian packaging internal!!) to be that the debian 
> packaging is mucking with location of these files.
> 
> It would be nice to know if a stock postgresql 7.2.1 will configure or this 
> is just a debian thing.

It's not a Debian thing; 7.2 moved the file.

You need to specify both directories, e.g.

./configure --with-postgres-includes='/usr/include/postgresql /usr/include/postgresql/internal' ...

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



More information about the grass-dev mailing list