[R] R compile on AIX 5.3

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Dec 16 20:14:22 CET 2005


1) What version of R is this?  If not 2.2.1 beta, please do try that as 
there have been some recent AIX-related patches.

2) What is on lines 793 & 794 of /usr/include/netinet/in.h?
It looks like some other header file needs to be included first.

We only have reports of recent successful builds of R on AIX 5.2, no 
reports from 5.3.

On Fri, 16 Dec 2005, Matthew Beason wrote:

>
> I'm trying to compile R on AIX 5.3. I've gotten "configure" to work but
> "make" generates the following errors:
>
>
> Target "R" is up to date.
> Target "R" is up to date.
> Target "R" is up to date.
> Target "R" is up to date.
> Target "Makedeps" is up to date.
> Target "libbz2.a" is up to date.
> Target "Makedeps" is up to date.
> Target "libpcre.a" is up to date.
> Target "Makedeps" is up to date.
> Target "libz.a" is up to date.
> Target "R" is up to date.
> Target "Makedeps" is up to date.
> Target "libappl.a" is up to date.
> Target "Makedeps" is up to date.
> Target "libnmath.a" is up to date.
> Target "Makedeps" is up to date.
> Target "libunix.a" is up to date.
> Target "Makedeps" is up to date.
>        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
> platform.c -o platform.o
> In file included from /usr/include/netdb.h:47,
>                 from platform.c:1365:
> /usr/include/netinet/in.h:793: error: parse error before
> "inet6_rth_space"
> /usr/include/netinet/in.h:794: error: parse error before "socklen_t"
> /usr/include/netinet/in.h:800: error: parse error before "socklen_t"
> /usr/include/netinet/in.h:801: error: parse error before "socklen_t"
> /usr/include/netinet/in.h:803: error: parse error before "socklen_t"
> /usr/include/netinet/in.h:804: error: parse error before "socklen_t"
> /usr/include/netinet/in.h:805: error: parse error before "socklen_t"
> /usr/include/netinet/in.h:807: error: parse error before "socklen_t"
> /usr/include/netinet/in.h:809: error: parse error before "socklen_t"
> In file included from platform.c:1366:
> /usr/include/sys/socket.h:374: error: parse error before "socklen_t"
> /usr/include/sys/socket.h:378: error: parse error before
> "msg_controllen"
> /usr/include/sys/socket.h:380: error: parse error before '}' token
> /usr/include/sys/socket.h:404: error: parse error before "socklen_t"
> /usr/include/sys/socket.h:408: error: parse error before '}' token
> /usr/include/sys/socket.h:475: error: parse error before "socklen_t"
> /usr/include/sys/socket.h:476: error: parse error before "socklen_t"
> /usr/include/sys/socket.h:477: error: parse error before "socklen_t"
> /usr/include/sys/socket.h:478: error: parse error before "socklen_t"
> /usr/include/sys/socket.h:484: error: parse error before "socklen_t"
> /usr/include/sys/socket.h:485: error: parse error before "socklen_t"
> /usr/include/sys/socket.h:486: error: parse error before "socklen_t"
> /usr/include/sys/socket.h:490: error: parse error before "socklen_t"
> /usr/include/sys/socket.h:491: error: parse error before "socklen_t"
> 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.
>
> Any ideas on what may be preventing make from completing successfully? I
> can provide an additional information required.
>
> Thanks!
>
> Matt
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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




More information about the R-help mailing list