[GRASSLIST:2471] Re: grass5.0.0pre2 compile

Glynn Clements glynn.clements at virgin.net
Sat Sep 22 20:15:27 EDT 2001


JWDougherty wrote:

> I am running into problems compiling the pre2 release of grass5.  The 
> postgres support is failing to locate the include libraries in 
> /usr/local/pgsql/inlcude.

In which case, you need to pass:

	--with-postgres-includes=/usr/local/pgsql/include

to configure.

> In the pre1 version 
> getting the postgres support to compile was a simple matter of having the *.h 
> files in the proper directory.  The pre2 version doesn't seem to search any 
> directory the postgres header files.

The configure script no longer adds any header or library directories
automatically. If you want it to look for headers or libraries in any
directories other than those in which the compiler/linker searches by
default, you have to tell it to do so, by passing the appropriate
--with-*-includes and/or --with-*-libs switches.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-user mailing list