From bbolker at gmail.com  Fri Feb 17 17:31:18 2012
From: bbolker at gmail.com (Ben Bolker)
Date: Fri, 17 Feb 2012 11:31:18 -0500
Subject: [Rd] building r-devel
Message-ID: <4F3E80D6.6030503@gmail.com>


  I'm sure I'm being an absolute bonehead (again), but can someone
suggest what I might be doing wrong?

 Trying to build latest r-devel on Ubuntu 10.04; as recommended in
various places, trying to build it in a separate build directory (since
starting to compose this e-mail I've found that it works if I build in
the original source directory [as disrecommended], so this has become a
less urgent question, but I'm still curious what I'm doing wrong).  I
configure, make (see details below), eventually get to
"/usr/bin/install: cannot create regular file
`../../include/Rinternals.h': No such file or directory
make[2]: *** [Rinternals.ts] Error 1".


  Any thoughts about what's going on here or what I can do to further
diagnose the problem?

  thanks
    Ben Bolker

==================

bolker at ubuntu-10:~/R/r-devel$ svn update
At revision 58379.

cd ../r-build
make distclean
../r-devel/configure


R is now configured for i686-pc-linux-gnu

  Source directory:          ../r-devel
  Installation directory:    /usr/local

  C compiler:                gcc -std=gnu99  -g -O2
  Fortran 77 compiler:       gfortran  -g -O2

  C++ compiler:              g++  -g -O2
  Fortran 90/95 compiler:    gfortran -g -O2
  Obj-C compiler:	

  Interfaces supported:      X11, tcltk
  External libraries:        readline
  Additional capabilities:   PNG, JPEG, NLS, cairo
  Options enabled:           shared BLAS, R profiling, Java

  Recommended packages:      yes

make

bolker at ubuntu-10:~/R/r-build$ make
make[1]: Entering directory `/mnt/hgfs/bolker/Documents/R/r-build/m4'
make[1]: Nothing to be done for `R'.
make[1]: Leaving directory `/mnt/hgfs/bolker/Documents/R/r-build/m4'
make[1]: Entering directory `/mnt/hgfs/bolker/Documents/R/r-build/tools'
make[1]: Nothing to be done for `R'.
make[1]: Leaving directory `/mnt/hgfs/bolker/Documents/R/r-build/tools'
make[1]: Entering directory `/mnt/hgfs/bolker/Documents/R/r-build/doc'
make[2]: Entering directory `/mnt/hgfs/bolker/Documents/R/r-build/doc/html'
make[3]: Entering directory `/mnt/hgfs/bolker/Documents/R/r-build/doc/html'
make[3]: Leaving directory `/mnt/hgfs/bolker/Documents/R/r-build/doc/html'
make[2]: Leaving directory `/mnt/hgfs/bolker/Documents/R/r-build/doc/html'
make[2]: Entering directory
`/mnt/hgfs/bolker/Documents/R/r-build/doc/manual'
make[2]: Nothing to be done for `R'.
make[2]: Leaving directory `/mnt/hgfs/bolker/Documents/R/r-build/doc/manual'
make[2]: Entering directory `/mnt/hgfs/bolker/Documents/R/r-build/doc'
make[2]: Leaving directory `/mnt/hgfs/bolker/Documents/R/r-build/doc'
make[1]: Leaving directory `/mnt/hgfs/bolker/Documents/R/r-build/doc'
make[1]: Entering directory `/mnt/hgfs/bolker/Documents/R/r-build/etc'
make[1]: Leaving directory `/mnt/hgfs/bolker/Documents/R/r-build/etc'
make[1]: Entering directory `/mnt/hgfs/bolker/Documents/R/r-build/share'
make[2]: Entering directory `/mnt/hgfs/bolker/Documents/R/r-build/share'
mkdir -p -- ../share/R
mkdir -p -- ../share/encodings
mkdir -p -- ../share/java
mkdir -p -- ../share/licenses
mkdir -p -- ../share/make
mkdir -p -- ../share/sh
mkdir -p -- ../share/texmf
mkdir -p -- ../share/texmf/bibtex/bib
mkdir -p -- ../share/texmf/bibtex/bst
mkdir -p -- ../share/texmf/tex/latex
make[2]: Leaving directory `/mnt/hgfs/bolker/Documents/R/r-build/share'
make[1]: Leaving directory `/mnt/hgfs/bolker/Documents/R/r-build/share'
make[1]: Entering directory `/mnt/hgfs/bolker/Documents/R/r-build/src'
make[2]: Entering directory
`/mnt/hgfs/bolker/Documents/R/r-build/src/scripts'
creating src/scripts/R.fe
make[3]: Entering directory
`/mnt/hgfs/bolker/Documents/R/r-build/src/scripts'
mkdir -p -- ../../bin
make[3]: Leaving directory
`/mnt/hgfs/bolker/Documents/R/r-build/src/scripts'
make[2]: Leaving directory
`/mnt/hgfs/bolker/Documents/R/r-build/src/scripts'
make[2]: Entering directory
`/mnt/hgfs/bolker/Documents/R/r-build/src/include'
/usr/bin/install: cannot create regular file
`../../include/Rinternals.h': No such file or directory
make[2]: *** [Rinternals.ts] Error 1
make[2]: Leaving directory
`/mnt/hgfs/bolker/Documents/R/r-build/src/include'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/mnt/hgfs/bolker/Documents/R/r-build/src'
make: *** [R] Error 1



[Rd] building r-devel
Ben Bolker