[R] R compile on AIX 5.3
Matthew Beason
mbeason at harrahs.com
Fri Dec 16 20:49:31 CET 2005
Professor,
It is version 2.2.0 of R. I'll download 2.2.1 straight away and
see if that makes a difference.
On lines 793 & 794 of /usr/include/netinet/in.h, I found the
following:
socklen_t inet6_rth_space(int, int);
void *inet6_rth_init(void *, socklen_t, int, int);
I have one other question for you if you don't mind. Do I need a
library such as ATLAS to get the most use out of R? Is there a
difference with R if you don't use something like ATLAS?
I'm glad to be blazing new trails as far as compiling R on AIX
5.3. I think this is a useful exercise.
Thanks again!
Matthew Beason
Unix Systems Engineer - Unix Engineering
Harrah's Entertainment, Inc.
One Harrah's Court, Las Vegas, NV 89119-4312
Office: 702-494-4097
Mobile: 702-622-6902
mbeason at harrahs.com
The information contained in this email may be legally privileged and
confidential. It is intended to be read only by the person to whom it is
addressed. If you have received this in error or are not the intended
recipient, please immediately notify the sender and delete all copies of
this message. Thank you.
-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
Sent: Friday, December 16, 2005 11:14 AM
To: Matthew Beason
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] R compile on AIX 5.3
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