[GRASS5] PostgreSQL interface compilation
neteler at itc.it
Thu Dec 20 15:23:37 EST 2001
On Thu, Dec 20, 2001 at 07:50:17PM +0000, Glynn Clements wrote:
> 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
libpq-fe.h is also included. The only thing needed from
(whatever define that is). See
> 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.
Maybe we can change above VARHDRSZ not to need postgres[_fe].h at all.
More information about the grass-dev