[Qgis-user] Postgres dependency on mac build
William Kyngesburye
woklist at kyngchaos.com
Sun Apr 20 09:34:06 PDT 2008
I think there was a fix for this recently in trunk, and maybe it's not
in the diagram branch. The release tag works fine. You could try
grabbing cmake/FindPostgres.cmake from trunk to replace what you have
in the diagram branch.
On Apr 20, 2008, at 11:03 AM, John Abraham wrote:
> I'm trying to build the "diagram" branch on MacOSX Leopard. I
> followed the instructions in the docs, and did get it compiled and
> running. I'm pretty proud of myself since I haven't programmed in C
> for a decade or so (java programmer now.)
>
> Except there is one problem. The Postgres stuff wasn't found by
> cmake, so there was no Postgis support in my build.
>
> So I tried to set up cmake to find my postgres. I found the file
> FindPostgres.cmake and found that it uses environment variables, so
> tried to set those using -D options to cmake. Now it won't compile
> at all, with the following error. I do have a libpq-fe.h in /usr/
> local/pgsql/include. I didn't make Postgres from source, just
> installed it.
>
> Thanks for any help,
> --
> John Abraham
> jabraham at ucalgary.ca
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
Earth: "Mostly harmless"
- revised entry in the HitchHiker's Guide to the Galaxy
More information about the Qgis-user
mailing list