[GRASSLIST:671] Re: configure with postgres on OS X
David Mahoney
mahoneyd at unbc.ca
Wed Jul 9 13:18:49 EDT 2003
On Wednesday, July 9, 2003, at 01:49 AM, David Orme wrote:
> Hi,
>
> I'm trying to install GRASS 5.0.2 on OS X (10.2.6) with postgresql
> support and I can't figure out what the --with-postgres-libs argument
> is looking for. I've tried looking through the configure script but my
> shell programming isn't good enough to work it out.
>
> I've tried:
>
> ./configure --with-postgres-includes=/usr/local/pgsql/include
> --with-postgres-libs=/usr/local/pgsql/lib
>
> and
>
> ./configure --with-postgres-includes=/usr/local/pgsql/include
> --with-postgres-libs=/usr/local/lib
>
> The includes are found without any problem. I have PostGreSQL v. 7.3.3
> installed.
>
> Thanks,
> David
>
Use locate to find the file libpq.a. On my machine it is located in
/sw/lib, but I'm using Fink. Give that directory to configure.
Dave
More information about the grass-user
mailing list