[GRASSLIST:967] Re: unable to locate postgresql includeds
Markus Neteler
neteler at itc.it
Mon Aug 18 04:09:15 EDT 2003
On Thu, Aug 14, 2003 at 08:24:31PM -0700, stef wrote:
> Hello,
> Well after a day trying different approaches I
> continue to be lost.
>
> I cannot seem to hold the ./configure
> --with-Postgres-includes=/usr/local/postgresql-7.3.4/src/included
Are you sure about "included" (note the 'd'). Should be
/usr/local/postgresql-7.3.4/src/include
or similar.
Markus
> After the configuration runs it still cannot see the
> libpq-fe.h file (yes, it is there) and in the line
> above does not indicate that the path was changed.
>
> Any suggestions?
>
> Thanks,
> Stef
>
> --- Glynn Clements <glynn.clements at virgin.net> wrote:
> >
> > stef wrote:
> >
> > > I read the june 2002 reply to Mr. Bonk from Mr.
> > > Clements and still have had no luck with this
> > problem
> > > of finding the header files for libpq-fe.
> > >
> > > I have checked the config log but I have no
> > clue..I
> > > just see several files missing. I have attached
> > the
> > > portion of the log for any insight and
> > suggestion/s
> > > you may have.
> >
> > > configure:8902: checking for location of
> > PostgreSQL includes
> > > configure:8928: checking for libpq-fe.h
> > > configure:8936: gcc -E conftest.c >/dev/null
> > 2>conftest.out
> > > configure:8932:22: libpq-fe.h: No such file or
> > directory
> >
> > I note that there are no -I switches in the command,
> > which means that
> > you didn't use --with-postgres-includes=.... You
> > almost always need to
> > use this switch, as distribution vendors usually put
> > the PostgreSQL
> > headers in their own directory. Likely candidates
> > are
> > /usr/include/psql, /usr/include/pgsql and
> > /usr/include/postgresql.
> >
> > --
> > Glynn Clements <glynn.clements at virgin.net>
> >
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
--
Markus Neteler <neteler at itc.it> http://mpa.itc.it
ITC-irst, Istituto per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
More information about the grass-user
mailing list