[R-br] falha na instalação pacote maps no ubuntu

Daniel C Bezerra danielcbezerra em gmail.com
Terça Fevereiro 14 14:57:12 BRST 2012


Rode no terminal:

sudo apt-get build-dep r-cran-maps

E depois tente instalar novamente.

Abs,

D
2012/2/14 Adriano S. Melo <asm.adrimelo em gmail.com>

> Prezados colegas,
> Não estou conseguindo instalar o pacote 'maps'. Uso ubuntu 10.04 e R
> 2.14.1.
>
> Consigo instalar outros pacotes normalmente, mas não o 'maps'.
> 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.
> Fico grato por qualquer ajuda.
> Abraços,
> Adriano S. Melo
> Dep. Ecologia - UFG
>
> install.packages('maps')
> Installing package(s) into ‘/home/aa/R/i486-pc-linux-gnu-library/2.14’
> (as ‘lib’ is unspecified)
> --- Please select a CRAN mirror for use in this session ---
> Carregando a interface Tcl/Tk ... pronto
> tentando a URL '
> http://www.vps.fmvz.usp.br/CRAN/src/contrib/maps_2.2-5.tar.gz'
> Content type 'application/x-gzip' length 1428846 bytes (1.4 Mb)
> URL aberta
> ==================================================
> downloaded 1.4 Mb
>
> * installing *source* package ‘maps’ ...
> ** package ‘maps’ successfully unpacked and MD5 sums checked
> ** libs
> ** arch -
> gcc -std=gnu99 -g -O2    Gmake.c   -o Gmake
> gcc -std=gnu99 -g -O2    Lmake.c   -o Lmake
> Converting world to world2
> f convert.awk < world.line > world2.line
> /bin/bash: f: comando não encontrado
> make: [world2.line] Erro 127 (ignorado)
> make county.L state.L usa.L nz.L world.L world2.L italy.L france.L
> state.vbm.L state.carto.L
> make[1]: Entrando no diretório
> `/tmp/RtmpOHSZmi/R.INSTALL79b85cf8d6ef/maps/src'
> ./Lmake 0 s b county.line county.linestats ../inst/mapdata/county.L
> ./Lmake 0 s b state.line state.linestats ../inst/mapdata/state.L
> ./Lmake 0 s b usa.line usa.linestats ../inst/mapdata/usa.L
> ./Lmake 0 s b nz.line nz.linestats ../inst/mapdata/nz.L
> ./Lmake 0 s b world.line world.linestats ../inst/mapdata/world.L
> ./Lmake 0 s b world2.line world2.linestats ../inst/mapdata/world2.L
> Cannot read left and right at line 1
> make[1]: ** [world2.L] Erro 1
> make[1]: Saindo do diretório
> `/tmp/RtmpOHSZmi/R.INSTALL79b85cf8d6ef/maps/src'
> make: ** [ldata] Erro 2
> ERROR: compilation failed for package ‘maps’
> * removing ‘/home/aa/R/i486-pc-linux-gnu-library/2.14/maps’
>
> The downloaded packages are in
> ‘/tmp/RtmpSDbTyV/downloaded_packages’
> Mensagens de aviso perdidas:
> In install.packages("maps") :
>   installation of package ‘maps’ had non-zero exit status
>
>
>
> _______________________________________________
> 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.
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.inf.ufpr.br/pipermail/r-br/attachments/20120214/24dbe5f8/attachment.html>


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