 Hi all,

I met a problem with R-2.10.1 installation on AIX5.3.
The error message is as following:

make[3]: Entering directory `/rnd/homes/tmp/R-2.10.1/src/library/tools'
building package 'tools'
mkdir ../../../library/tools
make[4]: Entering directory `/rnd/homes/tmp/R-2.10.1/src/library/tools'
mkdir ../../../library/tools/R
mkdir ../../../library/tools/po
make[4]: Leaving directory `/rnd/homes/tmp/R-2.10.1/src/library/tools'
make[4]: Entering directory `/rnd/homes/tmp/R-2.10.1/src/library/tools'
make[5]: Entering directory `/rnd/homes/tmp/R-2.10.1/src/library/tools/src'
xlc_r -q64 -qlanglvl=extc99 -I../../../../include
-I/rnd/homes/libiconv/AIX/include -I/rnd/homes/libpng/AIX/include
-I/rnd/homes/libjpeg/AIX/include -I/rnd/homes/zlib/AIX/include
-I/usr/lpp/X11/include/X11      -O -qstrict -c text.c -o text.o
xlc_r -q64 -qlanglvl=extc99 -I../../../../include
-I/rnd/homes/libiconv/AIX/include -I/rnd/homes/libpng/AIX/include
-I/rnd/homes/libjpeg/AIX/include -I/rnd/homes/zlib/AIX/include
-I/usr/lpp/X11/include/X11      -O -qstrict -c init.c -o init.o
xlc_r -q64 -qlanglvl=extc99 -I../../../../include
-I/rnd/homes/libiconv/AIX/include -I/rnd/homes/libpng/AIX/include
-I/rnd/homes/libjpeg/AIX/include -I/rnd/homes/zlib/AIX/include
-I/usr/lpp/X11/include/X11      -O -qstrict -c Rmd5.c -o Rmd5.o
xlc_r -q64 -qlanglvl=extc99 -I../../../../include
-I/rnd/homes/libiconv/AIX/include -I/rnd/homes/libpng/AIX/include
-I/rnd/homes/libjpeg/AIX/include -I/rnd/homes/zlib/AIX/include
-I/usr/lpp/X11/include/X11      -O -qstrict -c md5.c -o md5.o
xlc_r -q64 -qlanglvl=extc99 -Wl,-brtl -Wl,-G -Wl,-bexpall -Wl,-bnoentry -lc
-L/rnd/homes/libiconv/AIX/lib -L/rnd/homes/libpng/AIX/lib
-L/rnd/homes/libjpeg/AIX/lib -L/rnd/homes/zlib/AIX/lib -L/usr/lib
-L/usr/X11R6/lib -o tools.so text.o init.o Rmd5.o md5.o -lm
-L../../../../lib -lR /usr/lib/libintl.a
make[6]: Entering directory `/rnd/homes/tmp/R-2.10.1/src/library/tools/src'
make[6]: `Makedeps' is up to date.
make[6]: Leaving directory `/rnd/homes/tmp/R-2.10.1/src/library/tools/src'
make[6]: Entering directory `/rnd/homes/tmp/R-2.10.1/src/library/tools/src'
mkdir ../../../../library/tools/libs
make[6]: Leaving directory `/rnd/homes/tmp/R-2.10.1/src/library/tools/src'
make[5]: Leaving directory `/rnd/homes/tmp/R-2.10.1/src/library/tools/src'
make[4]: Leaving directory `/rnd/homes/tmp/R-2.10.1/src/library/tools'
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 `/rnd/homes/tmp/R-2.10.1/src/library/tools'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/rnd/homes/tmp/R-2.10.1/src/library'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/rnd/homes/tmp/R-2.10.1/src'
make: *** [R] Error 1


I use IBM compiler with below parameter:

    OBJECT_MODE=64
    LIBICONV=/where/libiconv/installed
    CC="xlc_r -q64"
    CFLAGS="-O -qstrict"
    CXX="xlC_r -q64"
    CXXFLAGS="-O -qstrict"
    F77="xlf_r -q64"
    AR="ar -X64"
    CPPFLAGS="-I$LIBICONV/include -I/usr/lpp/X11/include/X11"
    LDFLAGS="-L$LIBICONV/lib -L/usr/lib -L/usr/X11R6/lib"
    --prefix=/my_R_dir \
    --enable-R-shlib \
    --enable-BLAS-shlib \
    --with-x \
    --with-readline=no

Actually I successfully compiled R-2.8.1 on this machine wiht these
parameters and a patch on http://prs.ism.ac.jp/~nakama/AIX/changefiles.
Would you mind to tell me what I can do if I want to build R-2.10.1

Thanks,
Xu Jin

	[[alternative HTML version deleted]]

