From aixtools at gmail.com  Mon Nov 23 18:52:35 2015
From: aixtools at gmail.com (aixtools)
Date: Mon, 23 Nov 2015 18:52:35 +0100
Subject: [Rd] compile question
Message-ID: <56535263.4010706@gmail.com>

Dear all,

Starting all over again with R-devel of 22-11-2015.

After getting the dependancies (minimal graphics initially) I have been 
able to come this far - with a 64-bit build on AIX.

root at x072:[/data/prj/cran/64/R-devel]make
make[1]: Entering directory '/data/prj/cran/64/R-devel/m4'
make[1]: Nothing to be done for 'R'.
make[1]: Leaving directory '/data/prj/cran/64/R-devel/m4'
make[1]: Entering directory '/data/prj/cran/64/R-devel/tools'
make[1]: Nothing to be done for 'R'.
make[1]: Leaving directory '/data/prj/cran/64/R-devel/tools'
make[1]: Entering directory '/data/prj/cran/64/R-devel/doc'
make[2]: Entering directory '/data/prj/cran/64/R-devel/doc/html'
make[2]: Leaving directory '/data/prj/cran/64/R-devel/doc/html'
make[2]: Entering directory '/data/prj/cran/64/R-devel/doc/manual'
make[2]: Nothing to be done for 'R'.
make[2]: Leaving directory '/data/prj/cran/64/R-devel/doc/manual'
make[1]: Leaving directory '/data/prj/cran/64/R-devel/doc'
make[1]: Entering directory '/data/prj/cran/64/R-devel/etc'
make[1]: Leaving directory '/data/prj/cran/64/R-devel/etc'
make[1]: Entering directory '/data/prj/cran/64/R-devel/share'
make[1]: Leaving directory '/data/prj/cran/64/R-devel/share'
make[1]: Entering directory '/data/prj/cran/64/R-devel/src'
make[2]: Entering directory '/data/prj/cran/64/R-devel/src/scripts'
make[3]: Entering directory '/data/prj/cran/64/R-devel/src/scripts'
make[3]: Leaving directory '/data/prj/cran/64/R-devel/src/scripts'
make[2]: Leaving directory '/data/prj/cran/64/R-devel/src/scripts'
make[2]: Entering directory '/data/prj/cran/64/R-devel/src/include'
/bin/sh: ../../tools/missing:  not found.
Makefile:66: recipe for target 'stamp-h.in' failed
make[2]: *** [stamp-h.in] Error 127
make[2]: Leaving directory '/data/prj/cran/64/R-devel/src/include'
Makefile:28: recipe for target 'R' failed
make[1]: *** [R] Error 1
make[1]: Leaving directory '/data/prj/cran/64/R-devel/src'
Makefile:60: recipe for target 'R' failed
make: *** [R] Error 1

This is my configure call:

#!/usr/bin/ksh
# my_config_test

. /data/prj/cran/64/setup.env

./configure --enable-maintainer-mode  --enable-R-shlib --enable-lto 
--with-libpth-prefix=prefix=/opt \
         --disable-rpath --with-readline=no --with-x=no \
         --with-cairo=no --with-libpng=no --with-jpeglib=no 
--with-libtiff=no \
         --with-system-tre=no \
         --with-recommended-packages=no \
         --with-aix-soname=aix

And the environment is:
root at x072:[/data/prj/cran/64/R-devel]cat ../setup*
export OBJECT_MODE=64
export CC="gcc -maix64"
export CXX="g++ -maix64"
export F77="gfortran -maix64"
export FC="gfortran -maix64"
export LDFLAGS="-L/opt/lib/64 -lpcre"

FYI: configure ends with:
R is now configured for powerpc-ibm-aix7.1.3.0

   Source directory:          .
   Installation directory:    /usr/local

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

   C++ compiler:              g++ -maix64  -g -O2
   C++11 compiler:            g++ -maix64  -std=c++11 -g -O2
   Fortran 90/95 compiler:    gfortran -maix64 -g -O2
   Obj-C compiler:

   Interfaces supported:
   External libraries:        curl
   Additional capabilities:   NLS
   Options enabled:           shared R library, R profiling, maintainer mode

   Capabilities skipped:      PNG, JPEG, TIFF, cairo, ICU
   Options not enabled:       shared BLAS, memory profiling

   Recommended packages:      no

Thanks for your insight re: the missing tools/missing (or whatever it is 
looking for!)

Michael



[Rd] compile question
aixtools