Re: [Rd] Question on trying to build R 2.11.1 on Tru64(aka OSF1) system

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 09 Jun 2010 06:44:18 +0100 (BST)

On Wed, 9 Jun 2010, Peter Dalgaard wrote:

> Prof Brian Ripley wrote:
>> Ah, so configure has chosen /bin/ksh as the shell, and that does not
>> like this sh syntax on your system. Try setting R_SHELL=/bin/sh when
>> configuring (or the path to bash, if you have that).
>>
>> Alternatively, use ${1+@} in Rcmd.in (we have that as a workaround in
>> R.sh.in).
>
> We even do it using @OSF_SH_BUG@, which would probably be a good idea to
> clone in Rcmd.in.

Already done in R-devel. But the argument is whether we should complicate R (and risk breaking currently working setups) or expect people with broken tools to replace them. Certainly for AIX (where sh is zsh and this workaround does not work) it is necessary to set R_SHELL to bash.

> On the other hand, the use of ${@} in Rcmd.in goes
> back to at least 2002, which is a bit puzzling. Did OSF really not get
> tested since then??

No: PR#9365 (which I fixed via @OSF_SH_BUG@) was in 2006 -- I think that was the last report and long after any other.

> --
> Peter Dalgaard
> Center for Statistics, Copenhagen Business School
> Phone: (+45)38153501
> Email: pd.mes_at_cbs.dk Priv: PDalgd_at_gmail.com
>

-- 
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 Wed 09 Jun 2010 - 05:47:48 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 Wed 09 Jun 2010 - 14:21:01 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.

list of date sections of archive