[GRASSLIST:4189] Re: configure with postgres - solved

Martin Wegmann wegmann at biozentrum.uni-wuerzburg.de
Mon Aug 16 10:02:45 EDT 2004


On Monday 16 August 2004 15:53, Pete St. Onge wrote:
> pete at populus:~$ dlocate libpq-fe.h

did not show anything....

> postgresql-dev: /usr/include/postgresql/libpq-fe.h
>
> Do you have the postgresql-dev package installed?

;-) - not yet  - did apt-get and now it is working, thanks for your help, 
Martin

>
> On Mon, Aug 16, 2004 at 03:46:55PM +0200, Martin Wegmann wrote:
> > hello,
> >
> > I started using postgresql and now I want to compile GRASS with
> > postgresql support.
> > I searched the archive and found various mails that I have to set
> > "--with-postgres-includes=/usr/include/postgresql" but I checked my
> > system and do not have a postgresql, postgres or pgsql in my /usr/include
> > directory. Hence it does not find libpq-fe.h. Locating libpq-fe.h was
> > unsuccessful as well.
> > Is it a debian specific problem or a postgresql Version: 7.4.3-3?
> >
> > thanks in advance, Martin
> >
> >
> > 1)
> > ./configure
> > --with-grass50=/home/misc/software/grass/grass53_exp_2004_08_07
> > --with-tcltk-includes=/usr/include/tcl8.4
> > --with-postgres-libs=/usr/lib/postgresql
> >
> > checking for Tk_MainWindow in -ltk8.4... yes
> > checking whether to use PostgreSQL... yes
> > checking for location of PostgreSQL includes...
> > checking for libpq-fe.h... no
> > configure: error: *** Unable to locate PostgreSQL includes.
> >
> >
> > 2)
> >  ./configure
> > --with-grass50=/home/misc/software/grass/grass53_exp_2004_08_07
> > --with-tcltk-includes=/usr/include/tcl8.4
> > --with-postgres-libs=/usr/lib/postgresql
> > --with-postgres-includes=/usr/include/postgresql
> >
> > checking for Tk_MainWindow in -ltk... no
> > checking for Tk_MainWindow in -ltk... no
> > checking for Tk_MainWindow in -ltk8.4... yes
> > checking whether to use PostgreSQL... yes
> > checking for location of PostgreSQL includes... /usr/include/postgresql
> > configure: error: *** PostgreSQL includes directory
> > /usr/include/postgresql does not exist.




More information about the grass-user mailing list