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

Liao, Kexiao liao1k at cmich.edu
Mon Jul 19 20:00:00 CEST 2004

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-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Liaw, Andy
Sent: Monday, July 19, 2004 8:26 AM
To: 'Frankie Cheung'
Cc: 'Prof Brian Ripley'; R-help at stat.math.ethz.ch
Subject: RE: [R] R 1.9.1 compilation error (on AIX 5.1)

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

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


> From: Frankie Cheung [mailto:ftcheung at hkusua.hku.hk] 
> 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

R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide!

More information about the R-help mailing list