[R] 'init.win' error when installing from source

Duncan Murdoch murdoch.duncan at gmail.com
Tue Jul 3 02:13:08 CEST 2012


On 12-07-02 2:05 PM, Erin Hodgess wrote:
> Dear R People:
>
> I'm installing R 2-.15.1 on a Windows 32 bit machine from source.
>
> I'm getting a strange error about init.win (please see below)
>
> Does this look familiar to anyone, please?

Yes, a file was missed from the tarball.  If you don't want to use 
R-patched, you need to download RHOME/src/modules/lapack/init_win.c, 
e.g. from

https://svn.r-project.org/R/trunk/src/modules/lapack/init_win.c

There was a corrected tarball posted, but I forget the name, and can't 
seem to spot it.

Duncan Murdoch


>
> Thanks,
> Erin
>
>
>
> Microsoft Windows [Version 6.1.7600]
> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
>
> c:\R\R-2.15.1\src\gnuwin32>make all recommended
> make all recommended
> make[1]: `MkRules' is up to date.
> make[4]: Nothing to be done for `svnonly'.
> installing C headers
> make[2]: Nothing to be done for `all'.
> make[2]: `libRblas.dll.a' is up to date.
> make[5]: Nothing to be done for `svnonly'.
> installing C headers
> make --no-print-directory -C ../extra/intl CFLAGS='-O3 -Wall -pedantic
> -mtune=core2' -f Makefile.win
> make --no-print-directory -C ../appl CFLAGS='-O3 -Wall -pedantic
> -mtune=core2' FFLAGS='-O3 -mtune=core2' -f Makefile.win
> make --no-print-directory -C ../nmath CFLAGS='-O3 -Wall -pedantic
> -mtune=core2' FFLAGS='-O3 -mtune=core2' -f Makefile.win
> make --no-print-directory -C ../main CFLAGS='-O3 -Wall -pedantic
> -mtune=core2' FFLAGS='-O3 -mtune=core2' malloc-DEFS='-DLEA_MALLOC' -f
> Makefile.win
> make --no-print-directory -C ./getline CFLAGS='-O3 -Wall -pedantic -mtune=core2'
> make[4]: `gl.a' is up to date.
> make -f Makefile.win makeMakedeps
> make -f Makefile.win libpcre.a
> make[5]: `libpcre.a' is up to date.
> make[4]: Nothing to be done for `all'.
> make -f Makefile.win makeMakedeps
> make -f Makefile.win libtre.a
> make[5]: `libtre.a' is up to date.
> make[4]: Nothing to be done for `all'.
> make[5]: `stamp' is up to date.
> make[5]: `liblzma.a' is up to date.
> make[3]: `R.dll' is up to date.
> cp R.dll ../../bin/i386
> make[3]: Nothing to be done for `all'.
> make --no-print-directory -C front-ends
> make[2]: `COPYRIGHTS' is up to date.
> make --no-print-directory -C ../modules -f Makefile.win \
>    CFLAGS='-O3 -Wall -pedantic -mtune=core2' FFLAGS='-O3 -mtune=core2'
> make[5]: *** No rule to make target `init_win.o', needed by
> `../../../bin/i386/Rlapack.dll'.  Stop.
> make[4]: *** [all] Error 2
> make[3]: *** [all] Error 1
> make[2]: *** [rmodules] Error 2
> make[1]: *** [rbuild] Error 2
> make: *** [all] Error 2
>
> c:\R\R-2.15.1\src\gnuwin32>
>
> Thanks,
> Erin
>
>
>
>



More information about the R-help mailing list