Indeed, there is no file named "dlltool" anywhere around here! So, at last I am beginning to suspect that my collection of tools is incomplete. What I have got is "rw1020sp.zip" and "http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip". These are properly istalled, I think. readme.packages says "If your package has no C nor Fortran nor C++ sources, see `Simple ports' near the bottom of this file." I don't have any of these sources; going to the bottom, readme.packages says: "You will need suitable versions of Unix tools including make, sh, rm, sed, awk, mkdir, echo, cp and cat; we have packaged a set at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip. perl5, available via http://www.activestate.com/Products/ActivePerl/" I might have misunderstood something here. Q: Do I have to compile R myself in order to be able to use Rcmd? Q: Do I have to get "bin-msvcrt-2000-03-27.zip", "binutils-19990818-1-msvcrt.zip", and "gcc-2.95.2-1-msvcrt.zip" from "http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip", even if my package has no C nor Fortran nor C++ sources? Heinrich.> ---------- > Von: Peter Dalgaard BSA[SMTP:p.dalgaard at biostat.ku.dk] > Gesendet: Freitag, 05. J?nner 2001 11:08 > An: RINNER Heinrich > Cc: 'r-help at stat.math.ethz.ch' > Betreff: Re: [R] running Rcmd INSTALL, again > > RINNER Heinrich <H.RINNER at TIROL.GV.AT> writes: > > > Ok, one last try. R1.2.0, WinNT 4.0: > > [R is installed in: R_HOME=D:\Programme\R\rw1020] > > > > Can anyone give a hint what the following error message (when running > Rcmd > > INSTALL) means and what to do about it? > > > > cd D:\Programme\R\rw1020\src\library > > D:\Programme\R\rw1020\bin\rcmd install testfunctions > > make: Entering directory `/cygdrive/d/Programme/R/rw1020/src/gnuwin32' > > dlltool -k --as as --dllname R.dll --def R.exp --output-lib libR.a > > make: dlltool: Command not found > > make: *** [libR.a] Error 127 > > make: Leaving directory `/cygdrive/d/Programme/R/rw1020/src/gnuwin32' > > *** Installation of testfunctions failed *** > > That would seem to mean that dlltool is not in your PATH or > nonexistant. I'm more than a bit rusty on the native Windows builds, > but I believe dlltool is supposed to be found among all the other > gnuwin32 tools like gcc. > > -- > O__ ---- Peter Dalgaard Blegdamsvej 3 > c/ /'_ --- Dept. of Biostatistics 2200 Cph. N > (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 > ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
As ever, please do check that you have used exactly the addresses in the documentation, and followed just one set of instructions. You seem to have used half of one and half of another here. There's a fix at the bottom. On Fri, 5 Jan 2001, RINNER Heinrich wrote:> Indeed, there is no file named "dlltool" anywhere around here! > So, at last I am beginning to suspect that my collection of tools is > incomplete. > What I have got is "rw1020sp.zip" and > "http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip". These are properly > istalled, I think.Eh? There is no such file, nor is that what readme.packages says. auk% wget http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip --10:52:38-- http://www.stats.ox.ac.uk:80/pub/bdr/RWin/tools.zip => `tools.zip' Connecting to www.stats.ox.ac.uk:80... connected! HTTP request sent, awaiting response... 404 Not Found 10:52:39 ERROR 404: Not Found.> readme.packages says "If your package has no C nor Fortran nor C++ sources, > see `Simple ports' > near the bottom of this file." I don't have any of these sources; going to > the bottom, readme.packages says: > "You will need > suitable versions of Unix tools including make, sh, rm, sed, awk, > mkdir, echo, cp and cat; we have packaged a set at > http://www.stats.ox.ac.uk/pub/Rtools/tools.zip. > perl5, available via http://www.activestate.com/Products/ActivePerl/" > > I might have misunderstood something here. > Q: Do I have to compile R myself in order to be able to use Rcmd?No.> Q: Do I have to get "bin-msvcrt-2000-03-27.zip", > "binutils-19990818-1-msvcrt.zip", and "gcc-2.95.2-1-msvcrt.zip" from > "http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip", even if my package has > no C nor Fortran nor C++ sources?You do to use Rcmd INSTALL. That's not mentioned in that section, is it? And that's not where you get them. I think the simplest way out for you is to change the line in src/gnuwin/32/Makefile (from rw1020sp.zip) from pkg-%: libR.a #../include/globalvar.h to pkg-%: #libR.a #../include/globalvar.h (just insert a #). If you ever do want to make a package with C etc, you will need to get the compilers and remove the #. -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Fri, Jan 05, 2001 at 11:25:51AM +0100, RINNER Heinrich wrote:> Indeed, there is no file named "dlltool" anywhere around here! > So, at last I am beginning to suspect that my collection of tools is > incomplete. > What I have got is "rw1020sp.zip" and > "http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip". These are properly > istalled, I think. > > readme.packages says "If your package has no C nor Fortran nor C++ sources, > see `Simple ports' > near the bottom of this file." I don't have any of these sources; going to > the bottom, readme.packages says: > "You will need > suitable versions of Unix tools including make, sh, rm, sed, awk, > mkdir, echo, cp and cat; we have packaged a set at > http://www.stats.ox.ac.uk/pub/Rtools/tools.zip. > perl5, available via http://www.activestate.com/Products/ActivePerl/" > > I might have misunderstood something here. > Q: Do I have to compile R myself in order to be able to use Rcmd?No.> Q: Do I have to get "bin-msvcrt-2000-03-27.zip", > "binutils-19990818-1-msvcrt.zip", and "gcc-2.95.2-1-msvcrt.zip" from > "http://www.stats.ox.ac.uk/pub/bdr/RWin/tools.zip", even if my package has > no C nor Fortran nor C++ sources?No/Yes. No: you don't need the C and Fortran compiler but Yes: if I understand, you have been found a problem in the src/gnuwin32/Makefile distributed in rwxxxxsp.zip. This Makefile try to build the export library for R.dll also for packages which don't need them. You can try the following routes: 1) edit src/gnuwin32/Makefile, find the line pkg-%: libR.a #... and change it to pkg-%: #libR.a ... i.e., move the # before libR.a This should works but I can test it now (I haven't a Windows system at hand). Keep in mind that the modified Makefile will be useless for installing packages with C or Fortran sources. or 2) install binutils-19.... dlltool lives there. guido -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._