Re: [R] install R 2.1.0 patched from source on FC3

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Tue 14 Jun 2005 - 02:41:58 EST

Weiwei Shi <helprhelp@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@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@titmouse BUILD]$ rpm -q texinfo
texinfo-4.8-2.1  

>
> On 13 Jun 2005 18:04:22 +0200, Peter Dalgaard <p.dalgaard@biostat.ku.dk> wrote:
> > Weiwei Shi <helprhelp@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@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@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@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
Received on Tue Jun 14 02:47:22 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:33 EST