Re: [Rd] Windows fixed/etc/Makeconf SHELL incorrect?

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat, 20 Oct 2007 14:31:17 +0100 (BST)

On Sat, 20 Oct 2007, Martin Morgan wrote:

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

I am pretty sure that has the wrong make.exe. Works for me without having /bin/sh on the system, and I worked hard to build a make.exe that was not looking for /bin/sh.

Does it work for you if SHELL is commented out in etc/Makeconf?

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

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sat 20 Oct 2007 - 13:35:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 25 Oct 2007 - 11:37:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.