[R-SIG-Mac] Problems updating rgdal in 3.1.0 (when building from source)

Agustin Angel Diez Castillo agustin.diez at uv.es
Tue Apr 15 13:57:04 CEST 2014


Hi,
I'm in trouble when trying to update rgdal in 3.1.0 in Mavericks. There is no binary and installing for source claims that I've no libproj in standard or given locations. I do have several libproj both in /usr/local/lib and in /Library/Frameworks/PROJ.framework/Versions/4.8/unix/lib/, how can I to force the build to look to the later that I'm more confident is the wright one?
Any help will be very much appreciated.
Thanks.
A






sessionInfo()
R version 3.1.0 (2014-04-10)
Platform: x86_64-apple-darwin13.1.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base 

checking for pj_init_plus in -lproj... no
configure: error: libproj not found in standard or given locations.
ERROR: configuration failed for package ‘rgdal’
* removing ‘/Users/adiez/Library/R/3.1/library/rgdal’

The downloaded source packages are in
	‘/private/var/folders/sm/1djysrdj1clbzvn35gv8vqq40000gn/T/Rtmpl6DW9M/downloaded_packages’* restoring previous ‘/Users/adiez/Library/R/3.1/library/rgdal’

Warning message:
In install.packages("rgdal", type = "source") :
  installation of package ‘rgdal’ had non-zero exit status


install.packages("rgdal")
Installing package into ‘/Users/adiez/Library/R/3.1/library’
(as ‘lib’ is unspecified)

   package ‘rgdal’ is available as a source package but not as a binary

Warning message:
package ‘rgdal’ is not available (for R version 3.1.0)



More information about the R-SIG-Mac mailing list