[R] Where is the tcltk package?

Rolf Turner r.turner at auckland.ac.nz
Fri Apr 8 03:38:55 CEST 2011

On 08/04/11 13:23, Erik Iverson wrote:

> You probably need the tcl-dev and tk-dev (or similarly named) for your version of
> tcltk to compile.  Those contain the development headers needed to compile
> programs against the tcltk library.  You can look in the config.log file created
> by the R "configure" process and grep for "tcl" to see what might have gone
> wrong, but my guess is tcl.h or something like that couldn't be found.

Grep/groping around I found:

> configure:31311: checking for tclConfig.sh
> configure:31344: result: no
> configure:31353: checking for tclConfig.sh in library (sub)directories
> configure:31374: result: no
> configure:31386: checking for tkConfig.sh
> configure:31419: result: no
> configure:31428: checking for tkConfig.sh in library (sub)directories
> configure:31449: result: no
> configure:31547: checking for tcl.h
> conftest.c:201:17: error: tcl.h: No such file or directory
> configure:31571: result: no

So your conjecture would appear to be spot on.  But what do I ***do*** 
about it?


         Rolf Turner

More information about the R-help mailing list