Skip to content
Prev 199082 / 398506 Next

Help with RGDAL

Hi Charlie!
On Fri, Oct 30, 2009 at 5:16 PM, cls59 <chuck at sharpsteen.net> wrote:
Sorry to jump in here so late but I just gave this a try. I usually
install rgdal from CRAN on windows or download the binary from
http://www.kyngchaos.com for Mac. I wanted to try your method from
building from source since the directions were so clear and
understandable. This is the first time I have done this and I am not
very terminal savvy.

I ran the last command above and get this message:


* installing to library ?/Library/Frameworks/R.framework/Resources/library?
* installing *source* package ?rgdal? ...
gdal-config: /Library/Frameworks/GDAL.framework/unix/bin/gdal-config
/Library/Frameworks/R.framework/Resources/bin/config: line 143: make:
command not found
/Library/Frameworks/R.framework/Resources/bin/config: line 144: make:
command not found
/Library/Frameworks/R.framework/Resources/bin/config: line 220: make:
command not found
/Library/Frameworks/R.framework/Resources/bin/config: line 143: make:
command not found
/Library/Frameworks/R.framework/Resources/bin/config: line 144: make:
command not found
/Library/Frameworks/R.framework/Resources/bin/config: line 220: make:
command not found
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
ERROR: configuration failed for package ?rgdal?
* removing ?/Library/Frameworks/R.framework/Resources/library/rgdal?


It seem to be looking for the C compiler among other things. Can you
provide any help on this?

Thanks in advance,
Michael
R version 2.10.0 Patched (2009-11-02 r50295)
x86_64-apple-darwin9.8.0

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

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

other attached packages:
[1] sp_0.9-44

loaded via a namespace (and not attached):
[1] grid_2.10.0     lattice_0.17-26 tools_2.10.0