The issue is that your version of Windows is not properly changing to a C locale. The solution is to start the build in an 8-bit (preferably C) locale.

This is documented in R-patched at least: see the posting guide (which asked you to try R-patched before posting) and http://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Building-from-source

BTW: your email is not encoded correctly, so it may be that you have more pervasive locale breakages on your system.


On 18/01/2014 08:01, 赵自强 wrote:
Hi all,

          I¡¯m trying to build R (32-bit) under Windows 7 (64-bit).

          To do so, I just use ¡±make all recommended¡± as mentioned in the
documents and it does work for R 2.15.2.

          However, for R 3.0.2, I get the following error message,

                    gcc -shared -s -static-libgcc -o tools.dll tmp.def text.o
init.o Rmd5.o md5.o signals.o install.o getfmts.o http.o gramLatex.o gramRd.
o ../../../gnuwin32/dllversion.o -L../.././../bin/i386 -lR

Error in parse(n = -1, file = file, srcfile = NULL, keep.source = FALSE) :

   invalid multibyte character in parser at line 32021

Error: unable to load R code in package 'tools'

Execution halted

make[2]: *** [all] Error 1

make[1]: *** [R] Error 1

make: *** [all] Error 2

          It seems that I get stuck in building the package ¡®tools¡¯.

Shall I just replace the codes for ¡®tools¡¯ with those from R 2.15.2?

          Thanks for your help.

Ziqiang Zhao

2014-01-18






        [[alternative HTML version deleted]]



______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



--
Brian D. Ripley,                  rip...@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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to