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

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Mar 10 07:17:40 CET 2015


On 10/03/2015 00:18, Bill Behrman wrote:
>
>
> 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.

Not true: see the 'mavericks' lines in the CRAN check summaries for 
those packages, and

 > setRepositories(ind=6)
 > available.packages()
       Package Version  Priority Depends
rgdal "rgdal" "0.8-16" NA       "R (>= 2.14.0), methods, sp (>= 1.0-9)"
rgeos "rgeos" "0.3-4"  NA       "R (>= 2.14.0)"
....



> 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.

It is not appropriate to set values for just one version of the external 
binaries.  Like almost all other packages, the ones on CRAN(xtras) are 
built with static libraries (and unchanged packages).

> Kind wishes,
>
> Bill
>
>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK



More information about the R-SIG-Mac mailing list