From P.Dalgaard at biostat.ku.dk  Tue Mar 10 11:52:48 2009
From: P.Dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Tue, 10 Mar 2009 11:52:48 +0100
Subject: [Rd] r-devel tarball build failure on windows
In-Reply-To: <49B61F7D.7020006@statistik.tu-dortmund.de>
References: <307b90470903100051j2992efcdt144d4e47ccce17fb@mail.gmail.com>
	<49B61F7D.7020006@statistik.tu-dortmund.de>
Message-ID: <49B64680.4070406@biostat.ku.dk>

Uwe Ligges wrote:
> 
> Hiroyuki Kawakatsu wrote:
>> Hi,
>>
>> On my windows (xp) machine with Rtools29 (excluding cygwin dlls as I
>> have cygwin on my path) -make all recommended- for the latest R-devel
>> tarball (svn revision: 48093) fails when trying to build the
>> recommended packages:
> 
> 
> 1. Have you asked make rsync-recommended before (i.e. are the packages
> actually there)?
> 
> 2. If so, please install the cygwin dlls and try to remove cygwin from
> your path. The may very well be some version conflicts in I cannot build
> R / R packages if a full cygwin installation is around.
> 
> Uwe Ligges

This bit apjaworski last week, but the naughty boy didn't include
R-devel in the discussion....

It boils down to problems with symlink handling. You unpack the tar file
and the .tgz links look like ordinary files with strange contents to
other tools.

The workaround is to run

make Rpwd.exe
make link-recommended

(or, maybe, to unpack with a different tar version, but I really don't
know).

> 
> 
>>
>> --- Making recommended packages
>>
>> ----- installing recommended package KernSmooth
>> Warning: invalid package 'KernSmooth.tgz'
>> Error: ERROR: no packages specified
>> make[1]: *** [KernSmooth.ts] Error 1
>> make: *** [recommended] Error 2
>>
>> Looking at R_HOME/src/library/Recommended shows that none of the
>> timestamp files .ts are generated(?) in that directory. If I manually
>> create the empty timestamp files, build completes but -make check-
>> failed. I suspect something with my build tools is not right but what
>> could that be?
>>
>> h.
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


-- 
   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



[Rd] r-devel tarball build failure on windows
Peter Dalgaard