[R] Re: compiling R for Windows from source

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Mar 31 13:39:40 CEST 2000

On Thu, 30 Mar 2000, Griffith Feeney wrote:

> At 12:19 AM 3/30/00 -1000, [Prof Brian Ripley] wrote:
> >You are using the wrong make.  Please read the instructions very carefully.
> >You _must_ use the cygwin make with the supplied Makefiles.
> [snip]
> Thanks, I read them many times, but clearly not carefully enough. I'm now
> using the cygwin make with the mingw32 gcc. Compilation went fine for a
> while and produced an apparently functioning Rgui.exe, but seems to have
> bombed out trying to zip the help files for the base package. Problem seems
> to be simply that /src/library/base/help doesn't exist. Since it isn't in

It should not. It is library/base/help that is supposed to exist.

> the source tree, it should presumably have been created at this stage of
> the build, but for some reason hasn't been. I've looked at commands
> generated by make up to this point, but can't figure out why.
> Tail end of console display following 'make BUILD=MINGW32':
> //D/BIN/MAKE.EXE -C //L/R-1.0.0/library/base -f
> //L/R-1.0.0/src/gnuwin32/help/Ma
> kefile ZIPFLAGS=jqmX PKG=base zipit
> MAKE.EXE: *** help: No such file or directory.  Stop.
> MAKE.EXE[2]: [help/Rhelp.zip] Error 2 (ignored)
> MAKE.EXE: *** R-ex: No such file or directory.  Stop.
> MAKE.EXE[2]: [help/Rhelp.zip] Error 2 (ignored)
> MAKE.EXE: *** latex: No such file or directory.  Stop.
> MAKE.EXE[2]: [help/Rhelp.zip] Error 2 (ignored)
> //D/BIN/MAKE.EXE -C //L/R-1.0.0/src/gnuwin32/help help-base
> perl build.help  -txt -html -example -latex //L/R-1.0.0/src/library/base
> //L/R-1
> .0.0/library
> Package //L/R-1.0.0/src/library/base does not exist

That's your problem.  Now, what do you think //L/R-1.0.0 is?  That is
not a Windows file specification.  Why are you using it?  I've never seen
anything like this.  You may need to set RHOME explicitly in the Makefile
if your tools are getting confused.  (Looks as if you might be using
bash.exe not sh.exe somehow.)

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

More information about the R-help mailing list