Re: [Rd] Problems building R 2.9.0... on SGI and Sun once again

2009-04-29 Thread Simon Urbanek
On Apr 29, 2009, at 5:55 , Atro Tossavainen wrote: (This is really in response to Peter Dalgaard, not to myself) This seems to come from constructions of the form for i in $FOO : do ; done If $FOO is empty, then the resulting "for i in ;" is a syntax error with some versions of bash an

Re: [Rd] Problems building R 2.9.0... on SGI and Sun once again

2009-04-29 Thread Atro Tossavainen
(This is really in response to Peter Dalgaard, not to myself) > This seems to come from constructions of the form > > for i in $FOO : do ; done > > If $FOO is empty, then the resulting "for i in ;" is a syntax error > with some versions of bash and sh. Given that one should generally be wr

Re: [Rd] Problems building R 2.9.0... on SGI and Sun once again

2009-04-23 Thread Darin A. England
Many thanks to Peter for the explanation. I found that the fix for me was to set the environment variable R_SHELL to '/usr/bin/bash', otherwise (on my AIX system at least) the shell being used was /bin/sh. Darin On Thu, Apr 23, 2009 at 10:54:31AM -0500, Darin England wrote: > I have the same pro

Re: [Rd] Problems building R 2.9.0... on SGI and Sun once again

2009-04-23 Thread Peter Dalgaard
Darin A. England wrote: > I have the same problem trying build R 2.9.0 on AIX using the IBM > Visual Age compilers and GNU make. I'm trying to figure it out, but > any hints on a fix are greatly appreciated. This seems to come from constructions of the form for i in $FOO : do ; done If $F

Re: [Rd] Problems building R 2.9.0... on SGI and Sun once again

2009-04-23 Thread Darin A. England
I have the same problem trying build R 2.9.0 on AIX using the IBM Visual Age compilers and GNU make. I'm trying to figure it out, but any hints on a fix are greatly appreciated. Thanks, Darin gmake[2]: Entering directory `/home/denglan/R/builddir/src/library/methods' building package 'methods' mk

[Rd] Problems building R 2.9.0... on SGI and Sun once again

2009-04-20 Thread Atro Tossavainen
I've successfully built R 2.9.0 on Linux (amd64, i386 and ppc), but am having a bit of trouble with legacy boxen. What should have gone into the variable that is empty at the time it is used in "for f in $SOMETHING" and why does it end up being empty? Solaris 8 with Sun Studio 11 compilers: buil