Note your first error message is
> "connections.c", line 2580.18: 1506-052 (S) Duplicate case label
for value 4.
> Labels must be unique.
and the relevant line is
#if SIZEOF_LONG == 8
case sizeof(long):
so you have somehow got options to give you 4-byete longs although
configure found 8-byte longs. How you managed that is not clear from your
output, and it has never been reported before.
Other people have succeeded on AIX 5.x, including with 2.2.0-beta. Our
advice would be to try the latter (since the 2.1.x branch is no longer
under development), and to ask detailed programming questions in a
suitable forum (an AIX forum, or R-devel where you are more likely to get
a response).
On Thu, 29 Sep 2005, Raphael Bolze wrote:
> Hi,
>
> I need to install R-2.1.1 on a AIX machine. (i have tried several machine
with
> different os version : 5.1, 5.2 and 5.3)
> I have tried several configuration which was advise on the R-install and
admin
> section :
> but none goes to the end of compilation.
>
> my configure command line is :
> #>./configure --prefix=$HOME/local/R-2.1.1 CC=xlc_r CXX=xlC_r F77=xlf_r
> --without-x --without-readline OBJECT_MODE=64 LDFLAGS="-brtl"
CFLAGS="-O
> -qstrict" FFLAGS="-O -qstrict" CXXFLAGS="-O
-qstrict"
>
> then i compiled the source :
> #>make
> and i have the following error.
> making vsnprintf.d from vsnprintf.c
> xlc_r -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 -O -qstrict -c Rmain.c -o Rmain.o
> xlc_r -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 -O -qstrict -c CConverters.c -o
> CConverters.o
> xlc_r -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 -O -qstrict -c CommandLineArgs.c -o
> CommandLin
> eArgs.o
> "CommandLineArgs.c", line 170.32: 1506-1298 (W) The subscript 31
is out of
> range. The valid range is 0 to 30.
> xlc_r -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 -O -qstrict -c Rdynload.c -o
> Rdynload.o
> xlc_r -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 -O -qstrict -c Renviron.c -o
> Renviron.o
> xlc_r -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 -O -qstrict -c RNG.c -o RNG.o
> xlc_r -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 -O -qstrict -c apply.c -o apply.o
> xlc_r -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 -O -qstrict -c arithmetic.c -o
> arithmetic.o
> xlc_r -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 -O -qstrict -c apse.c -o apse.o
> xlc_r -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 -O -qstrict -c array.c -o array.o
> xlc_r -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 -O -qstrict -c attrib.c -o attrib.o
> xlc_r -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 -O -qstrict -c base.c -o base.o
> xlc_r -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 -O -qstrict -c bind.c -o bind.o
> xlc_r -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 -O -qstrict -c builtin.c -o
builtin.o
> xlc_r -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 -O -qstrict -c character.c -o
> character.o
> xlc_r -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 -O -qstrict -c coerce.c -o coerce.o
> xlc_r -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 -O -qstrict -c colors.c -o colors.o
> xlc_r -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 -O -qstrict -c complex.c -o
complex.o
> xlc_r -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 -O -qstrict -c connections.c -o
> connections.o
> "connections.c", line 2580.18: 1506-052 (S) Duplicate case label
for value 4.
> Labels must be unique.
> "connections.c", line 2598.18: 1506-052 (S) Duplicate case label
for value 4.
> Labels must be unique.
> "connections.c", line 2757.18: 1506-052 (S) Duplicate case label
for value 4.
> Labels must be unique.
> "connections.c", line 2801.18: 1506-052 (S) Duplicate case label
for value 4.
> Labels must be unique.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 2.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
>
>
> Anyone can help me !
> Thanks for you help.
>
> Rapha?l BOLZE
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>
--
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