[R] make error: ../../../bin/R: bad substitution

From: <tomkur2006-takehome_at_yahoo.com>
Date: Mon, 24 Mar 2008 10:43:16 -0700 (PDT)


I am getting this error when I run 'make' under src/library/base:
../../../library/base/R/base is unchanged
../../../bin/R: bad substitution
make: *** [all] Error 1

I traced it down to the following line in src/library/base/Makefile:

       @cat $(srcdir)/makebasedb.R | \
          R_DEFAULT_PACKAGES=NULL LC_ALL=C $(R_EXE) --slave > /dev/null

I am trying to build R-2.6.2 on a Solaris 9 box. Can anyone advise on what may go wrong? Thank you.

        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 24 Mar 2008 - 17:49:53 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 Mon 24 Mar 2008 - 19:31:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive