From ripley at stats.ox.ac.uk  Tue Mar 10 19:18:36 2009
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 10 Mar 2009 18:18:36 +0000 (GMT)
Subject: [Rd] r-devel tarball build failure on windows
In-Reply-To: <307b90470903101000l4a4d9d49rfc3b84767ab6abc5@mail.gmail.com>
References: <307b90470903100051j2992efcdt144d4e47ccce17fb@mail.gmail.com>
	<49B61F7D.7020006@statistik.tu-dortmund.de>
	<49B64680.4070406@biostat.ku.dk>
	<49B67512.6060309@statistik.tu-dortmund.de>
	<307b90470903101000l4a4d9d49rfc3b84767ab6abc5@mail.gmail.com>
Message-ID: <alpine.LFD.2.00.0903101809060.25625@gannet.stats.ox.ac.uk>

This is another of those things which is not yet finished (you will 
see mention of the removed cross-building scripts in the relevant 
Makefile.win).

Expect it to work from the tarball before GFF in 10 day's time.

There's another intermittent problem with dependencies in the current 
sources that I will commit a fix for shortly.

Geberally, you should not necessarily expect R to build on Windows 
from snapshots tarballs prior to GFF: use svn+rsync (as that is what 
the developers use).

On Tue, 10 Mar 2009, Hiroyuki Kawakatsu wrote:

> On 3/10/09, Uwe Ligges wrote:
>>
>>  Peter Dalgaard wrote:
>>
>>> 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)?
>
>
> No, I did not run make rsync-recommended. I never had to before when
> building from a tarball. And, yes, the packages were there (both
> .tar.gz and .tgz but not .ts). But as Peter points out below, the
> symlinks were probably corrupted.
>
>
>>>> 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.
>
>
> I did install them but they looked identical to the ones I have from
> cygwin. So I removed them before building.
>
>
>>>> 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).
>
>
> Many thanks for this. Once I run these two, -make all recommended- and
> -make check- completes as expected (still with cygwin on my path). So
> when you say "workaround", is there something wrong with my tools or
> the tarball or ...?
>
>
>>  Ah, sure, thanks, I always build from svn sources and hence say
>>
>>  make rsync-recommended
>>  make recommended
>>
>>  If you omit
>>   make rsync-recommended
>>  you will need at least
>>   make link-recommended
>>  which is in fact the same but without the rsync step.
> [...]
>
> When I last built R-devel from the tarball on windows (when Rtools29
> was identical to Rtools28), -make all recommended- as given in the
> R-admin manual "just worked". So I did not think of running these
> additional makes. (The R-admin manual does say to run make
> link-recommended if you are not using the tarball.)
>
> By the way, I noticed that -make all recommended- still builds the CHM
> help files for certain packages (e.g. Matrix) even though I set
> USE_CHM=FALSE in MkRules. Is this expected?
>
> Thanks for all your help.
> h.
> -- 
> +---
> | Hiroyuki Kawakatsu
> | Business School, Dublin City University
> | Dublin 9, Ireland. Tel +353 (0)1 700 7496
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] r-devel tarball build failure on windows
Prof Brian Ripley