[Rd] More comments on R-1.2.1 builds (PR#852)
ripley@stats.ox.ac.uk
ripley@stats.ox.ac.uk
Sat, 17 Feb 2001 16:01:32 +0100 (MET)
On Sat, 17 Feb 2001 beebe@math.utah.edu wrote:
> On IBM RS/6000 AIX 4.2, I built R-1.2.1 with
>
> % env CC=xlc CXX=xlC F77=f77 FC=f77 ./configure
>
> R is now configured for powerpc-ibm-aix4.2.1.0
>
> Source directory: .
> Installation directory: /usr/local
> C compiler: c89 -g
> C++ compiler: xlC -g
> FORTRAN compiler: f77 -g
>
> X11 support: yes
> Gnome support: no
> Tcl/Tk support: yes
>
> R profiling support: yes
> R as a shared library: no
>
> However, the R-1.2.1 build fails in a number of places:
>
> c89 -I. -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H -g -c fortran.c -o fortran.o
> "../../src/include/Fortran.h", line 43.9: 1506-213 (S) Macro name abs cannot
> be redefined.
> "../../src/include/Fortran.h", line 43.9: 1506-358 (I) "abs" is defined on
> line 362 of /usr/include/stdlib.h.
>
> I found that putting "#undef abs" before line 43 of Fortran.h solves
> that problem.
That definition is no longer used in the files using that header, and has
been deleted. It looks like the file fortran.c is redundant too.
> It then dies later in compilation of several routines, of which this
> is typical:
>
> c89 -I. -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H -g -c devices.c -o devices.o
> "../../src/include/Startup.h", line 48.14: 1506-009 (S) Bit-field R_Quiet
> must be of type signed int, unsigned int or int.
> ...
This seems a mis-placed fit of enthusiasm! As the designer of that
structure I certainly did not pack it, and there is just one instance of it
per R process. I have removed the packing, which was added last November,
documented `many more cleanups' from the CVS logs.
(These changes refer to 1.2.2, which is planned for a couple of weeks.)
--
Brian D. Ripley, ripley@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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._