[Rd] [R] R compile on AIX 5.2

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jan 27 08:35:03 CET 2006


[Moved to a more appropriate list.]

This is a problem with your f2c.  R-2.2.1 (of which you used a beta from 
more than a month ago) has been compiled using f2c, and I just checked 
that my f2c (compiled from the current netlib sources) does not produce 
anything like that or near on line 296.

Why not use a real Fortran compiler?  (Your gcc is rather old, as well.)

On Thu, 26 Jan 2006, Matthew Beason wrote:

> Fellow R Enthusiasts..
>
> 	I'm trying to compile R on AIX 5.2 32bit with gcc 3.3.2-5. I've
> tried both the development bundle R-devel_2006-01-25.tar.gz and the
> R-beta.tar.gz from about a month ago. In each instance, I'm using the
> following options prior to running "./configure --prefix=/usr/local/R":
>
> 	OBJECT_MODE=32
> 	MAIN_LDFLAGS=-Wl,-brtl
> 	SHLIB_LDFLAGS=-Wl,-G
> 	F2C=/usr/local/bin/f2c

But R-devel_2006-01-25 does not support F2C, and its R-admin manual says 
so quite explicitly!

> 	The "R-beta" bundle successfully completes the "configure" stage
> but comes up with the following error during "make":
>
> gcc -Wl,-G -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 nanohttp.lo sock.lo sockconn.lo
> /home/mbeason/work/R-beta/src/modules/lapack
> making Lapack.d from Lapack.c
>        /usr/local/bin/f2c  < dlamc.f > c_dlamc.c
>   dlamch:
>   dlamc1:
> Error on line 296: p1_addr:  unknown uname_tag '537090960'
>   dlamc2:
>   dlamc3:
>   dlamc4:
>   dlamc5:
> make: The error code from the last command is 1.

-- 
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-devel mailing list