> From: Prof Brian Ripley > > We do have alpha/beta test periods for new releases of R, so > would anyone > who did test AIX please confirm that they did succeed. (No > one reported > an error, including yourself: are any AIX users interested in helping > having R available for AIX?) It is much better to have such reports > during alpha test, or at least beta test.I just tried compiling R-1.9.1 as 64-bit on powerpc-ibm-aix5.1.0.0 using xlc/xlf. The compile went fine, and the only part of make check that failed was internet.R (since there's no 'Net access from that box). The GCC on that box is probably too outdated to try, unfortunately. Best, Andy> On Wed, 23 Jun 2004, Frankie Cheung wrote: > > > Dear Sir/Madam, > > > > I encounter some problem duuring compilation of R 1.9.1 on > AIX 5.1, after > > running "./configure" then I type "make" to compile: > > > > # make > > ..... > > gcc -I../../src/extra/zlib -I../../src/extra/bzip2 > -I../../src/extra/pcre > > -I. -I../../src/include -I../../src/include -I/usr/local/include > > -DHAVE_CONFIG_H -mno-fp-in-toc -g -O2 -c registration.c -o > registration.o > > g77 -g -O2 -c xxxpr.f -o xxxpr.o > > gcc -Wl,-bdynamic -Wl,-bE:../../etc/R.exp -Wl,-bM:SRE > -L/usr/local/lib -o > > R.bin CConverters.o Rdynload.o RNG.o apply.o arithmetic.o > apse.o array.o > > attrib.o base.o bind.o builtin.o character.o coerce.o > colors.o complex.o > > connections.o context.o cov.o cum.o dcf.o datetime.o debug.o devPS.o > > devPicTeX.o deparse.o deriv.o devices.o dotcode.o dounzip.o > dstruct.o > > duplicate.o engine.o envir.o errors.o eval.o format.o > fourier.o gram.o > > gram-ex.o graphics.o identical.o internet.o iosupport.o > lapack.o list.o > > logic.o main.o mapply.o match.o memory.o model.o names.o > objects.o optim.o > > optimize.o options.o par.o paste.o pcre.o platform.o plot.o plot3d.o > > plotmath.o print.o printarray.o printvector.o printutils.o qsort.o > > random.o regex.o relop.o saveload.o scan.o seq.o > serialize.o size.o sort.o > > source.o split.o sprintf.o subassign.o subscript.o subset.o > summary.o > > unique.o util.o version.o vfonts.o registration.o xxxpr.o > > ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a > -L/usr/local/lib > > -L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3 > > > -L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/../../.. > /../powerpc-ibm-aix5.1.0.0/lib > > > -L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/../../.. > -lfrtbegin > > -lg2c -lm -lgcc_s > > /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/libgcc.a -lg > > /lib/crt0.o ../extra/zlib/libz.a ../extra/bzip2/libbz2.a > > ../extra/pcre/libpcre.a -ldl -lm -lc > > /usr/local/bin/ld: target dynamic not found > > collect2: ld returned 1 exit status > > make[3]: *** [R.bin] Error 1 > > make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main' > > make[2]: *** [R] Error 2 > > make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main' > > make[1]: *** [R] Error 1 > > make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src' > > make: *** [R] Error 1 > > > > I've tried to use AIX xlc compiler and GCC compiler (v2.95 > and v3.3.3) but > > all of them result to the same error message shown above. > Can anyone give > > me some hint of how to solve it? > > You appear not to be using the standard loader > (`/usr/local/bin/ld'). > Please set MAIN_LDFLAGS (ideally in config.site before > configure, but you > can edit Makeconf now) to whatever your loader needs. If > this is GNU ld > then I guess you need -Wl,--export-dynamic. > > -- > Brian D. Ripley, ripley at stats.ox.ac.uk > Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ > University of Oxford, Tel: +44 1865 272861 (self) > 1 South Parks Road, +44 1865 272866 (PA) > Oxford OX1 3TG, UK Fax: +44 1865 272595 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >
Dear Sir, Still encounter another error message during compilation of R 1.9.1 on AIX 5.1 (target expall not found): make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/m4' make[1]: Nothing to be done for `R'. make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/m4' make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/tools' make[1]: Nothing to be done for `R'. make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/tools' make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/afm' make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/afm' make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc' make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc/html' perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LC__FASTMSG = "true", LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc/html/search' make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc/html/search' make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc/html' make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc/manual' make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/doc' make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/etc' make[1]: Nothing to be done for `R'. make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/etc' make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/share' make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/share' make[1]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src' make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/scripts' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/scripts' make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/scripts' make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/scripts' make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/include' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/include/R_ext' make[3]: Nothing to be done for `R'. make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/include/R_ext' make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/include' make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl' make[3]: `Makedeps' is up to date. make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl' make[3]: `libappl.a' is up to date. make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl' make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/appl' make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath' make[3]: `Makedeps' is up to date. make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath' make[3]: `libnmath.a' is up to date. make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath' make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/nmath' make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix' make[3]: `Makedeps' is up to date. make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix' make[3]: `libunix.a' is up to date. make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix' make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/unix' make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2' make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2' make[4]: `Makedeps' is up to date. make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2' make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2' make[4]: `libbz2.a' is up to date. make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2' make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/bzip2' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre' make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre' make[4]: `Makedeps' is up to date. make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre' make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre' make[4]: `libpcre.a' is up to date. make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre' make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/pcre' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib' make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib' make[4]: `Makedeps' is up to date. make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib' make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib' make[4]: `libz.a' is up to date. make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib' make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra/zlib' make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/extra' make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main' make[3]: `Makedeps' is up to date. make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main' make[3]: `R.bin' is up to date. make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main' make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main' make[2]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules' make[3]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet' make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet' make[4]: `Makedeps' is up to date. make[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet' make[4]: Entering directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet' gcc -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,-bexpall -Wl,-bI:../../../ etc/R.exp -L/usr/local/lib -o internet.so Rsock.lo internet.lo nanoftp.lo nanoh ttp.lo sock.lo sockconn.lo /usr/local/bin/ld: target expall not found collect2: ld returned 1 exit status make[4]: *** [internet.so] Error 1 ake[4]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet' make[3]: *** [R] Error 2 make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules/internet' make[2]: *** [R] Error 1 make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/modules' make[1]: *** [R] Error 1 make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src' make: *** [R] Error 1 Any suggestion? with regards, Frankie Cheung On Wed, 23 Jun 2004, Liaw, Andy wrote:> Date: Wed, 23 Jun 2004 11:02:09 -0400 > From: "Liaw, Andy" <andy_liaw at merck.com> > To: 'Prof Brian Ripley' <ripley at stats.ox.ac.uk>,Frankie Cheung <ftcheung at hkusua.hku.hk>> Cc: R-help at stat.math.ethz.ch > Subject: RE: [R] R 1.9.1 compilation error (on AIX 5.1) > > > From: Prof Brian Ripley > > > > We do have alpha/beta test periods for new releases of R, so > > would anyone > > who did test AIX please confirm that they did succeed. (No > > one reported > > an error, including yourself: are any AIX users interested in helping > > having R available for AIX?) It is much better to have such reports > > during alpha test, or at least beta test. > > I just tried compiling R-1.9.1 as 64-bit on powerpc-ibm-aix5.1.0.0 using > xlc/xlf. The compile went fine, and the only part of make check that failed > was internet.R (since there's no 'Net access from that box). The GCC on > that box is probably too outdated to try, unfortunately. > > Best, > Andy > > > > On Wed, 23 Jun 2004, Frankie Cheung wrote: > > > > > Dear Sir/Madam, > > > > > > I encounter some problem duuring compilation of R 1.9.1 on > > AIX 5.1, after > > > running "./configure" then I type "make" to compile: > > > > > > # make > > > ..... > > > gcc -I../../src/extra/zlib -I../../src/extra/bzip2 > > -I../../src/extra/pcre > > > -I. -I../../src/include -I../../src/include -I/usr/local/include > > > -DHAVE_CONFIG_H -mno-fp-in-toc -g -O2 -c registration.c -o > > registration.o > > > g77 -g -O2 -c xxxpr.f -o xxxpr.o > > > gcc -Wl,-bdynamic -Wl,-bE:../../etc/R.exp -Wl,-bM:SRE > > -L/usr/local/lib -o > > > R.bin CConverters.o Rdynload.o RNG.o apply.o arithmetic.o > > apse.o array.o > > > attrib.o base.o bind.o builtin.o character.o coerce.o > > colors.o complex.o > > > connections.o context.o cov.o cum.o dcf.o datetime.o debug.o devPS.o > > > devPicTeX.o deparse.o deriv.o devices.o dotcode.o dounzip.o > > dstruct.o > > > duplicate.o engine.o envir.o errors.o eval.o format.o > > fourier.o gram.o > > > gram-ex.o graphics.o identical.o internet.o iosupport.o > > lapack.o list.o > > > logic.o main.o mapply.o match.o memory.o model.o names.o > > objects.o optim.o > > > optimize.o options.o par.o paste.o pcre.o platform.o plot.o plot3d.o > > > plotmath.o print.o printarray.o printvector.o printutils.o qsort.o > > > random.o regex.o relop.o saveload.o scan.o seq.o > > serialize.o size.o sort.o > > > source.o split.o sprintf.o subassign.o subscript.o subset.o > > summary.o > > > unique.o util.o version.o vfonts.o registration.o xxxpr.o > > > ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a > > -L/usr/local/lib > > > -L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3 > > > > > -L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/../../.. > > /../powerpc-ibm-aix5.1.0.0/lib > > > > > -L/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/../../.. > > -lfrtbegin > > > -lg2c -lm -lgcc_s > > > /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/libgcc.a -lg > > > /lib/crt0.o ../extra/zlib/libz.a ../extra/bzip2/libbz2.a > > > ../extra/pcre/libpcre.a -ldl -lm -lc > > > /usr/local/bin/ld: target dynamic not found > > > collect2: ld returned 1 exit status > > > make[3]: *** [R.bin] Error 1 > > > make[3]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main' > > > make[2]: *** [R] Error 2 > > > make[2]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src/main' > > > make[1]: *** [R] Error 1 > > > make[1]: Leaving directory `/d1/ftcheung_GoIn/tmp/R-1.9.1/src' > > > make: *** [R] Error 1 > > > > > > I've tried to use AIX xlc compiler and GCC compiler (v2.95 > > and v3.3.3) but > > > all of them result to the same error message shown above. > > Can anyone give > > > me some hint of how to solve it? > > > > You appear not to be using the standard loader > > (`/usr/local/bin/ld'). > > Please set MAIN_LDFLAGS (ideally in config.site before > > configure, but you > > can edit Makeconf now) to whatever your loader needs. If > > this is GNU ld > > then I guess you need -Wl,--export-dynamic. > > > > -- > > Brian D. Ripley, ripley at stats.ox.ac.uk > > Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ > > University of Oxford, Tel: +44 1865 272861 (self) > > 1 South Parks Road, +44 1865 272866 (PA) > > Oxford OX1 3TG, UK Fax: +44 1865 272595 > > > > ______________________________________________ > > R-help at stat.math.ethz.ch mailing list > > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide! > > http://www.R-project.org/posting-guide.html > > > > > > > ------------------------------------------------------------------------------ > Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system. > ------------------------------------------------------------------------------ >
The following are the entries in the config.site file I used to compile R-1.9.1 on AIX. See if that helps. CC=xlc 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" CXX=xlC CXXFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto -q64" Andy> 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):[snip]> > Any suggestion? > > with regards, > Frankie Cheung
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 -I/usr/local/inc 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. Kexiao -----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. CC=xlc 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" CXX=xlC CXXFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto -q64" Andy> 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):[snip]> > Any suggestion? > > with regards, > Frankie Cheung______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
xlc/xlf are IBM compilers. I don't know if they are bundled with the OS. GCC is free, but not necessarily found on all AIX systems (unless IBM decided to bundle GCC with AIX, which would seem odd to me...). Can't really help you here: The GCC on our AIX is too outdated to try. Andy> From: Liao, Kexiao > > 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 > -I/usr/local/inc > 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. > > Kexiao > > > > -----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. > > CC=xlc > 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" > CXX=xlC > CXXFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto -q64" > > > > Andy > > > > > 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): > [snip] > > > > Any suggestion? > > > > with regards, > > Frankie Cheung > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >
Hi Andy, Can you give me the explanation for each parameter of FFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto -qextname -q64". My xlf does not support them. Thanks. Kexiao -----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. CC=xlc 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" CXX=xlC CXXFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto -q64" Andy> 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):[snip]> > Any suggestion? > > with regards, > Frankie Cheung______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> From: Liao, Kexiao [mailto:liao1k at cmich.edu] > > Hi Andy, > Can you give me the explanation for each parameter of FFLAGS="-O > -qmaxmem=-1 -qarch=auto -qtune=auto -qextname -q64". My xlf does not > support them. Thanks.I can't. Those are Greek to me. I should have said that those are flags that the AIX sysadmin used to compile R-1.8.1. I simply copied them over to test whether they still work in R-1.9.1. I'm afraid you'll have to either: 1. check the compiler manual; 2. ask the sysadmin; 3. ask IBM support, or check their web site. Andy> Kexiao > > > -----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. > > CC=xlc > 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" > CXX=xlC > CXXFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto -q64" > > > > Andy > > > > > 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): > [snip] > > > > Any suggestion? > > > > with regards, > > Frankie Cheung > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >