[R] Build R-patched from Source
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Jan 19 08:15:43 CET 2002
On Sat, 19 Jan 2002, Ko-Kang Kevin Wang wrote:
> Hi,
>
> If I want to build R-patched from source (on Windows), do I need to edit
> Makefile and/or MkRules at all?
You don't need to edit the Makefile. You probably do need to edit
MkRules.
> I have followed all instructions in the INSTALL file (under
> R-patched/src/gnuwin32/), as well as downloaded all the files from
> http://www.stats.ox.ac.uk/pub/Rtools/ . My PATH variable has been
> modified accordingly.
Don't think so. hhc.exe appears not to be in your path, hence the first
problem below, and the second looks like another missed step.
> Now, with the only change to MkRules I made was to modify the Tcl/Tk path,
> to C:/Tcl. Then when I do:
> make
> it goes on and on until it displays (I'm compiling under DOS Prompt):
> /cygdrive/c/BIN/MAKE --no-print-directory -C
> C:/Temp/R-patched/src/library/base
> /chm -f C:/Temp/R-patched/src/gnuwin32/help/Makefile base.chm
> cp C:/Temp/R-patched/src/gnuwin32/help/Rchm.css Rchm.css
> cp C:/Temp/R-patched/doc/html/logo.jpg logo.jpg
> hhc base.hhp
> MAKE[3]: hhc: Command not found
> MAKE[3]: [base.chm] Error 127 (ignored)
> mkdir -p C:/Temp/R-patched/library/base/chtml
> cp C:/Temp/R-patched/src/library/base/chm/base.chm
> C:/Temp/R-patched/library/bas
> e/chtml
> cp: cannot stat `C:/Temp/R-patched/src/library/base/chm/base.chm': No
> such file
> or directory
> MAKE[2]: *** [chm-base] Error 1
> MAKE[2]: Leaving directory
> `/cygdrive/c/Temp/R-patched/src/gnuwin32/help'
> MAKE[1]: *** [pkg-base] Error 2
> MAKE[1]: Leaving directory `/cygdrive/c/Temp/R-patched/src/gnuwin32'
> MAKE: *** [rpackage] Error 2
>
> However the *.exe files under bin directory were made and I can open
> RGui.exe without a problem. It is only when I tried to do a make check
> when I found problems in the base package. It also happens when I tried
> running demo(graphics) under RGui - it stops and says cannot find iris
> data (but it is there when I checked under base/data).
Ah, did you install unzip.dll?
> If I then cd into bitmap, and to a:
> make
> then it also works fine.
>
> I also tried to compiled some packages, such as the ctest
> (R-patched/src/library), and get:
> ---------- Making package ctest ------------
> mkdir -p C:/TEMP/R-PATCHED/library/ctest
> cp -r ./INDEX ./TITLE C:/TEMP/R-PATCHED/library/ctest/
> adding build stamp to DESCRIPTION
> make[1]: *** [C:/TEMP/R-PATCHED/library/ctest/zzzz] Error 2
> make[1]: Leaving directory
> `/cygdrive/c/Temp/R-patched/src/library/ctest'
> make: *** [pkg-ctest] Error 2
> make: Leaving directory `/cygdrive/c/TEMP/R-PATCHED/src/gnuwin32'
> *** Installation of ctest failed ***
That I have no idea about.
> Some of the R-recommended packages also have the same problem. As a
> result when I tried to make everything into one SetupR.exe it also stopped
> right at the beginning...
>
> Any help will be greatly appreciated ;-)
You really do have to follow all the instructions exactly.
--
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