[Rd] AIX 5.3 --enable-R-shlib --with-x ---with-iconv make error with R-2.7.0 and R-2.7.1
Fán Lóng
foylong at gmail.com
Fri Jul 18 17:16:28 CEST 2008
Build success!
I just use the files out here:
http://prs.ism.ac.jp/~nakama/AIX/changefiles to patch my R-2.7.0 and
add export OBJECT_MODE=64 to my configure parameter. It works.
Thank you very much for your help, Ei-ji.
2008/7/17 F¨¢n L¨®ng <foylong at gmail.com>:
> Thank you, Ei-ji.
>
> I haven't tried the aix_R-2.7.1_Rshlib_include_configure.patch for two reason:
> #1 I have to compile R2.7.0 although I can reproduce the trouble on R-2.7.1.
> #2 Actually, I don't know how to use this patch to R-2.7.1. Does this
> need AIX admin permission?
>
> And thanks for telling me the pacthed R-2.7.1.aix080701.tar.gz, I will
> try this and let you know the result. BTW: do we also have a patched
> R-2.7.0?
>
> I will also try to export OBJECT_MODE=64 before configuring without
> --with-libiconv-prefix and remove JAVA path from PATH of when
> compiling R.
>
> In a word, thank you very much for taking care of this.
>
> Regards,
> Long
>
> On Thu, Jul 17, 2008 at 11:12 PM, Ei-ji Nakama <nakama at ki.rim.or.jp> wrote:
>> Hi, sorry buggy English.
>>
>> Did you cook this patch?
>> http://prs.ism.ac.jp/~nakama/AIX/aix_R-2.7.1_Rshlib_include_configure.patch
>>
>> However, cooking of this patch is bad on AIX.
>> Therefore I put the thing which was finished with cooking.
>>
>> http://prs.ism.ac.jp/~nakama/AIX/R-2.7.1.aix080701.tar.gz
>>
>> 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"
>> <snip>
>>> 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.
>>
>> best,
>> --
>> EI-JI Nakama <nakama (a) ki.rim.or.jp>
>> "\u4e2d\u9593\u6804\u6cbb" <nakama (a) ki.rim.or.jp>
>>
>
>
>
> --
> ×òÈÕÖ®ÎÒßxñÁ˽ñÈÕÖ®ÎÒ¡£
>
--
×òÈÕÖ®ÎÒßxñÁ˽ñÈÕÖ®ÎÒ¡£
More information about the R-devel
mailing list