[Rd] AIX 5.3 --enable-R-shlib --with-x ---with-iconv make error with R-2.7.0 and R-2.7.1

Ei-ji Nakama nakama at ki.rim.or.jp
Thu Jul 17 17:12:25 CEST 2008

Hi, sorry buggy English.

Did you cook this patch?

However, cooking of this patch is bad on AIX.
Therefore I put the thing which was finished with cooking.


I do a wish of tasting to you.

2008/7/17 Fán Lóng <foylong at gmail.com>:
> ----------------------------------------------------------
> ./configure \
>           CC="xlc_r -q64" \
>           CFLAGS="-O -qstrict" \
>           CXX="xlC_r -q64" \
>           CXXFLAGS="-O -qstrict" \
>           F77="xlf_r -q64" \
>           AR="ar -X64" \
>           CPPFLAGS="-I/my_libiconv_dir/include -I/usr/lpp/X11/include/X11" \
>           LDFLAGS="-L/my_libiconv_dir/lib -L/usr/lib -L/usr/X11R6/lib
> -L/my_buildR_dir/R-2.7.0/lib" \
>           --prefix=/my_R_dir \
>           --enable-R-shlib \
>           --enable-BLAS-shlib \
>           --with-x \
>           --with-readline=no \
>           --with-libiconv-prefix="/my_libiconv_dir"

``export OBJECT_MODE=64'' had better set it.
--with-libiconv-prefix are not reflected.

>  Options enabled:           shared BLAS, R profiling, Java

libjpeg and libjpeg-6b of java do conflict in my environment.
I remove PATH of the JAVA at the time of the construction.

> You see the symbols d1mach, interv, TYPEOF, R_CHAR and Rf_isString,
> were not found. As for the library dependence, I add
> /my_libiconv_dir/lib to my LIBPATH to make sure libR.so etc. can find
> the libiconv. Thus, stats.so and tools.so could have be loaded. I
> don't know where I made a mistake. After looking up the R manual and
> diving into Google for help, I've got no usable answer.

I had the sense that GC of ld turned into recently.
Probably former specifications may be bugs.

> Below environment variables may associated:
> LIBPATH="/my_libiconv_dir/lib:.:/rnd/homes/my/rdir/AIX/R-2.7.0/lib/R/lib:.:/usr/lib:/lib"
> R_HOME="/rnd/homes/my/rdir/AIX/R-2.7.0"

Because R add it in a shell of ``bin/R'', let's add LIBPATH when it
was said that there is not it.

EI-JI Nakama <nakama (a) ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb" <nakama (a) ki.rim.or.jp>

More information about the R-devel mailing list