From england at cs.umn.edu  Fri Apr 24 04:43:51 2009
From: england at cs.umn.edu (Darin A. England)
Date: Thu, 23 Apr 2009 21:43:51 -0500
Subject: [Rd] Problems building R 2.9.0... on SGI and Sun once again
In-Reply-To: <20090423155431.GA6821@cs.umn.edu>
References: <200904201154.n3KBswHQ013943@ruuvi.it.helsinki.fi>
	<20090423155431.GA6821@cs.umn.edu>
Message-ID: <20090424024351.GA24144@cs.umn.edu>

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 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'
> mkdir ../../../library/methods
> gmake[3]: Entering directory `/home/denglan/R/builddir/src/library/methods'
> mkdir ../../../library/methods/R
> /bin/sh: syntax error at line 1 : `;' unexpected
> gmake[3]: *** [front] Error 2
> gmake[3]: Leaving directory `/home/denglan/R/builddir/src/library/methods'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/denglan/R/builddir/src/library/methods'
> gmake[1]: *** [R] Error 1
> gmake[1]: Leaving directory `/home/denglan/R/builddir/src/library'
> gmake: *** [R] Error 1
> make: The error code from the last command is 1.



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