[GRASSLIST:1418] Re: compiling GRASS
Glynn Clements
glynn.clements at virgin.net
Mon Oct 6 16:28:53 EDT 2003
Martin Wegmann wrote:
> I compiled the GRASS source 5.0.2 but it stopps after:
>
> ./configure --with-gdal --without-gd --with-tcltk-includes=/usr/include/tcl8.4
> -with-PostgreSQL-includes=/usr/include/postgresql
>
> hecking Tk version... 8.4
> checking for location of Tcl/Tk library...
> checking for Tcl_Init in -ltcl... no
> checking for Tcl_Init in -ltcl... no
> checking for Tcl_Init in -ltcl8.4... yes
> 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...
> checking for libpq-fe.h... no
> configure: error: *** Unable to locate PostgreSQL includes.
>
> but the path is correct, find prompts that:
> baliola at diomedea: $ find /usr -name libpq-fe.h
> /usr/include/postgresql/libpq-fe.h
It should be:
--with-postgres-includes=/usr/include/postgresql
Two leading dashes, all lower-case, no "ql" (just "postgres", not
"postgresql").
Running "configure --help" will list all of the switches which
configure understands.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-user
mailing list