Rode no terminal:<div><br></div><div>sudo apt-get build-dep r-cran-maps<br><br>E depois tente instalar novamente.<br><br>Abs,</div><div><br></div><div>D<br><div class="gmail_quote">2012/2/14 Adriano S. Melo <span dir="ltr"><<a href="mailto:asm.adrimelo@gmail.com">asm.adrimelo@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Prezados colegas,<div>Não estou conseguindo instalar o pacote 'maps'. Uso ubuntu 10.04 e R 2.14.1.</div><div><br>

</div><div>Consigo instalar outros pacotes normalmente, mas não o 'maps'.</div><div>Já tentei baixar os arquivos manualmente (inclusive de versões anteriores), mas sempre tenho erro, aparentemente na compilação. A mensagem de erro segue abaixo.</div>



<div>Fico grato por qualquer ajuda.</div><div>Abraços,</div><div>Adriano S. Melo</div><div>Dep. Ecologia - UFG</div><div><br></div><div><div>install.packages('maps')</div><div>Installing package(s) into ‘/home/aa/R/i486-pc-linux-gnu-library/2.14’</div>



<div>(as ‘lib’ is unspecified)</div><div>--- Please select a CRAN mirror for use in this session ---</div><div>Carregando a interface Tcl/Tk ... pronto</div><div>tentando a URL '<a href="http://www.vps.fmvz.usp.br/CRAN/src/contrib/maps_2.2-5.tar.gz" target="_blank">http://www.vps.fmvz.usp.br/CRAN/src/contrib/maps_2.2-5.tar.gz</a>'</div>



<div>Content type 'application/x-gzip' length 1428846 bytes (1.4 Mb)</div><div>URL aberta</div><div>==================================================</div><div>downloaded 1.4 Mb</div><div><br></div><div>* installing *source* package ‘maps’ ...</div>



<div>** package ‘maps’ successfully unpacked and MD5 sums checked</div><div>** libs</div><div>** arch - </div><div>gcc -std=gnu99 -g -O2    Gmake.c   -o Gmake</div><div>gcc -std=gnu99 -g -O2    Lmake.c   -o Lmake</div><div>



Converting world to world2</div><div>f convert.awk < world.line > world2.line</div><div>/bin/bash: f: comando não encontrado</div><div>make: [world2.line] Erro 127 (ignorado)</div><div>make county.L state.L usa.L nz.L world.L world2.L italy.L france.L state.vbm.L state.carto.L</div>



<div>make[1]: Entrando no diretório `/tmp/RtmpOHSZmi/R.INSTALL79b85cf8d6ef/maps/src'</div><div>./Lmake 0 s b county.line county.linestats ../inst/mapdata/county.L</div><div>./Lmake 0 s b state.line state.linestats ../inst/mapdata/state.L</div>



<div>./Lmake 0 s b usa.line usa.linestats ../inst/mapdata/usa.L</div><div>./Lmake 0 s b nz.line nz.linestats ../inst/mapdata/nz.L</div><div>./Lmake 0 s b world.line world.linestats ../inst/mapdata/world.L</div><div>./Lmake 0 s b world2.line world2.linestats ../inst/mapdata/world2.L</div>



<div>Cannot read left and right at line 1</div><div>make[1]: ** [world2.L] Erro 1</div><div>make[1]: Saindo do diretório `/tmp/RtmpOHSZmi/R.INSTALL79b85cf8d6ef/maps/src'</div><div>make: ** [ldata] Erro 2</div><div>ERROR: compilation failed for package ‘maps’</div>



<div>* removing ‘/home/aa/R/i486-pc-linux-gnu-library/2.14/maps’</div><div><br></div><div>The downloaded packages are in</div><div><span style="white-space:pre-wrap">  </span>‘/tmp/RtmpSDbTyV/downloaded_packages’</div>

<div>Mensagens de aviso perdidas:</div><div>In install.packages("maps") :</div><div>  installation of package ‘maps’ had non-zero exit status</div></div><div><br></div><div><br></div>
<br>_______________________________________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" 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" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div><br></div>