Frédéric Fournier
2011-Nov-21 21:20 UTC
[R] Error building R 2.14.0 from sources on Win7 x64
Hello everyone, I'm trying to build R 2.14.0 from source on Win7 x64 using the instructions from "R Installation and Administration" (version 2.13.2), but when I try to make the core files (as of step 3.1.3 of the instructions), it fails with the following error: ... x86_64-w64-mingw32-gcc -std=gnu99 -m64 -I. -I../../gnuwin32 -I../../include -DGA_DLL_BUILD -DENABLE_NLS=1 ?-O3 -Wall -pedantic -mtune=core2 ? -c tooltips.c -o tooltips.o x86_64-w64-mingw32-gcc -std=gnu99 -m64 -I. -I../../gnuwin32 -I../../include -DGA_DLL_BUILD -DENABLE_NLS=1 ?-O3 -Wall -pedantic -mtune=core2 ? -c windows.c -o windows.o x86_64-w64-mingw32-windres -F pe-x86-64 ? -i dllversion.rc -o dllversion.o comm: file 1 is not in sorted order make[4]: *** [Rgraphapp.def] Error 1 make[3]: *** [rlibs] Error 1 make[2]: *** [../../bin/x64/R.dll] Error 2 make[1]: *** [rbuild] Error 2 make: *** [all] Error 2 As anyone stumbled on this problem before? Any idea what I can do to solve this problem? Thank you very much for your help!
Prof Brian Ripley
2011-Nov-22 07:25 UTC
[R] Error building R 2.14.0 from sources on Win7 x64
On Mon, 21 Nov 2011, Fr?d?ric Fournier wrote:> Hello everyone, > I'm trying to build R 2.14.0 from source on Win7 x64 using the > instructions from "R Installation and Administration" (version > 2.13.2), but when I try to make the core files (as of step 3.1.3 of > the instructions), it fails with the following error: > > ... > x86_64-w64-mingw32-gcc -std=gnu99 -m64 -I. -I../../gnuwin32 > -I../../include -DGA_DLL_BUILD -DENABLE_NLS=1 ?-O3 -Wall -pedantic > -mtune=core2 ? -c tooltips.c -o tooltips.o > x86_64-w64-mingw32-gcc -std=gnu99 -m64 -I. -I../../gnuwin32 > -I../../include -DGA_DLL_BUILD -DENABLE_NLS=1 ?-O3 -Wall -pedantic > -mtune=core2 ? -c windows.c -o windows.o > x86_64-w64-mingw32-windres -F pe-x86-64 ? -i dllversion.rc -o dllversion.o > comm: file 1 is not in sorted order > make[4]: *** [Rgraphapp.def] Error 1 > make[3]: *** [rlibs] Error 1 > make[2]: *** [../../bin/x64/R.dll] Error 2 > make[1]: *** [rbuild] Error 2 > make: *** [all] Error 2 > > > As anyone stumbled on this problem before? Any idea what I can do to > solve this problem?I've never seen it, and I've built R on Windows many thousands of time. Change your locale? Does setting LC_COLLATE=C in your environment help?> Thank you very much for your help! > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.htmlPLEASE do: this was not an approporiate question for R-help. -- 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