Created
March 9, 2012 18:12
-
-
Save jorgeas80/2007830 to your computer and use it in GitHub Desktop.
GDAL configure line for Mac OS X 10.6.8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export MACOSX_DEPLOYMENT_TARGET=10.6 | |
export ARCHFLAGS="-arch i386 -arch x86_64" | |
./configure --with-threads --disable-static --without-grass --with-jasper=/Library/Frameworks/UnixImageIO.framework/unix --with-libtiff=/Library/Frameworks/UnixImageIO.framework/unix --with-jpeg=/Library/Frameworks/UnixImageIO.framework/unix --with-gif=/Library/Frameworks/UnixImageIO.framework/unix --with-png=/Library/Frameworks/UnixImageIO.framework/unix --with-geotiff=/Library/Frameworks/UnixImageIO.framework/unix --with-sqlite3=/Library/Frameworks/SQLite3.framework/unix --with-odbc --with-pcraster=internal --with-geos=/Library/Frameworks/GEOS.framework/unix -with-static-proj4=/Library/Frameworks/PROJ.framework/unix --with-expat=/usr/local --with-curl --with-python --with-macosx-framework CFLAGS="-Os -arch i386 -arch x86_64" CXXFLAGS="-Os -arch i386 -arch x86_64" LDFLAGS="-arch i386 -arch x86_64" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BE CAREFUL: GDAL r23745 causes a build error. You need to remove --tag=LD from GDALMake.opt.in. See http://trac.osgeo.org/gdal/ticket/4557