How to get tkcon out of the teapot?

Posted by nurdglaw on 2008-06-10 07:52

Hi,

How do I get tkcon out of the teapot?

I'm running on XP and have upgraded from 8.4.14 to 8.5.2 recently - not without problems :-( but I think I've got around all of them except the lack of tkcon.

If I try to install it, from cygwin, I get:

$ which teacup
/cygdrive/c/Tcl/bin/teacup
$ teacup version

8.5.2.1.285763

$ teacup install tkcon
Resolving tkcon ... [application tkcon 2.5 tcl ... Already installed in repository, probing dependencies]
Resolving Tk 8 -is package ... [package Tk 8.5.2 _ ... Installed outside repository, probing dependencies]
Resolving Tcl 8 -is package ... [package Tcl 8.5.2 _ ... Installed outside repository, probing dependencies]
Resolving http 2 -is package ... [package http 2.7 _ ... Installed outside repository, probing dependencies]

How disturbed should I be by the Tk, Tcl and http installed outside repository messages? The only tkcon.tcl I can find on the C: drive is at C:\Program Files\Tcl\bin\tkcon.tcl and is version 2.4. My 8.4.14 installation is/was at C:\Program Files\Tcl, the 8.5.2 version is at C:\Tcl.

Any help gratefully received,
Thanks,
Alan

jeffh
ActiveState Staff
Tue, 2008-06-10 10:31

You will find tkcon installed in the local teapot as tkcon-2.5.tm, which you can just copy anywhere you want as tkcon.tcl or some other name.

The "outside repository" messages means the teacup recognizes these packages are installed, just not in the localized teapot (as is standard for core bits).

nurdglaw | Wed, 2008-06-11 01:31

Thanks!

Is there a short answer to the question "Why do it this way"? I'm just curious :-).

Alan

jeffh
ActiveState Staff
Wed, 2008-06-11 13:21

The short answer is that the teapot is optimized for packages, and apps like tkcon are not well handled yet.