[R-SIG-Mac] Fixing configure scripts for rgeos and rgdal for OS X

Bill Behrman behrman at stanford.edu
Tue Mar 10 01:18:51 CET 2015



CRAN does not currently offer binaries for rgeos or rgdal for OS X Maverick+, and the configure scripts do not work for compiling these packages from source.

With a Mac running OS 10.9.5 and GDAL 1.11 Complete downloaded from

http://www.kyngchaos.com/software/frameworks

I was able to compile these packages with configure.args set as follows

rgeos:

--with-geos-config=/Library/Frameworks/GEOS.framework/Versions/Current/unix/bin/geos-config

rgdal:

--with-gdal-config=/Library/Frameworks/GDAL.framework/Versions/Current/unix/bin/gdal-config
--with-proj-include=/Library/Frameworks/PROJ.framework/unix/include
--with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib
--with-proj-share=/Library/Frameworks/PROJ.framework/unix/share/proj

If the configure scripts for rgeos and rgdal could be updated to appropriately set these arguments, this may enable binaries to be available from CRAN.

Kind wishes,

Bill



	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list