[R-br] Erro na instalação do R-2.15.0 no Ubuntu 14.04

ASANTOS alexandresantosbr em yahoo.com.br
Quinta Novembro 20 19:06:21 BRST 2014


Obrigado Fernando, mas não funcionou,

            Instalei a lista de pacotes que me passou, mas na hora de 
fazer ./configure deu um erro: erro no --with-x=yes (default) and X11 
headers/libs are not available
            Então vi que esse erro esta associado a falta de xorg-dev, 
então no terminal fiz:

sudo apt-get install xorg-dev

e fiz:

./configure
make

        Aparentemente instalou, mas quando fiz:

make check

 >
 > attr(,"class")
 > [1] "DependsList" "list"
Testing examples for package ‘utils’
Testing examples for package ‘grDevices’
Error: testing 'grDevices' failed
Execution halted
make[3]: ** [test-Examples-Base] Erro 1
make[3]: Saindo do diretório 
`/home/santosa/Documentos/R-2.15.0/tests/Examples'
make[2]: ** [test-Examples] Erro 2
make[2]: Saindo do diretório `/home/santosa/Documentos/R-2.15.0/tests'
make[1]: ** [test-all-basics] Erro 1
make[1]: Saindo do diretório `/home/santosa/Documentos/R-2.15.0/tests'
make: ** [check] Erro 2
santosa em santosa-K43E:~/Documentos/R-2.15.0$

           Deu esse Erro 2 e quando tentava abrir o R no terminal, não 
funcionava, dava a mensagem:

santosa em santosa-K43E:~$ R
O programa 'R' não está instalado no momento. Você pode instalá-lo 
digitando:
sudo apt-get install r-base-core


             E agora não sei o que mais tentar, obrigado,

Alexandre


On 20/11/2014 15:38, Fernando Mayer wrote:
> Antes de mais nada, tente instalar esses pacotes primeiro:
>
> sudo apt-get install -y build-essential gobjc gobjc++ \
> gobjc-multilib gobjc++-multilib gfortran-multilib \
> gcc-multilib g++-multilib automake autoconf gawk \
> openmpi-common openmpi-checkpoint libopenmpi1.6 libopenmpi-dev \
> libsprng2 libsprng2-dev pvm pvm-dev unixodbc unixodbc-bin \
> gdal-bin libgdal1-dev libproj-dev
>
>
> Depois configure e rode o make. Se der erro poste aqui novamente.
>
>
>
> ---
> Fernando de Pol Mayer
> Laboratório de Estatística Ambiental - LEA
> Instituto de Matemática, Estatística e Física - IMEF
> Universidade Federal do Rio Grande - FURG
> URL: http://fernandomayer.github.io
> e-mail: fernando.mayer [@] {gmail.com <http://gmail.com>, furg.br 
> <http://furg.br>}
>
> On Thu, Nov 20, 2014 at 3:08 PM, ASANTOS 
> <alexandresantosbr em yahoo.com.br 
> <mailto:alexandresantosbr em yahoo.com.br>> wrote:
>
>     Boa tarde Pessoal,
>
>                    Por motivos de pacotes que os autores não passaram
>     para R3.0, no ubuntu 14.04 utilizo o R-2.15.0, no entanto,
>     precisei formatar o computador e tentando instalar novamente o
>     R-2.15.0, abaixado no com o arquivo R-2.15.0.tar.gz, não funciona,
>     sendo que após a descompactação do arquivo, na pasta criada que
>     fiz os passos:
>
>     santosa em santosa-K43E:~$ cd Documentos
>     santosa em santosa-K43E:~/Documentos$ cd R-2.15.0
>     santosa em santosa-K43E:~/Documentos/R-2.15.0$ ./configure
>     santosa em santosa-K43E:~/Documentos/R-2.15.0$ make install
>
>
>                      E recebi o erro no checking: configure: error: No
>     F77 compiler found e quando tentei fazer o make install
>     :santosa em santosa-K43E:~/Documentos/R-2.15.0$ make install
>     make: *** Sem regra para processar o alvo `install'.  Pare.
>
>                       Alguém sabe se existe alguma incompatibilidade
>     entre o R-2.15.0 e o ubuntu 14.04 ou estou fazendo algo errado?
>     Obrigado, segue uma lista do resultado completo com vários no que
>     recebi no processo de checking usando ./configure:
>
>     santosa em santosa-K43E:~$ cd Documentos
>     santosa em santosa-K43E:~/Documentos$ cd R-2.15.0
>     santosa em santosa-K43E:~/Documentos/R-2.15.0$ ./configure
>     checking build system type... i686-pc-linux-gnu
>     checking host system type... i686-pc-linux-gnu
>     loading site script './config.site'
>     loading build-specific script './config.site'
>     checking for pwd... /bin/pwd
>     checking whether builddir is srcdir... yes
>     checking for working aclocal... missing
>     checking for working autoconf... missing
>     checking for working automake... missing
>     checking for working autoheader... missing
>     checking for gawk... no
>     checking for mawk... mawk
>     checking whether ln -s works... yes
>     checking for bison... no
>     checking for byacc... no
>     checking for ar... ar
>     checking for a BSD-compatible install... /usr/bin/install -c
>     checking for sed... /bin/sed
>     checking for which... /usr/bin/which
>     checking for less... /usr/bin/less
>     checking for gtar... no
>     checking for gnutar... no
>     checking for tar... /bin/tar
>     checking for tex... no
>     checking for pdftex... no
>     configure: WARNING: you cannot build PDF versions of the R manuals
>     checking for pdflatex... no
>     configure: WARNING: you cannot build PDF versions of vignettes and
>     help pages
>     checking for makeindex... no
>     checking for makeinfo... no
>     configure: WARNING: you cannot build info or HTML versions of the
>     R manuals
>     checking for texi2dvi... no
>     checking for kpsewhich... no
>     checking for unzip... /usr/bin/unzip
>     checking for zip... /usr/bin/zip
>     checking for gzip... /bin/gzip
>     checking for bzip2... /bin/bzip2
>     checking for firefox... /usr/bin/firefox
>     using default browser ... /usr/bin/firefox
>     checking for acroread... no
>     checking for acroread4... no
>     checking for xdg-open... /usr/bin/xdg-open
>     checking for notangle... false
>     checking for pkg-config... /usr/bin/pkg-config
>     checking for gcc... gcc
>     checking whether the C compiler works... yes
>     checking for C compiler default output file name... a.out
>     checking for suffix of executables...
>     checking whether we are cross compiling... no
>     checking for suffix of object files... o
>     checking whether we are using the GNU C compiler... yes
>     checking whether gcc accepts -g... yes
>     checking for gcc option to accept ISO C89... none needed
>     checking how to run the C preprocessor... gcc -E
>     checking for grep that handles long lines and -e... /bin/grep
>     checking for egrep... /bin/grep -E
>     checking whether gcc needs -traditional... no
>     checking how to run the C preprocessor... gcc -E
>     checking for gfortran... no
>     checking for f95... no
>     checking for fort... no
>     checking for xlf95... no
>     checking for ifort... no
>     checking for ifc... no
>     checking for efc... no
>     checking for pgf95... no
>     checking for lf95... no
>     checking for gfortran... no
>     checking for ftn... no
>     checking for g95... no
>     checking for f90... no
>     checking for xlf90... no
>     checking for pgf90... no
>     checking for pghpf... no
>     checking for epcf90... no
>     checking for g77... no
>     checking for f77... no
>     checking for xlf... no
>     checking for frt... no
>     checking for pgf77... no
>     checking for cf77... no
>     checking for fort77... no
>     checking for fl32... no
>     checking for af77... no
>     checking for fc... no
>     configure: error: No F77 compiler found
>     santosa em santosa-K43E:~/Documentos/R-2.15.0$ make install
>     make: *** Sem regra para processar o alvo `install'.  Pare.
>
>     -- 
>     ======================================================================
>     Alexandre dos Santos
>     Proteção Florestal
>     IFMT - Instituto Federal de Educação, Ciência e Tecnologia de Mato
>     Grosso
>     Campus Cáceres
>     Caixa Postal 244
>     Avenida dos Ramires, s/n
>     Bairro: Distrito Industrial
>     Cáceres - MT                      CEP: 78.200-000
>     Fone: (+55) 65 8132-8112 <tel:%28%2B55%29%2065%208132-8112> (TIM)
>     (+55) 65 9686-6970 <tel:%28%2B55%29%2065%209686-6970> (VIVO)
>     e-mails:alexandresantosbr em yahoo.com.br
>     <mailto:e-mails%3Aalexandresantosbr em yahoo.com.br>
>     alexandre.santos em cas.ifmt.edu.br
>     <mailto:alexandre.santos em cas.ifmt.edu.br>
>     Lattes: http://lattes.cnpq.br/1360403201088680
>     ======================================================================
>
>
>     ---
>     Este email foi escaneado pelo Avast antivírus.
>     http://www.avast.com
>
>     _______________________________________________
>     R-br mailing list
>     R-br em listas.c3sl.ufpr.br <mailto: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.
>
>
>
>
> _______________________________________________
> 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.

-- 
======================================================================
Alexandre dos Santos
Proteção Florestal
IFMT - Instituto Federal de Educação, Ciência e Tecnologia de Mato Grosso
Campus Cáceres
Caixa Postal 244
Avenida dos Ramires, s/n
Bairro: Distrito Industrial
Cáceres - MT                      CEP: 78.200-000
Fone: (+55) 65 8132-8112 (TIM)   (+55) 65 9686-6970 (VIVO)
e-mails:alexandresantosbr em yahoo.com.br
         alexandre.santos em cas.ifmt.edu.br
Lattes: http://lattes.cnpq.br/1360403201088680
======================================================================



---
Este email foi escaneado pelo Avast antivírus.
http://www.avast.com
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.inf.ufpr.br/pipermail/r-br/attachments/20141120/00e3f06f/attachment.html>


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