I'm trying (for the first time) to compile R-devel on my Windows2000 machine. I retrieved the most recent r-devel sources using rsync. I retrieved the R-tools and MinGW and made appropriate modifications to my path (I'm using cygwin): $ type make make is hashed (/c/netsrc/R-devel/tools/make) $ type gcc gcc is /c/mingw/bin/gcc $ type hhc.exe hhc.exe is /c/Program Files/HTML Help Workshop/hhc.exe $ perl --version This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 630 provided by ActiveState Tool Corp. http://www.ActiveState.com Built 20:29:41 Oct 31 2001 I ran ./configure from the top level. Then I cd'ed to src/gnuwin32 and ran make. Things work OK until it comes to compiling packages; I get the same types of errors on all the packages (I tried make -k): ---------- Making package ts ------------ mkdir -p c:/netsrc/R-devel/R/library/ts cp -r ./INDEX ./TITLE ./Makefile ./SOURCES c:/netsrc/R-devel/R/library/ts/ making DLL make[3]: Entering directory `/c/netsrc/R-devel/R/src/library/ts/src' ../../../../etc/Makeconf:61: warning: overriding commands for target `.c.o' c:/netsrc/R-devel/R/src/gnuwin32/MkRules:92: warning: ignoring old commands for target `.c.o' ../../../../etc/Makeconf:63: warning: overriding commands for target `.c.d' c:/netsrc/R-devel/R/src/gnuwin32/MkRules:88: warning: ignoring old commands for target `.c.d' ../../../../etc/Makeconf:70: warning: overriding commands for target `.cc.o' c:/netsrc/R-devel/R/src/gnuwin32/MkRules:98: warning: ignoring old commands for target `.cc.o' ../../../../etc/Makeconf:72: warning: overriding commands for target `.cpp.o' c:/netsrc/R-devel/R/src/gnuwin32/MkRules:101: warning: ignoring old commands for target `.cpp.o' ../../../../etc/Makeconf:74: warning: overriding commands for target `.C.o' c:/netsrc/R-devel/R/src/gnuwin32/MkRules:104: warning: ignoring old commands for target `.C.o' ../../../../etc/Makeconf:96: warning: overriding commands for target `.f.o' c:/netsrc/R-devel/R/src/gnuwin32/MkRules:95: warning: ignoring old commands for target `.f.o' making PPsum.d from PPsum.c making arima.d from arima.c making burg.d from burg.c making carray.d from carray.c making filter.d from filter.c making init.d from init.c making mburg.d from mburg.c making myw.d from myw.c making pacf.d from pacf.c making qr.d from qr.c making starma.d from starma.c (diff R.exp R.exp1 > /dev/null) || cp R.exp1 R.exp ar cr ts.a *.o c:\mingw\bin\ar.exe: *.o: Invalid argument make[3]: *** [ts.a] Error 1 Any suggestions on what I need to do to get this to compile properly? I looked in src/gnuwin32/MkRules, but there doesn't seem to be anything I need to change in there. thanks, Tony Plate -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Tony Plate
2002-Mar-13 16:26 UTC
Fixed: Re: [R] problems compiling R-devel packages in Windows
It seems the problem was that I ran ./configure (I actually ran it twice -- onece before I had installed the MinGW and R-tools stuff and again after I had installed them). After deleting and retrieving all the R-devel files, I ran make in the src/gnuwin32 directory (without running configure at all), and this completed with no errors. Tony Plate -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._