[R] Can't compile R 2.10.1 on AIX

Waldron, Michael H mwaldron at email.unc.edu
Wed Feb 3 16:43:03 CET 2010


I'm trying to compile R 2.10.1 on AIX, and getting the following errors when it is trying to build the tools package:

Error in read.dcf(file = descfile) : 
  Line starting 'Package: tools ...' is malformed!
Calls: makeLazyLoading ... code2LazyLoadDB -> loadNamespace -> parseNamespaceFile -> read.dcf
Execution halted
make: *** [all] Error 1

My environment and configure settings look like this:
   export PATH=/usr/local/bin:/opt/freeware/bin:$PATH
   export OBJECT_MODE=64
   export LIBICONV=/opt/freeware
   export CC="xlc_r -q64"
   export CFLAGS="-O -qstrict"
   export CXX="xlC_r -q64"
   export CXXFLAGS="-O -qstrict"
   export AR="ar -X64"
   export F77="xlf_r -q64"
   export CPPFLAGS="-I/afs/isis/pkg/libpng/include -I/usr/local/include -I$LIBICONV/include -I/usr/lpp/X11/include/X11"
   export LDFLAGS="-L/usr/local/lib -L$LIBICONV/lib -L/usr/lib -L/usr/X11R6/lib"
   export CAIRO_CFLAGS="-I/opt/freeware/include/cairo -I/opt/freeware/include/freetype2"
   export CAIRO_LIBS="-L/opt/freeware/lib -lcairo"
   export JAVA_HOME=/usr/java14_64
   export JAVA_CPPFLAGS="-I/usr/java14_64/include"
   export LDR_CNTRL=USERREGS

   ./configure --prefix=/afs/.isis/pkg/r-2.10.1 --with-tcltk=/usr/local/lib --with-tcl-config=/usr/local/lib/tclConfig.sh --with-tk-config=/usr/local/lib/tkConfig.sh

I get the same error on both AIX 5.3 and AIX 6.1. I successfully compiled R 2.8.1 on AIX 5.3 with the same setup. Has anyone else seen this problem on AIX?


Mike Waldron



More information about the R-help mailing list