From pdalgd at gmail.com  Sun Mar  6 09:27:22 2016
From: pdalgd at gmail.com (peter dalgaard)
Date: Sun, 6 Mar 2016 09:27:22 +0100
Subject: [Rd] Problem installing R-devel dated 4 March 2016.
In-Reply-To: <56DBA9DE.6090906@auckland.ac.nz>
References: <56DA45FB.7050807@auckland.ac.nz>
	<0FE01F30-ED12-475E-88F8-FFF67C610493@gmail.com>
	<56DBA9DE.6090906@auckland.ac.nz>
Message-ID: <560BB72C-86F2-4062-8E7F-481B4E9C02C8@gmail.com>

Hm, we'll likely never find out. It looks a bit like a race condition or a Makefile deficiency in which some dependencies are not explicitly recorded (so that it tries to copy files before they have been made). I suppose that could happen if you try "make install" w/o a preceding "make". 

-pd

> On 06 Mar 2016, at 04:54 , Rolf Turner <r.turner at auckland.ac.nz> wrote:
> 
> 
> Thanks Peter.  I tried running the uninstalled R; it worked.  I checked on the existence of FAQ, etc. --- yep everything was there.  I don't know about over-zealous virus checkers; I haven't overtly installed any such.
> 
> So, mystified, I started all over again from scratch.  This time it worked; seamlessly.
> 
> Totally mysterious.  Story of my life.  Be that as it were, all systems are go now, and my package checking was successful.
> 
> Sorry for the noise.
> 
> cheers,
> 
> Rolf
> 
> -- 
> Technical Editor ANZJS
> Department of Statistics
> University of Auckland
> Phone: +64-9-373-7599 ext. 88276
> 
> On 06/03/16 03:10, peter dalgaard wrote:
>> 
>>> On 05 Mar 2016, at 03:35 , Rolf Turner <r.turner at auckland.ac.nz> wrote:
>>> 
>>> 
>>> I am trying to install the latest development version of R so as to be able to perform a package check according the rules specified for CRAN.
>>> 
>>> I performed the following steps:
>>> 
>>> (1) Downloaded  R-devel.tar.gz, dated 04-Mar-2016 03:21, from CRAN
>>> (2) Upacked.
>>> (3) Created directory "BldDir" next to the directory "R-devel".
>>> (4) Changed directories to BldDir.
>>> (5) Executed  ../R-devel/configure --with-tcltk --with-cairo .
>>> (6) Executed make .
>>> (7) Executed sudo make install .
>>> 
>>> I got the error messages:
>>>  .
>>>  .
>>>  .
>>>> mkdir -p -- /usr/local/lib64/R/doc
>>>> /usr/bin/install: cannot stat `FAQ': No such file or directory
>>>> /usr/bin/install: cannot stat `RESOURCES': No such file or directory
>>>> /usr/bin/install: cannot stat `NEWS': No such file or directory
>>>> /usr/bin/install: cannot stat `NEWS.pdf': No such file or directory
>>>> /usr/bin/install: cannot stat `NEWS.rds': No such file or directory
>>>> /usr/bin/install: cannot stat `NEWS': No such file or directory
>>>> /usr/bin/install: cannot stat `NEWS.pdf': No such file or directory
>>>> make[1]: *** [install-sources2] Error 1
>>>> make[1]: Leaving directory `/home/rolf/Desktop/R-dev-inst/BldDir/doc'
>>>> make: *** [install] Error 1
>>> 
>>> Can someone/anyone tell me what I am missing or doing wrong?
>>> 
>> 
>> Beats me. & I just checked that make install works on my system (usually, I just run test versions out of their build dirs).
>> 
>> You might check a couple of things though:
>> 
>> - does ~/Desktop/R-dev-inst/BldDir/bin/R work?
>> - does ~/Desktop/R-dev-inst/BldDir/doc/FAQ et al. actually exist?
>> - is there an overzealous virus checker active (those have been known to move fresh files to "safe locations" right under peoples feet...)
>> 
>> -pd
>> 
>> 
>>> Ta.
> 
> 
> 

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



[Rd] Problem installing R-devel dated 4 March 2016.
peter dalgaard