[GRASS-user] [off-topic] Problem in compile rgdal on Lion

Marcello Benigno benigno.marcello at gmail.com
Thu Nov 1 04:13:06 PDT 2012


Thanks William, you hit bull's eye!

Still only worked doing some adjustments. It worked this way:

1 - create a symlink to llvm-gcc and put it in the PATH

mkdir ~ / binllvm
ln-s / usr / bin / llvm-gcc ~ / binllvm / cc
ln-s / usr / bin / llvm-g + + ~ / binllvm / c + +
export PATH = "~ / binllvm: $ PATH"

2 - As superuser (root) In R session, build packages from source code:

install.packages ("rgdal", type = "source", dependencies = TRUE)

install.packages ("spgrass6", type = "source", dependencies = TRUE)

3 - Start GRASS, then launch R and load the libraries:

library (rgdal)
library (spgrass6)

Many thanks for your help :)

-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20121101/f5d9f502/attachment.html>


More information about the grass-user mailing list