Re: [R] error when when making package tcltk from source (R.0.1)

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Mon 07 Mar 2005 - 04:48:12 EST

On Sun, 06 Mar 2005 20:23:59 +0300, Renaud Lancelot <renaud.lancelot@cirad.fr> wrote :

>Dear R-Helpers,
>
>I am working with Windows XP.
>I am trying to build R 2.0.1 from source (R-2.0.1.tar.gz downloaded from
>CRAN).
>I read the R Installation and Administration manual and the
>README.packages file as well (probably tot carefully enough !).
>
>I installed the recommended tools and software including TCL/TK software
>(from archive ActiveTcl8.4.9.0.121397-win32-ix86.exe). I modified the
>PATH system variable and created new user variables:
>
>TCLTK_CPPFLAGS=C:\tcl\include
>TCLTK_LIBS=C:\tcl\lib

I think these are the problem. In Windows you should only need to edit the MkRules file to change these lines:

# Where does Tcl/Tk live? Spaces allowed. TCL_HOME = $(RHOME)/Tcl
TCL_VERSION = 84
The section I think you were reading where you found TCLTK_CPPFLAGS was specific to using the configure utility in Unix.

Duncan Murdoch



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Mar 07 04:56:55 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:41 EST