Hello, I am trying to build an R package for Windows from an R package for Linux. There seems to be a "windres" problem somewhere. Here's what I get. C:\Temp>Rcmd build --binary VGAM > mm make[2]: windres: Command not found make[2]: *** [VGAM_res.o] Error 127 make[1]: *** [src/VGAM.dll] Error 2 make: *** [pkg-VGAM] Error 2 In more details, it goes like the following. C:\Temp>Rcmd build --binary VGAM * checking for file 'VGAM/DESCRIPTION' ... OK make: Entering directory `/cygdrive/c/PROGRA~1/R/rw1051/src/gnuwin32' make DLLNM= FLIBS="-lg2c -lRblas" \ -C C:/Temp/VGAM PKG=VGAM RHOME=c:/PROGRA~1/R/rw1051 RLIB=c:/TEMP/Rbuild.972 \ -f c:/PROGRA~1/R/rw1051/src/gnuwin32/MakePkg make[1]: Entering directory `/cygdrive/c/Temp/VGAM' ---------- Making package VGAM ------------ mkdir -p c:/TEMP/Rbuild.972/VGAM cp -r ./INDEX ./TITLE ./Installation c:/TEMP/Rbuild.972/VGAM/ adding build stamp to DESCRIPTION making DLL make[2]: Entering directory `/cygdrive/c/Temp/VGAM/src' make[3]: `libR.a' is up to date. make[3]: `libRblas.a' is up to date. windres --include-dir c:/PROGRA~1/R/rw1051/src/include -i VGAM_res.rc -o VGAM_r es.o make[2]: windres: Command not found make[2]: *** [VGAM_res.o] Error 127 make[2]: Leaving directory `/cygdrive/c/Temp/VGAM/src' make[1]: *** [src/VGAM.dll] Error 2 make[1]: Leaving directory `/cygdrive/c/Temp/VGAM' make: *** [pkg-VGAM] Error 2 make: Leaving directory `/cygdrive/c/PROGRA~1/R/rw1051/src/gnuwin32' *** Installation of VGAM failed *** installing R.css in c:/TEMP/Rbuild.972 * building 'VGAM_0.4-9.zip' updating: VGAM/ (stored 0%) updating: VGAM/INDEX (deflated 24%) updating: VGAM/TITLE (deflated 13%) updating: VGAM/Installation (deflated 51%) updating: VGAM/DESCRIPTION (deflated 37%) Could somebody please tell me what's gone wrong? What software has to be installed or reinstalled? The above is using R1.5.1 under Windows 2000 Professional. The VGAM library contains FORTRAN and C. Thanks in advance Thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Fri, 28 Jun 2002, Thomas Yee wrote:> Hello, > > I am trying to build an R package for Windows from an R package > for Linux. There seems to be a "windres" problem somewhere. > Here's what I get. > > C:\Temp>Rcmd build --binary VGAM > mm > make[2]: windres: Command not found > make[2]: *** [VGAM_res.o] Error 127 > make[1]: *** [src/VGAM.dll] Error 2 > make: *** [pkg-VGAM] Error 2windes is part of the compiler suite, so you either have not installed the compilers or not put them in your path. Please review `readme.packages'. And, BTW, I suggest you use Rcmd check or even Rcmd INSTALL first, as you can't build a binary package unless you can install it, -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._