[R] install R 2.1.0 patched from source on FC3

Peter Dalgaard p.dalgaard at biostat.ku.dk
Mon Jun 13 18:41:58 CEST 2005


Weiwei Shi <helprhelp at gmail.com> writes:

> Hi,
> 
> I got an error message when I run make install:
> 
> /usr/bin/install: cannot stat `index.html': No such file or directory
> make[2]: *** [install] Error 1
> 
> the full description as below:
> 
> [root at banana R-patched]# make install
> make[1]: Entering directory `/root/dls/R-patched/m4'
> make[1]: Nothing to be done for `install'.
> make[1]: Leaving directory `/root/dls/R-patched/m4'
> make[1]: Entering directory `/root/dls/R-patched/tools'
> make[1]: Nothing to be done for `install'.
> make[1]: Leaving directory `/root/dls/R-patched/tools'
> make[1]: Entering directory `/root/dls/R-patched/doc'
> installing doc ...
> make[2]: Entering directory `/root/dls/R-patched/doc/html'
> installing doc/html ...
> /usr/bin/install: cannot stat `index.html': No such file or directory
> make[2]: *** [install] Error 1
> make[2]: Leaving directory `/root/dls/R-patched/doc/html'
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/root/dls/R-patched/doc'
> make: *** [install] Error 1
> 
> 
> when I run configure, I got two warnings, is it the cause the problem
> in make install?
> 
> R is now configured for i686-pc-linux-gnu
> 
>   Source directory:          .
>   Installation directory:    /usr/lib/R
> 
>   C compiler:                gcc  -g -O2
>   C++ compiler:              g++  -g -O2
>   Fortran compiler:          g77  -g -O2
> 
>   Interfaces supported:      X11
>   External libraries:        readline, BLAS(generic)
>   Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
>   Options enabled:           shared library, R profiling
> 
>   Recommended packages:      yes
> 
> configure: WARNING: you cannot build DVI versions of the R manuals
> configure: WARNING: you cannot build PDF versions of the R manuals

Yes. You cannot install without having built those, so you need to
install the texinfo tools. Specifically

[pd at titmouse BUILD]$ rpm -q texinfo
texinfo-4.8-2.1


 
> 
> On 13 Jun 2005 18:04:22 +0200, Peter Dalgaard <p.dalgaard at biostat.ku.dk> wrote:
> > Weiwei Shi <helprhelp at gmail.com> writes:
> > 
> > > Hi,
> > > I have some problem when I tried to install R from source:
> > > work as root
> > > cd /root/dls/R-patched         # this is where I unzip the file:
> > > R-patched_2005-06-08.tar.gz
> > > make clean
> > >
> > > # i need my R_HOME=/usr/lib/R and I need to create libR.so for
> > > RSPython, so I did:
> > > ./configure --prefix=/usr/lib/R --enable-R-shlib
> > > make
> > >
> > > But I found the R is built in /root/dls/R-patched/bin instead of /usr/lib/R/bin
> > >
> > > Did I miss something here?
> > 
> > Yes.
> > 
> > make install
> > 
> > --
> >    O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
> >   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
> >  (*) \(*) -- University of Copenhagen   Denmark          Ph: (+45) 35327918
> > ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907
> > 
> 
> 
> -- 
> Weiwei Shi, Ph.D
> 
> "Did you always know?"
> "No, I did not. But I believed..."
> ---Matrix III
> 

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907




More information about the R-help mailing list