[R-br] [Dúvida] Problema na instalação: rgdal

Pedro Rafael pedro.rafael.marinho em gmail.com
Terça Fevereiro 14 16:20:21 BRST 2012


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.


Mais detalhes sobre a lista de discussão R-br