[R] compiling R for Windows from source

Griffith Feeney gfeeney at hawaii.edu
Fri Mar 31 11:38:19 CEST 2000


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
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
MAKE.EXE[3]: *** [help-base] Error 2
MAKE.EXE[2]: [help/Rhelp.zip] Error 2 (ignored)
zip -jqmX help/Rhelp help/* -x help/00Titles help/AnIndex

zip error: Nothing to do! (help/Rhelp.zip)
MAKE.EXE[2]: *** [help/Rhelp.zip] Error 12
MAKE.EXE[1]: *** [ziponlyhelp-base] Error 2
MAKE.EXE: *** [pkg-base] Error 2

Small section of file created by 'make -n BUILD=MINGW32 > commands.txt':

echo "---------- Making package base ------------"
mkdir -p //L/R-1.0.0/library/base
cp -r   ./DESCRIPTION  ./INDEX  ./TITLE  //L/R-1.0.0/library/base/
//D/BIN/MAKE.EXE -C ./help RHOME=//L/R-1.0.0 PKGDIR=//L/R-1.0.0/src/library
RLIB=//L/R-1.0.0/library ziponlyhelp-base
//D/BIN/MAKE.EXE -C //L/R-1.0.0/library/base -f
//L/R-1.0.0/src/gnuwin32/help/Makefile ZIPFLAGS=jqmX PKG=base zipit
//D/BIN/MAKE.EXE -C help  -f //L/R-1.0.0/src/gnuwin32/help/Makefile uz-Rhelp
//D/BIN/MAKE.EXE -C R-ex  -f //L/R-1.0.0/src/gnuwin32/help/Makefile uz-Rex
//D/BIN/MAKE.EXE -C latex -f //L/R-1.0.0/src/gnuwin32/help/Makefile uz-Rhelp
//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
rm -f help/Rhelp.zip latex/Rhelp.zip R-ex/Rex.zip
zip -jqmX help/Rhelp help/* -x help/00Titles help/AnIndex
zip -jqmX R-ex/Rex R-ex/*.R
zip -jqmX latex/Rhelp latex/*.tex




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