[R] R Installation in Ubuntu 5.04 [Hoardy Hedgehog]

Andris Jankevics andza at osi.lv
Fri Mar 10 11:54:07 CET 2006


You have to install Xserver (x.org or XFree86) devel packages before 
compiling.

On Piektdiena, 10. Marts 2006 17:31, M Senthil Kumar wrote:
> Hello there,
>
> I had been learning to use R for some time and I am trying to install it
> on Ubuntu 5.04 Linux. I downloaded the tarball, there was some problem
> with the installation. Perhaps someone who faced similar problems might
> help me.
>
> I downloaded the latest release R Version 2.2.1 from their website.
>
> I did:
> $ tar -xzvf R-2.2.1.tar.gz
>
> then:
>
> $ cd R-2.2.1/
>
> followed by:
>
> $./configure
>
> There were no error messages at this point.
>
> then:
> sudo make
>
> which gave the following:
>
> make[1]: Entering directory `/home/senthil/R-2.2.1/m4'
> make[1]: Nothing to be done for `R'.
> make[1]: Leaving directory `/home/senthil/R-2.2.1/m4'
> make[1]: Entering directory `/home/senthil/R-2.2.1/tools'
> make[1]: Nothing to be done for `R'.
> make[1]: Leaving directory `/home/senthil/R-2.2.1/tools'
> make[1]: Entering directory `/home/senthil/R-2.2.1/doc'
> make[2]: Entering directory `/home/senthil/R-2.2.1/doc/html'
> make[3]: Entering directory `/home/senthil/R-2.2.1/doc/html/search'
> make[3]: Leaving directory `/home/senthil/R-2.2.1/doc/html/search'
> make[2]: Leaving directory `/home/senthil/R-2.2.1/doc/html'
> make[2]: Entering directory `/home/senthil/R-2.2.1/doc/manual'
> make[2]: Nothing to be done for `R'.
> make[2]: Leaving directory `/home/senthil/R-2.2.1/doc/manual'
> make[1]: Leaving directory `/home/senthil/R-2.2.1/doc'
> make[1]: Entering directory `/home/senthil/R-2.2.1/etc'
> make[1]: Leaving directory `/home/senthil/R-2.2.1/etc'
> make[1]: Entering directory `/home/senthil/R-2.2.1/share'
> make[1]: Leaving directory `/home/senthil/R-2.2.1/share'
> .
> .
> .
> .
> .
> g77   -g -O2 -c xxxpr.f -o xxxpr.o
> gcc -Wl,--export-dynamic -L/usr/local/lib -o R.bin  Rmain.o  CConverters.o
> CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o
> array.o attrib.o base.o bind.o builtin.o character.o coerce.o colors.o
> complex.o connections.o context.o cov.o cum.o dcf.o datetime.o debug.o
> deparse.o deriv.o dotcode.o dounzip.o dstruct.o duplicate.o engine.o
> envir.o errors.o eval.o format.o fourier.o gevents.o gram.o gram-ex.o
> graphics.o identical.o internet.o iosupport.o lapack.o list.o logic.o
> main.o mapply.o match.o memory.o model.o names.o objects.o optim.o
> optimize.o options.o par.o paste.o pcre.o platform.o plot.o plot3d.o
> plotmath.o print.o printarray.o printvector.o printutils.o qsort.o
> random.o regex.o registration.o relop.o saveload.o scan.o seq.o
> serialize.o size.o sort.o source.o split.o sprintf.o startup.o subassign.o
> subscript.o subset.o summary.o sysutils.o unique.o util.o version.o
> vfonts.o xxxpr.o ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a
> -lg2c -lm -lgcc_s  ../extra/zlib/libz.a ../extra/bzip2/libbz2.a
> ../extra/pcre/libpcre.a  -lreadline  -ldl -lm
> make[4]: Entering directory `/home/senthil/R-2.2.1/src/main'
> /home/senthil/R-2.2.1/bin/exec/R is unchanged
> make[4]: Leaving directory `/home/senthil/R-2.2.1/src/main'
> make[3]: Leaving directory `/home/senthil/R-2.2.1/src/main'
> make[2]: Leaving directory `/home/senthil/R-2.2.1/src/main'
> make[2]: Entering directory `/home/senthil/R-2.2.1/src/modules'
> make[3]: Entering directory `/home/senthil/R-2.2.1/src/modules/X11'
> make[4]: Entering directory `/home/senthil/R-2.2.1/src/modules/X11'
> making dataentry.d from dataentry.c
> making devX11.d from devX11.c
> making rotated.d from rotated.c
> making rbitmap.d from rbitmap.c
> make[4]: Leaving directory `/home/senthil/R-2.2.1/src/modules/X11'
> make[4]: Entering directory `/home/senthil/R-2.2.1/src/modules/X11'
> gcc -I. -I../../../src/include -I../../../src/include -I/usr/X11R6/include
> -I/usr/local/include -DHAVE_CONFIG_H  -fPIC  -g -O2 -c dataentry.c -o
> dataentry.lo
> gcc -I. -I../../../src/include -I../../../src/include -I/usr/X11R6/include
> -I/usr/local/include -DHAVE_CONFIG_H  -fPIC  -g -O2 -c devX11.c -o
> devX11.lo
> devX11.c:45:74: X11/Intrinsic.h: No such file or directory
> In file included from devX11.c:68:
> devX11.h:57:74: X11/Intrinsic.h: No such file or directory
> make[4]: *** [devX11.lo] Error 1
> make[4]: Leaving directory `/home/senthil/R-2.2.1/src/modules/X11'
> make[3]: *** [R] Error 2
> make[3]: Leaving directory `/home/senthil/R-2.2.1/src/modules/X11'
> make[2]: *** [R] Error 1
> make[2]: Leaving directory `/home/senthil/R-2.2.1/src/modules'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/home/senthil/R-2.2.1/src'
> make: *** [R] Error 1
>
> I don't know if this is the right place to ask for help. But i tried
> googling with the above error message and it did not even fetch a single
> page.
>
> Thanks in advance,
>
> Senthil
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list