[R] windres problem

Thomas Yee t.yee at auckland.ac.nz
Fri Jun 28 02:00:33 CEST 2002


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list