Question on trying to build R 2.11.1 on Tru64(aka OSF1) system
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