[gdal-dev] Compile GDAL/OGR with OGDI Support on OSX 10.7.4

Even Rouault even.rouault at mines-paris.org
Mon Oct 8 13:14:05 PDT 2012


Le lundi 08 octobre 2012 05:39:20, Samuel Smith a écrit :
> 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"
> 

The --with-ogdi=/usr/local/lib/ogdi/ looks suspicious to me.

Try rather --with-ogdi=/usr/local


More information about the gdal-dev mailing list