[gdal-dev] Compile GDAL/OGR with OGDI Support on OSX 10.7.4
William Kyngesburye
woklist at kyngchaos.com
Mon Oct 8 07:24:29 PDT 2012
There is a new problem with OGDI that I didn't account for in my build instructions: OGDI isn't updated for the new PROJ headers (that is, no projects.h). You need to copy projects.h to your proj header location.
On Oct 7, 2012, at 10:39 PM, Samuel Smith wrote:
> Monkeying around with my first GDAL/OGR builds in Mac OS X 10.7.4 tonight ... Got it built with FGB support, then tried OGDI.
>
> This required compiling OGDI first, which I eventually got to go with the 3.2.0-beta2 instructions from kyngchaos (http://www.kyngchaos.com/macosx/build/ogdi) - Thanks!
>
> But now I can't get GDAL 1.9.2 to re-compile --with-ogdi ...
>
> My ./configure looks like this ...
>
> ./configure --with-threads --disable-static --without-grass \
> --with-geos=/opt/opengeo/pgsql/9.1/bin/geos-config --with-proj=/opt/opengeo/pgsql/9.1/bin/proj \
> --with-fgdb=/Library/FileGDB_API/ --with-pg=/opt/opengeo/pgsql/9.1/bin/pg_config --with-ogdi=/usr/local/lib/ogdi/ \
> --prefix="$HOME/local" CFLAGS=" -Os -arch x86_64" CXXFLAGS=" -Os -arch x86_64" LDFLAGS=" -arch x86_64"
>
> But I keep getting told that ecs.h cannot be found ...
>
> ...
> checking for jpeg12... enabled
> checking for DGifOpenFileName in -lgif... no
> checking gif_lib.h usability... no
> checking gif_lib.h presence... no
> checking for gif_lib.h... no
> using internal gif code.
> checking for cln_GetLayerCapabilities in -logdi... yes
> configure: error: ecs.h not found.
>
> Any lovin'? TIA, Sam
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"I ache, therefore I am. Or in my case - I am, therefore I ache."
- Marvin
More information about the gdal-dev
mailing list