[R] Error compiling R 2.10.1 on AIX

Balkrishna Ketkar bketkar at gmail.com
Thu Sep 16 11:41:54 CEST 2010


Hello,
I am also facing exactly same problem like Mike while compiling R on AIX 5.3

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

My Environment is :

CC='xlc_r -q64'
CFLAGS='-O -qstrict'
CPPFLAGS='-I/opt/freeware/include -I/usr/lpp/X11/include/X11'
CXX='xlC_r -q64'
CXXFLAGS='-O -qstrict'
AR='ar -X64'
F77='xlf_r -q64'
LDFLAGS='-L/opt/freeware/lib -L/usr/lib -L/usr/X11R6/lib'
LIBICONV=/opt/freeware
OBJECT_MODE=64

Any suggestions/solutions? I am compiling on AIX 5.3 same problem occurs for
2.10.1 and 2.11.1

-Balkrishna Ketkar

-------------------------------------------------------------------------------------------
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

-- 
View this message in context: http://r.789695.n4.nabble.com/Error-compiling-R-2-10-1-on-AIX-tp1017862p2541849.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list