Skip to content

builiding R from sources

2 messages · toka tokas, Brian Ripley

#
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

...

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


any help is greatly appreciated!

Thanks in advance,
tokas
#
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:

            
That is just a warning, I think.