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

Darin A. England england at cs.umn.edu
Fri Apr 24 04:43:51 CEST 2009

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

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.

More information about the R-devel mailing list