[R] Error compiling R 2.10.1 on AIX
Mike Waldron
mwaldron at email.unc.edu
Tue Jan 19 19:18:45 CET 2010
I'm trying to compile R 2.10.1 on AIX 5.3, and am getting the following
error:
Error in read.dcf(file = descfile) :
Line starting 'Package: tools ...' is malformed!
Calls: makeLazyLoading ... code2LazyLoadDB -> loadNamespace ->
parseNamespaceFile -> read.dcf
Execution halted
make[3]: *** [all] Error 1
make[3]: Leaving directory
`/afs/.isis.unc.edu/pkg/r-2.10.1/.build/rs_aix53/R-patched/src/library/tools
'
My environment and configure settings are as follows:
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
Mike Waldron
More information about the R-help
mailing list