Skip to content
Prev 75174 / 398502 Next

Building R 2.1.0 on AIX 5.2.0.0

Hello,

The set of messages below reports a successful build of 2.0.0 on AIX 5.2
using GCC 3.3.2

I've been trying for a while now to build 2.1.0 and 2.1.1 and have been
unsuccessful.  I've tried:
- GCC 3.3.2 and 4.0.1
- default AIX make and GNU make
- 32-bit and 64-bit builds

A typical configure output is:
==============================================
R is now configured for powerpc-ibm-aix5.2.0.0

  Source directory:          .
  Installation directory:    /db2blast/R/2.1.0

  C compiler:                gcc -mno-fp-in-toc -maix32 -g -O2
  C++ compiler:              g++  -g -O2
  Fortran compiler:          g77  -maix32 -O2

  Interfaces supported:      X11
  External libraries:
  Additional capabilities:   PNG, JPEG, MBCS, NLS
  Options enabled:           R profiling

  Recommended packages:      yes
==============================================

In all cases make crashes with:

==============================================
make[5]: Leaving directory `/db2blast/R/R-2.1.0/src/library/tools/src'
make[4]: Leaving directory `/db2blast/R/R-2.1.0/src/library/tools/src'
Error in dyn.load(x, as.logical(local), as.logical(now)) :
        unable to load shared library
'/db2blast/R/R-2.1.0/library/tools/libs/tools.so':

Execution halted
make[3]: *** [all] Error 1
make[3]: Leaving directory `/db2blast/R/R-2.1.0/src/library/tools'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/db2blast/R/R-2.1.0/src/library'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/db2blast/R/R-2.1.0/src'
make: *** [R] Error 1
==============================================

Any ideas on what might have changed between 2.0.1 and 2.1.0 to cause this,
or maybe any suggestions on what I could try next?
Paul