I am trying to do VPATH builds of R3.1.3, i.e. binaries built outside the source directory. It works just fine on Linux but on Mac OSX (Mavericks) I get the following trace from make, after a successful configure step. Any insights gratefully received. make is GNU make 3.81 on both systems. bash-3.2$ make make make[1]: Nothing to be done for `R'. make[1]: Nothing to be done for `R'. make[2]: Nothing to be done for `R'. mkdir ../share/R mkdir ../share/dictionaries mkdir ../share/encodings mkdir ../share/java mkdir ../share/licenses mkdir ../share/make mkdir ../share/sh mkdir ../share/texmf mkdir ../share/texmf/bibtex mkdir ../share/texmf/bibtex/bib mkdir ../share/texmf/bibtex/bst mkdir ../share/texmf/tex mkdir ../share/texmf/tex/latex creating src/scripts/R.fe mkdir ../../bin install: ../../include/Rconfig.h: No such file or directory make[2]: *** [Rconfig.tsa] Error 71 make[1]: *** [R] Error 1 make: *** [R] Error 1
On 3/31/15 10:19 AM, Mick Jordan wrote:> I am trying to do VPATH builds of R3.1.3, i.e. binaries built outside > the source directory. It works just fine on Linux but on Mac OSX > (Mavericks) I get the following trace from make, after a successful > configure step. Any insights gratefully received. make is GNU make > 3.81 on both systems.Answering my own question - it appears that if a build has already been done in the source directory, this problem occurs. With a pristine source directory a VPATH build works as expected. Micki
On 31/03/2015 18:35, Mick Jordan wrote:> On 3/31/15 10:19 AM, Mick Jordan wrote: >> I am trying to do VPATH builds of R3.1.3, i.e. binaries built outside >> the source directory. It works just fine on Linux but on Mac OSX >> (Mavericks) I get the following trace from make, after a successful >> configure step. Any insights gratefully received. make is GNU make >> 3.81 on both systems. > Answering my own question - it appears that if a build has already been > done in the source directory, this problem occurs. With a pristine > source directory a VPATH build works as expected.The problem is the incorrect expectations. See https://www.gnu.org/software/make/manual/html_node/General-Search.html . And BTW, the OS is called 'OS X' and has been for a long time.> > Micki > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel-- 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