Dear all,

I am trying to install rgdal from source on a Mac OS 10.4.11. I installed
GDAL and PROJ as frameworks so the installation does not work unless I
explicitly state where the GDAL and PROJ libraries are. I tried:

R CMD INSTALL rgdal_0.5-25
--configure-args=--with-proj-include=/Library/Frameworks/PROJ.framework/unix/include
--with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib

but I still get error messages saying it was not able to find the PROJ
"include" file:

If the PROJ.4 library is installed in a non-standard location,
use --configure-args='--with-proj-include=/opt/local/include'
for example, replacing /opt/local/* with appropriate values
for your installation. If PROJ.4 is not installed, install it.
ERROR: configuration failed for package 'rgdal'

If I understood the R Utils docs correctly, --configure-args will accept one
argument only (so the first statement is always dropped). What should I do
if I need to specify the paths to several files?

Thank you,

Naiara.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to