From mtmorgan at fhcrc.org  Sat Oct 20 14:49:53 2007
From: mtmorgan at fhcrc.org (Martin Morgan)
Date: Sat, 20 Oct 2007 05:49:53 -0700
Subject: [Rd] Windows fixed/etc/Makeconf SHELL incorrect?
In-Reply-To: <4719DA58.1020500@stats.uwo.ca> (Duncan Murdoch's message of
	"Sat, 20 Oct 2007 06:37:12 -0400")
References: <6phprzbq6v6.fsf@gopher4.fhcrc.org> <4719DA58.1020500@stats.uwo.ca>
Message-ID: <6phmyueeyry.fsf@gopher4.fhcrc.org>

D:\mtmorgan\src\R-devel>bin\R CMD config CC
make: /bin/sh: Command not found
make: ** [print] Error 127
make: /bin/sh: Command not found
make: ** [print] Error 127

D:\mtmorgan\src\R-devel>bin\R CMD config CC

This is on a system where cygwin and Rtools (from your installer) are
under c:/usr (rather than the more usual location for cygwin directly
under c:/). The system has seen many cooks over the years, and there
could well be a misconfiguration somewhere else. PATH (e.g., to make,
sh, ar) seem to point to the right location, versions seem to be
correct, and changing SHELL to sh remedies the situation.

Thanks,

Martin

Duncan Murdoch <murdoch at stats.uwo.ca> writes:

> Martin Morgan wrote:
>> R developers,
>>
>> On windows, it seems like R_HOME/etc/Makeconf has
>>
>> SHELL = /bin/sh
>>
>> instead of the location of Rtools' sh. I think this is because
>> R_HOME/src/gnuwin32/fixed/etc/Makeconf needs to define SHELL as just
>> sh (since Rtools/bin  has to be on the PATH).
>>
>> This is of consequence with R CMD config.
>>
> Could you show what goes wrong?  I don't don't see any problems.
>
> Duncan Murdoch
>> R version 2.7.0 Under development (unstable) (2007-10-19 r43218)
>> Copyright (C) 2007 The R Foundation for Statistical Computing
>> ISBN 3-900051-07-0
>>
>> Martin
>>
>



[Rd] Windows fixed/etc/Makeconf SHELL incorrect?
Martin Morgan