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
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 >
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
> On 23 Nov 2015, at 22:30 , aixtools <aixtools at gmail.com> wrote: > >> >> ./configure --enable-maintainer-mode ...Two things here - possibly irrelevant, but I'd avoid building in the source directory. (mkdir ../BUILD ; cd ../BUILD; ../R/configure) - don't turn on mantainer mode. You are not a maintainer, and if you want to play at being one, I think you need extra tools. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
On 2015-11-23 18:52, aixtools wrote:> Starting all over again with R-devel of 22-11-2015.Actually, reverting back to R-3.1.3 as that has built better, and I shall apply lessons learned as I move along. I have had a number of e-mail exchanges with people who support gcc for POWER, and have learned - read was told bluntly - that -bexpall, while getting the job done in many cases - is very inefficient (read - has a negative impact on performance) AND can lead to duplicate symbol errors as imported symbols are also exported. Based on this, and other things I have run accross my focus at the moment is changes to ./configure (for later modification to ./configure.ac and m4/* - as appropriate. I understand that having R on AIX may not be anyone's priority (if even concern). Comments here are welcome. I will always take them seriously. I request, especially if I have not acknowledged a reply, to (also) post to http://forums.rootvg.net/aixtools/r-for-aix/ - as I read/check those forums much more often than I am able to check mail. Regards, Michael