From murdoch at stats.uwo.ca  Sun Jul  3 20:55:51 2005
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Sun, 03 Jul 2005 14:55:51 -0400
Subject: [Rd] Building R v2.1.1 for Windows
In-Reply-To: <42C72C70.3060107@univie.ac.at>
References: <42C00F6D.3070109@maths.lth.se> <42C72C70.3060107@univie.ac.at>
Message-ID: <42C834B7.50306@stats.uwo.ca>

Erich Neuwirth wrote:
> Recently, I notice strange things when I try to build R 2.1.1 on Windows XP.
> I downloaded and unpacked. R-2.1.1.tar.gz.
> All the tools are in place.
> 
> I get as far as building the installer, and then the following happens:
> 
> perl JRins.pl rw2011 rw2011
> "C:/Program Files/Inno Setup 5/iscc" R.iss > rw2011.log 2>&1
> make[2]: Leaving directory
> `/cygdrive/c/devel/R/R-2.1.1/src/gnuwin32/installer'
> make[2]: Entering directory
> `/cygdrive/c/devel/R/R-2.1.1/src/gnuwin32/installer'
> 
> rm -rf R.iss Rsmall.iss *.log rw2011
> rm: cannot remove directory `rw2011/library/base/html': Directory not empty
> rm: cannot remove directory `rw2011/library/tcltk/Meta': Directory not empty
> make[2]: *** [clean] Error 1
> make[2]: Leaving directory
> `/cygdrive/c/devel/R/R-2.1.1/src/gnuwin32/installer'
> make[1]: *** [rinstaller] Error 2
> make[1]: Leaving directory `/cygdrive/c/devel/R/R-2.1.1/src/gnuwin32'
> make: *** [distribution] Error 2
> 
> Looking into the two supposedly nonempty directories
> I see that in fact that are empty.
> Of course, I only can look a little bit later, so this might be a timing
> issue.
> Has anyone experienced similar problems?
> This effect is somewhat random. The supposedly nonempty directories
> change from build attempt to build attempt.
> 
> So far, this has not happened when I build R-patched and R-devel which
> I update from SVN.

I haven't seen that error so far during an R build, but I believe you'll 
get it if the directory is busy because it is the current directory for 
some process.  Did you have another window open that was looking at it?

Duncan Murdoch



[Rd] Building R v2.1.1 for Windows
Duncan Murdoch