Obrigado senhores pela ajuda. Agora deu certo a instalação.<br><br><div class="gmail_quote">Em 14 de fevereiro de 2012 16:24, Fernando Mayer [via R-br] <span dir="ltr"><<a href="mailto:ml-node%2Bs2285057n4388220h97@n4.nabble.com">ml-node+s2285057n4388220h97@n4.nabble.com</a>></span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ainda falta o libproj-dev
<br><br>fernando@spock:~$ apt-file search proj_api.h
<br>libproj-dev: /usr/include/proj_api.h
<br><br>[]s,
<br><br>---
<br>Fernando Mayer
<br>Universidade Federal de Santa Catarina - UFSC
<br>Departamento de Ecologia e Zoologia - ECZ/CCB
<br>URL: <a href="http://sites.google.com/site/fernandomayer" rel="nofollow" link="external" target="_blank">http://sites.google.com/site/fernandomayer</a><br>e-mail: fernandomayer [@] <a href="http://gmail.com" target="_blank">gmail.com</a>
<br><div class="im"><br><br><br>2012/2/14 Pedro Rafael <<a href="http://user/SendEmail.jtp?type=node&node=4388220&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>>:
</div><div><br><div><div class="h5">> Atualizei o sistema e instalei todas os pacotes que refere-se a gdal mesmo
<br>> sabendo que alguns não teria muito haver com o problema. Os pacotes foram:
<br>>
<br>> root@tulio-dplan:/home/tulio/Área de trabalho/gdal-1.9.0# apt-cache search
<br>> gdal
<br>> dans-gdal-scripts - Ferramentas contribuídas de GDAL da Rede de Informação
<br>> Geográfica do Alaska
<br>> gdal-bin - Biblioteca de abstracção de dados geoespaciais - programas
<br>> utilitários
<br>> libgdal-doc - Documentação para a biblioteca Geospatial Data Abstraction
<br>> Library
<br>> libgdal-perl - Perl bindings to the Geospatial Data Abstraction Library
<br>> libgdal-ruby - vínculos Ruby para a biblioteca de abstração de dados
<br>> geoespaciais
<br>> libgdal-ruby1.8 - Ruby 1.8 bindings to the Geospatial Data Abstraction
<br>> Library
<br>> libgdal1-1.7.0-grass - Extensão GRASS para a biblioteca GDAL
<br>> libgdal1-dev - Geospatial Data Abstraction Library - Development files
<br>> python-gdal - Python bindings to the Geospatial Data Abstraction Library
<br>> qlandkartegt - Mapeamento GPS (GeoTiff e vectorial) e gestão de GPSr
<br>> libgdal1-1.7.0 - Geospatial Data Abstraction Library
<br>>
<br>>
<br>> Após atualizar o sistema e instalar essas bibliotecas o R reclama de umas
<br>> bibliotecas de C++ que são:
<br>>
<br>> checking proj_api.h usability... no
<br>> checking proj_api.h presence... no
<br>> checking for proj_api.h... no
<br>> Error: proj_api.h not found.
<br>>
<br>> Ver o erro abaixo:
<br>>
<br>>> install.packages("rgdal")
<br>> Installing package(s) into ‘/usr/local/lib/R/site-library’
<br>> (as ‘lib’ is unspecified)
<br>> tentando a URL
<br>> '<a href="http://www.vps.fmvz.usp.br/CRAN/src/contrib/rgdal_0.7-8.tar.gz'" rel="nofollow" link="external" target="_blank">http://www.vps.fmvz.usp.br/CRAN/src/contrib/rgdal_0.7-8.tar.gz'</a><br>> Content type 'application/x-gzip' length 1427851 bytes (1.4 Mb)
<br>> URL aberta
<br>> ==================================================
<br>> downloaded 1.4 Mb
<br>>
<br>> * installing *source* package ‘rgdal’ ...
<br>> ** package ‘rgdal’ successfully unpacked and MD5 sums checked
<br>> gdal-config: gdal-config
<br>> checking for gcc... gcc -std=gnu99
<br>> checking whether the C compiler works... yes
<br>> checking for C compiler default output file name... a.out
<br>> checking for suffix of executables...
<br>> checking whether we are cross compiling... no
<br>> checking for suffix of object files... o
<br>> checking whether we are using the GNU C compiler... yes
<br>> checking whether gcc -std=gnu99 accepts -g... yes
<br>> checking for gcc -std=gnu99 option to accept ISO C89... none needed
<br>> checking how to run the C preprocessor... gcc -std=gnu99 -E
<br>> checking for grep that handles long lines and -e... /bin/grep
<br>> checking for egrep... /bin/grep -E
<br>> checking for ANSI C header files... yes
<br>> checking for sys/types.h... yes
<br>> checking for sys/stat.h... yes
<br>> checking for stdlib.h... yes
<br>> checking for string.h... yes
<br>> checking for memory.h... yes
<br>> checking for strings.h... yes
<br>> checking for inttypes.h... yes
<br>> checking for stdint.h... yes
<br>> checking for unistd.h... yes
<br>> checking proj_api.h usability... no
<br>> checking proj_api.h presence... no
<br>> checking for proj_api.h... no
<br>> Error: proj_api.h not found.
<br>> If the PROJ.4 library is installed in a non-standard location,
<br>> use --configure-args='--with-proj-include=/opt/local/include'
<br>> for example, replacing /opt/local/* with appropriate values
<br>> for your installation. If PROJ.4 is not installed, install it.
<br>> ERROR: configuration failed for package ‘rgdal’
<br>> * removing ‘/usr/local/lib/R/site-library/rgdal’
<br>>
<br>> The downloaded packages are in
<br>> ‘/tmp/Rtmpae07aZ/downloaded_packages’
<br>> Mensagens de aviso perdidas:
<br>> In install.packages("rgdal") :
<br>> installation of package ‘rgdal’ had non-zero exit status
<br>>
<br>>
<br>> Em 14 de fevereiro de 2012 16:10, Leonard de Assis [via R-br]
<br></div></div>> <<a href="http://user/SendEmail.jtp?type=node&node=4388220&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>> escreveu:
<br><div><div class="h5">>>
<br>>> deve existir uma libgdal...-dev, essas libs fazem a diferença na hora de
<br>>> achar referencias quebradas
<br>>>
<br>>> []s
<br>>> Leonard de Assis
<br>>> assis <dot> leonard <at> gmail <dot> com
<br>>>
<br>>>
<br>>> Em 14/02/2012 16:56, Pedro Rafael escreveu:
<br>>>
<br>>> Mas desde o primeiro programa o gdal tá instalado. Estou no Ubuntu 11.10.
<br>>>
<br>>> root@tulio-dplan:/home/tulio/Área de trabalho/gdal-1.9.0# apt-get install
<br>>> gdal-bin
<br>>> Lendo listas de pacotes... Pronto
<br>>> Construindo árvore de dependências
<br>>> Lendo informação de estado... Pronto
<br>>> gdal-bin já é a versão mais nova.
<br>>> 0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e
<br>>> 17 não atualizados.
<br>>>
<br>>>
<br>>>
<br>>>
<br>>> Em 14 de fevereiro de 2012 15:48, Daniel C Bezerra [via R-br] <[hidden
<br>>> email]> escreveu:
<br>>>
<br>>>> Se vc estiver usando Ubuntu gdal está disponível nos repositórios. O
<br>>>> problema é que só vai funcionar se vc estiver rodando a última versão do
<br>>>> Ubuntu (11.10). Para versões anteriores vc tem que baixar do site mesmo.
<br>>>>
<br>>>> Abs,
<br>>>>
<br>>>> D
<br>>>>
<br>>>> 2012/2/14 Benilton Carvalho <[hidden email]>
<br>>>>
<br>>>>> o arquivo nao eh instalado pelo pacote...
<br>>>>>
<br>>>>> vc tem q ir no site <a href="http://www.gdal.org" target="_blank">www.gdal.org</a> (o mostrado na mensagem de erro) e
<br>>>>> instalar a biblioteca do sistema (isso eh independente do R) que vai
<br>>>>> estar disponivel la...
<br>>>>>
<br>>>>> depois de vc instalar a biblioteca GDAL, vc volta ao R e tenta
<br>>>>> instalar o pacote rgdal.
<br>>>>>
<br>>>>> b
<br>>>>>
<br>>>>> 2012/2/14 Pedro Rafael <[hidden email]>:
<br>>>>> > Eu abri o condigo fonte do pacote e o arquivo que ele reclama não está
<br>>>>> > dentro do pacote....Vou tentar ver como resolver o problema por aqui.
<br>>>>> >
<br>>>>> > Em 14 de fevereiro de 2012 15:26, beniltoncarvalho [via R-br]
<br>>>>> > <[hidden email]> escreveu:
<br>>>>> >>
<br>>>>> >> a msg de erro descreve nao ter encontrado o GDAL instalado (que ele
<br>>>>> >> checa via gdal-config)... dai' sugere:
<br>>>>> >>
<br>>>>> >> If you have not installed the GDAL libraries, you can
<br>>>>> >> download the source from <a href="http://www.gdal.org/" rel="nofollow" link="external" target="_blank">http://www.gdal.org/</a><br>>>>> >> If you have installed the GDAL libraries, then make sure that
<br>>>>> >> gdal-config is in your path. Try typing gdal-config at a
<br>>>>> >> shell prompt and see if it runs. If not, use:
<br>>>>> >> --configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
<br>>>>> >> with appropriate values for your installation.
<br>>>>> >>
<br>>>>> >>
<br>>>>> >> b
<br>>>>> >>
<br>>>>> >> 2012/2/14 Pedro Rafael <[hidden email]>:
<br>>>>> >>
<br>>>>> >> > Pessoal alguém sabe me informar como corrigir este problema na
<br>>>>> >> > instalação do pacote rgdal?
<br>>>>> >> >
<br>>>>> >> >> install.packages("rgdal")
<br>>>>> >> > Installing package(s) into ‘/usr/local/lib/R/site-library’
<br>>>>> >> > (as ‘lib’ is unspecified)
<br>>>>> >> > tentando a URL
<br>>>>> >> > '<a href="http://www.vps.fmvz.usp.br/CRAN/src/contrib/rgdal_0.7-8.tar.gz'" rel="nofollow" link="external" target="_blank">http://www.vps.fmvz.usp.br/CRAN/src/contrib/rgdal_0.7-8.tar.gz'</a><br>
>>>> >> > Content type 'application/x-gzip' length 1427851 bytes (1.4 Mb)
<br>>>>> >> > URL aberta
<br>>>>> >> > ==================================================
<br>>>>> >> > downloaded 1.4 Mb
<br>>>>> >> >
<br>>>>> >> >
<br>>>>> >> >
<br>>>>> >> >
<br>>>>> >> > * installing *source* package ‘rgdal’ ...
<br>>>>> >> > ** package ‘rgdal’ successfully unpacked and MD5 sums checked
<br>>>>> >> > gdal-config: gdal-config
<br>>>>> >> > ./configure: line 2013: gdal-config: command not found
<br>>>>> >> > Error: gdal-config not found
<br>>>>> >> > The gdal-config script distributed with GDAL could not be found.
<br>>>>> >> > If you have not installed the GDAL libraries, you can
<br>>>>> >> > download the source from <a href="http://www.gdal.org/" rel="nofollow" link="external" target="_blank">http://www.gdal.org/</a><br>>>>> >> > If you have installed the GDAL libraries, then make sure that
<br>>>>> >> > gdal-config is in your path. Try typing gdal-config at a
<br>>>>> >> > shell prompt and see if it runs. If not, use:
<br>>>>> >> > --configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
<br>>>>> >> > with appropriate values for your installation.
<br>>>>> >> >
<br>>>>> >> >
<br>>>>> >> > ERROR: configuration failed for package ‘rgdal’
<br>>>>> >> > * removing ‘/usr/local/lib/R/site-library/rgdal’
<br>>>>> >> >
<br>>>>> >> >
<br>>>>> >> > The downloaded packages are in
<br>>>>> >> > ‘/tmp/RtmpcOSraQ/downloaded_packages’
<br>>>>> >> > Mensagens de aviso perdidas:
<br>>>>> >> > In install.packages("rgdal") :
<br>>>>> >> > installation of package ‘rgdal’ had non-zero exit status
<br>>>>> >> >
<br>>>>> >> > --
<br>>>>> >> > Saudações,
<br>>>>> >> > Pedro Rafael Diniz Marinho.
<br>>>>> >> > Estatístico - Secretaria de Estado da Saúde - PB.
<br>>>>> >> > _______________________________________________
<br>>>>> >> > R-br mailing list
<br>>>>> >> > [hidden email]
<br>>>>> >> > <a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="nofollow" link="external" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>>>>> >> > Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="nofollow" link="external" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e
<br>>>>> >> > forneça
<br>>>>> >> > código mínimo reproduzível.
<br>>>>> >> _______________________________________________
<br>>>>> >> R-br mailing list
<br>>>>> >> [hidden email]
<br>>>>> >> <a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="nofollow" link="external" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>>>>> >> Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="nofollow" link="external" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça
<br>>>>> >> código mínimo reproduzível.
<br>>>>> >>
<br>>>>> >>
<br>>>>> >> ________________________________
<br>>>>> >> If you reply to this email, your message will be added to the
<br>>>>> >> discussion
<br>>>>> >> below:
<br>>>>> >>
<br>>>>> >>
<br>>>>> >> <a href="http://r-br.2285057.n4.nabble.com/R-br-Duvida-Problema-na-instalacao-rgdal-tp4387969p4387990.html" rel="nofollow" link="external" target="_blank">http://r-br.2285057.n4.nabble.com/R-br-Duvida-Problema-na-instalacao-rgdal-tp4387969p4387990.html</a><br>
>>>> >> To unsubscribe from R-br, click here.
<br>>>>> >> NAML
<br>>>>> >
<br>>>>> >
<br>>>>> >
<br>>>>> >
<br>>>>> > --
<br>>>>> > Saudações,
<br>>>>> > Pedro Rafael Diniz Marinho.
<br>>>>> > Estatístico - Secretaria de Estado da Saúde - PB.
<br>>>>> >
<br>>>>> >
<br>>>>> >
<br>>>>> > _______________________________________________
<br>>>>> > R-br mailing list
<br>>>>> > [hidden email]
<br>>>>> > <a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="nofollow" link="external" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>>>>> > Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="nofollow" link="external" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça
<br>>>>> > código
<br>>>>> > mínimo reproduzível.
<br>>>>> _______________________________________________
<br>>>>> R-br mailing list
<br>>>>> [hidden email]
<br>>>>> <a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="nofollow" link="external" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>>>>> Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="nofollow" link="external" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça
<br>>>>> código mínimo reproduzível.
<br>>>>
<br>>>>
<br>>>>
<br>>>> _______________________________________________
<br>>>> R-br mailing list
<br>>>> [hidden email]
<br>>>> <a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="nofollow" link="external" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>>>> Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="nofollow" link="external" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça
<br>>>> código mínimo reproduzível.
<br>>>>
<br>>>> ________________________________
<br>>>> If you reply to this email, your message will be added to the discussion
<br>>>> below:
<br>>>>
<br>>>> <a href="http://r-br.2285057.n4.nabble.com/R-br-Duvida-Problema-na-instalacao-rgdal-tp4387969p4388079.html" rel="nofollow" link="external" target="_blank">http://r-br.2285057.n4.nabble.com/R-br-Duvida-Problema-na-instalacao-rgdal-tp4387969p4388079.html</a><br>
>>> To unsubscribe from R-br, click here.
<br>>>> NAML
<br>>>
<br>>>
<br>>>
<br>>>
<br>>> --
<br>>> Saudações,
<br>>> Pedro Rafael Diniz Marinho.
<br>>> Estatístico - Secretaria de Estado da Saúde - PB.
<br>>>
<br>>>
<br>>>
<br>>>
<br>>> _______________________________________________
<br>>> R-br mailing list
<br>>> [hidden email]
<br>>> <a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="nofollow" link="external" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>>> Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="nofollow" link="external" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça
<br>>> código mínimo reproduzível.
<br>>>
<br>>>
<br>>> _______________________________________________
<br>>> R-br mailing list
<br>>> [hidden email]
<br>>> <a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="nofollow" link="external" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>>> Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="nofollow" link="external" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça
<br>>> código mínimo reproduzível.
<br>>>
<br>>> ________________________________
<br>>> If you reply to this email, your message will be added to the discussion
<br>>> below:
<br>>>
<br>>> <a href="http://r-br.2285057.n4.nabble.com/R-br-Duvida-Problema-na-instalacao-rgdal-tp4387969p4388170.html" rel="nofollow" link="external" target="_blank">http://r-br.2285057.n4.nabble.com/R-br-Duvida-Problema-na-instalacao-rgdal-tp4387969p4388170.html</a><br>
>> To unsubscribe from R-br, click here.
<br>>> NAML
<br>>
<br>>
<br>>
<br>>
<br>> --
<br>> Saudações,
<br>> Pedro Rafael Diniz Marinho.
<br>> Estatístico - Secretaria de Estado da Saúde - PB.
<br>>
<br>>
<br>>
<br>> _______________________________________________
<br>> R-br mailing list
<br>> <a href="http://user/SendEmail.jtp?type=node&node=4388220&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>> <a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="nofollow" link="external" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>> Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="nofollow" link="external" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código
<br>> mínimo reproduzível.
</div></div></div><div><div class="h5">_______________________________________________
<br>R-br mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4388220&i=3" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="nofollow" link="external" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" rel="nofollow" link="external" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.
<br>
<br>
<br>
<hr noshade size="1" color="#cccccc">
</div></div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div><div class="h5">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
</div></div><a href="http://r-br.2285057.n4.nabble.com/R-br-Duvida-Problema-na-instalacao-rgdal-tp4387969p4388220.html" target="_blank">http://r-br.2285057.n4.nabble.com/R-br-Duvida-Problema-na-instalacao-rgdal-tp4387969p4388220.html</a>
</div><div class="HOEnZb"><div class="h5">
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from R-br, <a href="http://r-br.2285057.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3357982&code=cGVkcm8ucmFmYWVsLm1hcmluaG9AZ21haWwuY29tfDMzNTc5ODJ8NTAyMjI0MDYw" target="_blank">click here</a>.<br>
<a href="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" rel="nofollow" style="font:9px serif" target="_blank">NAML</a>
</div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><font color="#000099">Saudações,</font><div><font color="#000099">Pedro Rafael Diniz Marinho.</font></div><div><font color="#000099">Estatístico - Secretaria de Estado da Saúde - PB.</font></div>
<div><font color="#000099"><br></font></div><br>