From aixtools at gmail.com  Mon Nov 23 22:30:48 2015
From: aixtools at gmail.com (aixtools)
Date: Mon, 23 Nov 2015 22:30:48 +0100
Subject: [Rd] compile question
In-Reply-To: <56535263.4010706@gmail.com>
References: <56535263.4010706@gmail.com>
Message-ID: <56538588.40006@gmail.com>

On 2015-11-23 18:52, aixtools wrote:
> 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.
>
>
>
> 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 \
             --prefix=/opt \
>         --disable-rpath --with-readline=no --with-x=no \
>         --with-cairo=no --with-libpng=no --with-jpeglib=no 
> --with-libtiff=no \
>         --with-aix-soname=aix
>
So, modified the configure call, just incase, to be a bit more 'normal', 
but still getting a failure with:

creating src/scripts/R.fe
make[3]: Entering directory '/data/prj/cran/64/R-devel/src/scripts'
mkdir -p -- ../../bin
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'
mkdir -p -- ../../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

Everything seems top be in place, but I do not know GNU autotools well 
enough (I thought that is the origin of 'missing')

root at x072:[/data/prj/cran/64/R-devel]cd src/include
root at x072:[/data/prj/cran/64/R-devel/src/include]find ../.. -name missing
../../tools/missing
root at x072:[/data/prj/cran/64/R-devel/src/include]find ../.. -name 
missing -ls
101915983   11 -rwxrwxr-x  1 2300     2300        11135 Nov 14  2013 
../../tools/missing
root at x072:[/data/prj/cran/64/R-devel/src/include]head  ../../tools/missing
#! /bin/sh
# Common stub for a few missing GNU programs while installing.

scriptversion=2006-05-10.23

# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
#   Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard at iro.umontreal.ca>, 1996.

# This program is free software; you can redistribute it and/or modify


> 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"
>

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



[Rd] compile question
aixtools