[GRASSLIST:4188] configure with postgres - problem
Martin Wegmann
wegmann at biozentrum.uni-wuerzburg.de
Mon Aug 16 09:46:55 EDT 2004
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