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

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


Mas desde o primeiro programa o gdal tá instalado. Estou no Ubuntu 11.10.

root em tulio-dplan:/home/tulio/Área de trabalho/gdal-1.9.0# apt-get install
gdal-bin
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
gdal-bin já é a versão mais nova.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 17
não atualizados.




Em 14 de fevereiro de 2012 15:48, Daniel C Bezerra [via R-br] <
ml-node+s2285057n4388079h26 em n4.nabble.com> escreveu:

> Se vc estiver usando Ubuntu gdal está disponível nos repositórios. O
> problema é que só vai funcionar se vc estiver rodando a última versão do
> Ubuntu (11.10). Para versões anteriores vc tem que baixar do site mesmo.
>
> Abs,
>
> D
>
> 2012/2/14 Benilton Carvalho <[hidden email]<http://user/SendEmail.jtp?type=node&node=4388079&i=0>
> >
>
> o arquivo nao eh instalado pelo pacote...
>>
>> vc tem q ir no site www.gdal.org (o mostrado na mensagem de erro) e
>> instalar a biblioteca do sistema (isso eh independente do R) que vai
>> estar disponivel la...
>>
>> depois de vc instalar a biblioteca GDAL, vc volta ao R e tenta
>> instalar o pacote rgdal.
>>
>> b
>>
>> 2012/2/14 Pedro Rafael <[hidden email]<http://user/SendEmail.jtp?type=node&node=4388079&i=1>
>> >:
>> > Eu abri o condigo fonte do pacote e o arquivo que ele reclama não está
>> > dentro do pacote....Vou tentar ver como resolver o problema por aqui.
>> >
>> > Em 14 de fevereiro de 2012 15:26, beniltoncarvalho [via R-br]
>> > <[hidden email] <http://user/SendEmail.jtp?type=node&node=4388079&i=2>>
>> escreveu:
>> >>
>> >> 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 <[hidden email]>:
>> >>
>> >> > 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
>> >> > [hidden email]
>> >> > 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.
>> >> _______________________________________________
>> >> R-br mailing list
>> >> [hidden email]
>> >> 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.
>> >>
>> >>
>> >> ________________________________
>> >> If you reply to this email, your message will be added to the
>> discussion
>> >> below:
>> >>
>> >>
>> http://r-br.2285057.n4.nabble.com/R-br-Duvida-Problema-na-instalacao-rgdal-tp4387969p4387990.html
>> >> To unsubscribe from R-br, click here.
>> >> NAML
>> >
>> >
>> >
>> >
>> > --
>> > Saudações,
>> > Pedro Rafael Diniz Marinho.
>> > Estatístico - Secretaria de Estado da Saúde - PB.
>> >
>> >
>> >
>> > _______________________________________________
>> > R-br mailing list
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4388079&i=3>
>> > 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.
>> _______________________________________________
>> R-br mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4388079&i=4>
>> 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.
>>
>
>
> _______________________________________________
> R-br mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4388079&i=5>
> 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.
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://r-br.2285057.n4.nabble.com/R-br-Duvida-Problema-na-instalacao-rgdal-tp4387969p4388079.html
>  To unsubscribe from R-br, click here<http://r-br.2285057.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3357982&code=cGVkcm8ucmFmYWVsLm1hcmluaG9AZ21haWwuY29tfDMzNTc5ODJ8NTAyMjI0MDYw>
> .
> NAML<http://r-br.2285057.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Saudações,
Pedro Rafael Diniz Marinho.
Estatístico - Secretaria de Estado da Saúde - PB.
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.inf.ufpr.br/pipermail/r-br/attachments/20120214/6c7797de/attachment.html>


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