[R] builiding R from sources

Prof Brian Ripley
Fri, 07 Oct 2005 14:05:38 -0000

Please tell us which version of R.

If this is 2.2.0 (I think it is) you need to review the tools you are
using, as mingw-runtime-3.8 is required.  (It says so explicitly in that
manual, and that is the current version of that package.)

For R-patched you will also need a recent enough version of binutils (the
ones mentioned in those places are recent enough).

NB: Dr Goto's BLAS is no longer available for Windows, and it seems it is
not going to be in future.  For Linux it is now available for academic use
only.

On Fri, 7 Oct 2005, toka tokas wrote:

> Dear R users,
>
> I've been trying to build R from sources (in Windows) using Dr.
Goto's BLAS,
> unsuccessfully! I've followed the instructions in Section 3.1.2-3.1.3
of "R
> Installation and Administration" manual (but maybe I did something
wrong), but I
> keep receiving the following error:
>
> -- initially I get --
>
> make: ./Rpwd.exe: Command not found
> make[1]: ./Rpwd.exe: Command not found

That is just a warning, I think.

> ...
>
> DR_DLL_BUILD -c arithmetic.c -o arithmetic.o
> arithmetic.c: In function 'do.math1':
> arithmetic.c:886: error: 'expm1' undeclared (first use in this
function)
> arithmetic.c:886: error: (Each undeclared identifier is reported only once
> arithmetic.c:886: error: for each function it appears in.)
> make[4]: *** [arithmetic.o] Error 1
> make[3]: *** [rlibs] Error 2
> make[2]: *** [../../bin/R.dll] Error 2
> make[1]: *** [rbuild] Error 2
> make: *** [all] Error 2

--
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