Hola! I'm trying to make r-devel on windows XP. I downloaded an hour ago R-1.7.0beta_2003-03-30.tar.gz make terminates without any error messages, with make check I get error messages from tests of internet and socket functions, surely because my modem was not connected (It doesn't say in the documentation (file INSTALL) that internet must be connected under make check.) But the file base-Ex.Rout has as last line quit('no'), which I take to mean the rest of the checks went well? make in directory \bitmap went without error messages, (but I had to say just make and not make bitmapdll as INSTALL says.) Then, after installing the files from R_Tcl.zip using unzip from the tools collection: C:\R\R17beta\R-1.7.0\src\gnuwin32>make tcl make tcl ---------- Making package tcltk ------------ adding build stamp to DESCRIPTION making DLL ... gcc -IC:/R/R17beta/R-1.7.0/src/include -Wall -O2 -I "C:/R/R17beta/R- 1.7.0/Tcl"/include -DWin32 -c tcltk.c -o tcltk.o In file included from tcltk.c:3: C:/R/R17beta/R-1.7.0/Tcl/include/tcl.h:2275:26: tclPlatDecls.h: No such file or directory In file included from C:/R/R17beta/R-1.7.0/Tcl/include/tk.h:96, from tcltk.c:4: C:/R/R17beta/R-1.7.0/Tcl/include/X11/Xlib.h:48:28: X11/Xfuncproto.h: No such file or directory C:/R/R17beta/R-1.7.0/Tcl/include/X11/Xlib.h:1205:28: tkIntXlibDecls.h: No such file or directory In file included from C:/R/R17beta/R-1.7.0/Tcl/include/tk.h:96, from tcltk.c:4: C:/R/R17beta/R-1.7.0/Tcl/include/X11/Xlib.h:1207: parse error before "_XFUNCPROTOEND" In file included from tcltk.c:4: C:/R/R17beta/R-1.7.0/Tcl/include/tk.h:120: syntax error before "typedef" make[3]: *** [tcltk.o] Error 1 make[2]: *** [src/tcltk.dll] Error 2 make[1]: *** [pkg-tcltk] Error 2 make: *** [tcl] Error 2 ??? Then make recommended Warning messages: 1: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/clogit.Rd' 2: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/colon.Rd' 3: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/heart.Rd' 4: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/kidney.Rd' 5: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/ovarian.Rd' 6: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/rats.Rd' 7: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/stanford2.Rd' 8: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/survival-internal.Rd' 9: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/survreg.control.Rd' zipping data . . . stataread.c: In function `R_LoadStataData': stataread.c:144: warning: `labeltable' might be used uninitialized in this function ar cr foreign.a *.o . . . grid.c: In function `L_text': grid.c:1043: warning: `bounds' might be used uninitialized in this function . . . gcc -IC:/R/R17beta/R-1.7.0/src/include -Wall -O2 -c unit.c -o unit.o unit.c: In function `pureNullUnitArithmetic': unit.c:279: warning: `result' might be used uninitialized in this function and no more warnings, and no errors. Are this warnings expected? Then make check-recommended runs without giving any errors. Then C:\R\R17beta\R-1.7.0\src\gnuwin32>make docs make docs collecting LaTeX docs for package `base' ... 6 [main] sh 2396 proc_subproc: Couldn't duplicate my handle<0x7D8> for pid 0, Win32 error 6 with some similar errors later, but the pdf docs seem to build correctly Because of the problems (most serious Tcl) I did'nt try to build the installers. One other "problem": INSTALL says that, among othres, hhc.exe needs to be in the path. I don't have it in the path, and more, does'nt know what it is or what it is supposed to do. Can this be cause of some of the problems above? Kjetil Halvorsen
Kjetil, You are sending a long report about your inexperience: most of this is no different from the last few R versions. We *do* actually check that R-devel builds on Windows during feature freeze, so please start with the assumption that problems are with your installation or mis-reading of the instructions. Brian On Sun, 30 Mar 2003, kjetil brinchmann halvorsen wrote:> I'm trying to make r-devel on windows XP. I downloaded an hour ago > R-1.7.0beta_2003-03-30.tar.gz > make terminates without any error messages, with > make check I get error messages from tests of internet and > socket functions, surely because my modem was not > connected (It doesn't say in the documentation (file INSTALL) > that internet must be connected under make check.)And you only get warnings, not actual errors, BTW, so the Internet does *not* need to be connected! And make check does finish, I bet.> But the file base-Ex.Rout has as last line > quit('no'), which I take to mean the rest of the checks went > well?No, it means base checked correctly: it is the first check, not the last one.> make in directory \bitmap went without error messages, > (but I had to say just make and not make bitmapdll as INSTALL says.)INSTALL says to do make bitmapdll in src/gnuwin32, not in bitmap, and bitmap/INSTALL says to do make. As in: If everything is set up in directory bitmap, make bitmapdll will work from this directory. ^^^^^^^^^^^^^^^^^^^ Both pieces of documentation are correct, but your assertions are not.> Then, after installing the files from R_Tcl.zip using unzip from the > tools collection: > > C:\R\R17beta\R-1.7.0\src\gnuwin32>make tcl > make tcl > > ---------- Making package tcltk ------------ > adding build stamp to DESCRIPTION > making DLL ... > gcc -IC:/R/R17beta/R-1.7.0/src/include -Wall -O2 -I "C:/R/R17beta/R- > 1.7.0/Tcl"/include -DWin32 -c tcltk.c -o tcltk.o > In file included from tcltk.c:3: > C:/R/R17beta/R-1.7.0/Tcl/include/tcl.h:2275:26: tclPlatDecls.h: No > such file or directory > In file included from C:/R/R17beta/R-1.7.0/Tcl/include/tk.h:96, > from tcltk.c:4: > C:/R/R17beta/R-1.7.0/Tcl/include/X11/Xlib.h:48:28: X11/Xfuncproto.h: > No such file or directory > C:/R/R17beta/R-1.7.0/Tcl/include/X11/Xlib.h:1205:28: > tkIntXlibDecls.h: No such file or directory > In file included from C:/R/R17beta/R-1.7.0/Tcl/include/tk.h:96, > from tcltk.c:4: > C:/R/R17beta/R-1.7.0/Tcl/include/X11/Xlib.h:1207: parse error before > "_XFUNCPROTOEND" > In file included from tcltk.c:4: > C:/R/R17beta/R-1.7.0/Tcl/include/tk.h:120: syntax error before > "typedef" > make[3]: *** [tcltk.o] Error 1 > make[2]: *** [src/tcltk.dll] Error 2 > make[1]: *** [pkg-tcltk] Error 2 > make: *** [tcl] Error 2 > > ???The files mentioned as not found *are* in Tcl/include in that zip file. Please compare C:/R/R17beta/R-1.7.0/Tcl with the contents of the zip file (and perhaps compare the zip file with that on the master site).> Then > > make recommended > > Warning messages: > 1: incomplete final line found by readLines on `C:\R\R17beta\R- > 1.7.0\src\library\survival/man/clogit.Rd' > 2: incomplete final line found by readLines on `C:\R\R17beta\R- > 1.7.0\src\library\survival/man/colon.Rd' > 3: incomplete final line found by readLines on `C:\R\R17beta\R- > 1.7.0\src\library\survival/man/heart.Rd' > 4: incomplete final line found by readLines on `C:\R\R17beta\R- > 1.7.0\src\library\survival/man/kidney.Rd' > 5: incomplete final line found by readLines on `C:\R\R17beta\R- > 1.7.0\src\library\survival/man/ovarian.Rd' > 6: incomplete final line found by readLines on `C:\R\R17beta\R- > 1.7.0\src\library\survival/man/rats.Rd' > 7: incomplete final line found by readLines on `C:\R\R17beta\R- > 1.7.0\src\library\survival/man/stanford2.Rd' > 8: incomplete final line found by readLines on `C:\R\R17beta\R- > 1.7.0\src\library\survival/man/survival-internal.Rd' > 9: incomplete final line found by readLines on `C:\R\R17beta\R- > 1.7.0\src\library\survival/man/survreg.control.Rd' > zipping data > . > . > . > stataread.c: In function `R_LoadStataData': > stataread.c:144: warning: `labeltable' might be used uninitialized in > this function > ar cr foreign.a *.o > . > . > . > grid.c: In function `L_text': > grid.c:1043: warning: `bounds' might be used uninitialized in this > function > . > . > . > gcc -IC:/R/R17beta/R-1.7.0/src/include -Wall -O2 -c unit.c -o > unit.o > unit.c: In function `pureNullUnitArithmetic': > unit.c:279: warning: `result' might be used uninitialized in this > function > > and no more warnings, and no errors. Are this warnings expected?Yes. We are not responsible for the infelicities in contributed packages.> > > Then > make check-recommended > > runs without giving any errors. > > Then > > C:\R\R17beta\R-1.7.0\src\gnuwin32>make docs > make docs > collecting LaTeX docs for package `base' ... > 6 [main] sh 2396 proc_subproc: Couldn't duplicate my > handle<0x7D8> for pid 0, Win32 error 6 > > with some similar errors later, but the pdf docs seem to > build correctlyThat's a problem with resources on your specific system.> Because of the problems (most serious Tcl) I did'nt try > to build the installers. > > One other "problem": INSTALL says that, among othres, > hhc.exe needs to be in the path. I don't have it in the path, and > more, does'nt know what it is or what it is supposed to do. > Can this be cause of some of the problems above?It is part of HTML Help Workshop. You can't build CHM help without it, so I suspect it must be in your path. -- Brian D. Ripley, ripley@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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
kjetil brinchmann halvorsen wrote:> Hola! > > I'm trying to make r-devel on windows XP. I downloaded an hour ago > R-1.7.0beta_2003-03-30.tar.gz > make terminates without any error messages, with > make check I get error messages from tests of internet and > socket functions, surely because my modem was not > connected (It doesn't say in the documentation (file INSTALL) > that internet must be connected under make check.)Perhaps, but make check tells you: "running tests of Internet and socket functions ... expect some differences" So you have to be more explicit here ... Interesting: The httpget() part hangs on my machine. I'll look closer later this day or tomorrow...> But the file base-Ex.Rout has as last line > quit('no'), which I take to mean the rest of the checks went > well?>> make in directory \bitmap went without error messages, > (but I had to say just make and not make bitmapdll as INSTALL says.)"make bitmapdll" in ...\src\gnuwin32 or "make" in ...\src\gnuwin32\bitmap.> Then, after installing the files from R_Tcl.zip using unzip from the > tools collection:You have to unzip it in ...\R-1.7.0 , *not* in ...\src\gnuwin32 or anywhere else.> C:\R\R17beta\R-1.7.0\src\gnuwin32>make tcl > make tcl[SNIP]> Then > > make recommended > > Warning messages: > 1: incomplete final line found by readLines on `C:\R\R17beta\R- > 1.7.0\src\library\survival/man/clogit.Rd'[SNIP] confirmed...> stataread.c: In function `R_LoadStataData': > stataread.c:144: warning: `labeltable' might be used uninitialized in > this function > ar cr foreign.a *.o[SNIP]> and no more warnings, and no errors. Are this warnings expected?I think so.> Then > make check-recommended > > runs without giving any errors. > > Then > > C:\R\R17beta\R-1.7.0\src\gnuwin32>make docs > make docs > collecting LaTeX docs for package `base' ... > 6 [main] sh 2396 proc_subproc: Couldn't duplicate my > handle<0x7D8> for pid 0, Win32 error 6 > > with some similar errors later, but the pdf docs seem to > build correctly > > Because of the problems (most serious Tcl) I did'nt try > to build the installers. > > One other "problem": INSTALL says that, among othres, > hhc.exe needs to be in the path. I don't have it in the path, and > more, does'nt know what it is or what it is supposed to do. > Can this be cause of some of the problems above?hhc.exe is from Microsoft's HTML Help Workshop (see INSTALL for details where to get it from, or Brian's page). You cannot build *.chm help files without it. Uwe Ligges