[R-br] [Dúvida] Problema na instalação: rgdal
Benilton Carvalho
beniltoncarvalho em gmail.com
Terça Fevereiro 14 16:26:02 BRST 2012
a msg de erro descreve nao ter encontrado o GDAL instalado (que ele
checa via gdal-config)... dai' sugere:
If you have not installed the GDAL libraries, you can
download the source from http://www.gdal.org/
If you have installed the GDAL libraries, then make sure that
gdal-config is in your path. Try typing gdal-config at a
shell prompt and see if it runs. If not, use:
--configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
with appropriate values for your installation.
b
2012/2/14 Pedro Rafael <pedro.rafael.marinho em gmail.com>:
> Pessoal alguém sabe me informar como corrigir este problema na
> instalação do pacote rgdal?
>
>> install.packages("rgdal")
> Installing package(s) into ‘/usr/local/lib/R/site-library’
> (as ‘lib’ is unspecified)
> tentando a URL 'http://www.vps.fmvz.usp.br/CRAN/src/contrib/rgdal_0.7-8.tar.gz'
> Content type 'application/x-gzip' length 1427851 bytes (1.4 Mb)
> URL aberta
> ==================================================
> downloaded 1.4 Mb
>
>
>
>
> * installing *source* package ‘rgdal’ ...
> ** package ‘rgdal’ successfully unpacked and MD5 sums checked
> gdal-config: gdal-config
> ./configure: line 2013: gdal-config: command not found
> Error: gdal-config not found
> The gdal-config script distributed with GDAL could not be found.
> If you have not installed the GDAL libraries, you can
> download the source from http://www.gdal.org/
> If you have installed the GDAL libraries, then make sure that
> gdal-config is in your path. Try typing gdal-config at a
> shell prompt and see if it runs. If not, use:
> --configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
> with appropriate values for your installation.
>
>
> ERROR: configuration failed for package ‘rgdal’
> * removing ‘/usr/local/lib/R/site-library/rgdal’
>
>
> The downloaded packages are in
> ‘/tmp/RtmpcOSraQ/downloaded_packages’
> Mensagens de aviso perdidas:
> In install.packages("rgdal") :
> installation of package ‘rgdal’ had non-zero exit status
>
> --
> Saudações,
> Pedro Rafael Diniz Marinho.
> Estatístico - Secretaria de Estado da Saúde - PB.
> _______________________________________________
> R-br mailing list
> R-br em listas.c3sl.ufpr.br
> https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
> Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código mínimo reproduzível.
Mais detalhes sobre a lista de discussão R-br