From nakama at ki.rim.or.jp  Fri Aug  1 03:59:52 2008
From: nakama at ki.rim.or.jp (Ei-ji Nakama)
Date: Fri, 1 Aug 2008 10:59:52 +0900
Subject: [Rd] AIX 5.3 --enable-R-shlib --with-x ---with-iconv make error
	with R-2.7.0 and R-2.7.1
In-Reply-To: <e936a3d0807222240v214dc96are946a5a0f725d15b@mail.gmail.com>
References: <e936a3d0807170359p62155163oe85a437d91506b98@mail.gmail.com>
	<dc41e1260807170812q32f9e9f1y4599dfbbbb348f53@mail.gmail.com>
	<e936a3d0807170838g540bb139ncca3b2eb64e0286@mail.gmail.com>
	<e936a3d0807180816w5a4e92b3m193b9a6bfc757d79@mail.gmail.com>
	<dc41e1260807190729y3fe861d5m7abbad780fff002@mail.gmail.com>
	<e936a3d0807200537t3d5ecfbet9dcd7716537fac7b@mail.gmail.com>
	<e936a3d0807201943pb57381cyc70d9811651440dd@mail.gmail.com>
	<dc41e1260807221734l7c3f3100ne51c6131422059d1@mail.gmail.com>
	<e936a3d0807222240v214dc96are946a5a0f725d15b@mail.gmail.com>
Message-ID: <dc41e1260807311859l7adbb424s815bae1e6d4c547b@mail.gmail.com>

Hi.

F?n L?ng - san seems to have been able to build it in xlc,xlf.
http://prs.ism.ac.jp/~nakama/AIX/
It is only gcc for AIX which is a buggy that I cannot build it well.

----------- F?n L?ng - san report -------------

export OBJECT_MODE=64
export LIBICONV=/where/libiconv/installed

./configure \
      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" \
      --enable-R-shlib \
      --enable-BLAS-shlib \
      --with-x --with-readline=no

 make
 make install
 LANG=C make check-all

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



[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