From kjetil at entelnet.bo  Sun Mar 30 18:56:34 2003
From: kjetil at entelnet.bo (kjetil brinchmann halvorsen)
Date: Sun Mar 30 23:59:25 2003
Subject: [Rd] R-devel (1.7 to be) on windows XP
Message-ID: <3E872FD2.20664.1B69940@localhost>

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


[Rd] R-devel (1.7 to be) on windows XP
kjetil brinchmann halvorsen