[R] Error compiling R 2.10.1 on AIX
Ei-ji Nakama
nakama at ki.rim.or.jp
Thu Sep 16 13:57:56 CEST 2010
Hi,
This is a bug of tre-regex(AIX 64bit only).
following patches help you.
https://r-forge.r-project.org/scm/viewvc.php/patches/aix_R210_tre.patch?view=markup&root=aix
2010/9/16 Balkrishna Ketkar <bketkar �� gmail.com>:
>
> 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.
>
> ______________________________________________
> R-help �� r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>
--
EI-JI Nakama <nakama (a) ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb" <nakama (a) ki.rim.or.jp>
More information about the R-help
mailing list