[GRASS5] PostgreSQL interface compilation

Glynn Clements glynn.clements at virgin.net
Thu Dec 20 14:50:17 EST 2001

Markus Neteler wrote:

> (thanks Alex, for re-adding the missing files). I tried
> to compile the
> src.garden/grass.postgresql
> today, but there is a problem with
> #include <postgres_fe.h>
> that is named postgres.h on Redhat.

Or is it libpq-fe.h? That's the one which configure currently checks

What functions is the header supposed to define?

> It seems that the name
> depends on the PostgreSQL version and the Linux distro.
> Can we add some trick to support both filenames or
> find out the name with "configure"?

That's not hard; we already check for either fftw.h or dfftw.h.

Glynn Clements <glynn.clements at virgin.net>

More information about the grass-dev mailing list