RE: [R] R 1.9.1 compilation error (on AIX 5.1)

From: Liao, Kexiao <>
Date: Tue 20 Jul 2004 - 04:00:00 EST

Dear R Development Team,

   I have IBM AIX 5.2 and am trying to install R-1.9.1 on it. If I use the CC=xlc as the C compiler command, I got the following error message.

configure:3641: checking for gcc
configure:3667: result: xlc
configure:3911: checking for C compiler version
configure:3914: xlc --version </dev/null >&5
./configure[3915]: xlc: not found
configure:3917: $? = 127
configure:3919: xlc -v </dev/null >&5
./configure[3920]: xlc: not found
configure:3922: $? = 127
configure:3924: xlc -V </dev/null >&5
./configure[3925]: xlc: not found
configure:3927: $? = 127
configure:3950: checking for C compiler default output file name
configure:3953: xlc -O -qmaxmem=-1 -qarch=auto -qtune=auto -q64
lude -L/usr/local/lib conftest.c >&5

  It seems AIX does not have xlc, gcc is the correct choice for most of the AIX system.


-----Original Message-----
[] On Behalf Of Liaw, Andy Sent: Monday, July 19, 2004 8:26 AM
To: 'Frankie Cheung'
Cc: 'Prof Brian Ripley'; Subject: RE: [R] R 1.9.1 compilation error (on AIX 5.1)

The following are the entries in the file I used to compile R-1.9.1 on AIX. See if that helps.

CFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto -q64" F77=xlf
FFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto -qextname -q64" SHLIB_LDFLAGS="-Wl,-G -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,-bexpall"
CXXFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto -q64"


> From: Frankie Cheung []
> Dear Sir,
> Still encounter another error message during compilation of R 1.9.1 on
> AIX 5.1 (target expall not found):
> Any suggestion?
> with regards,
> Frankie Cheung mailing list PLEASE do read the posting guide! mailing list PLEASE do read the posting guide! Received on Tue Jul 20 04:07:40 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:05 EST