[Rd] compile question

Paul Grosu pgrosu at gmail.com
Mon Nov 23 23:33:24 CET 2015


Hi Michael,

I experienced the same thing in the past.  After you get the R-3.2.2.tar.gz
and uncompress it, enter the R-3.2.2 directory and run the ./configure and
make from there, rather than a different one.

One other thing, you probably already did this, but just in case you might
want to double-check this section as well:

https://cran.r-project.org/doc/manuals/r-release/R-admin.html#AIX

Hope it helps,
~p

-----Original Message-----
From: R-devel [mailto:r-devel-bounces at r-project.org] On Behalf Of aixtools
Sent: Monday, November 23, 2015 4:31 PM
To: r-devel at r-project.org
Subject: Re: [Rd] compile question

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
>

______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list