Can TclApp wrap a Threaded TCL code into a Starkit?

Posted by franksnps on 2011-11-22 08:44
Forums: TDK discussion | OS: Windows

Hi,

I am evaluating TCLDevKit and want to generate Starkit in at least 2 platforms.

I am having problems generating a StarKit in Windows (Starting with Windows first, one platform at a time. I'll worry about the other platform later.).

When I execute the Starkit a message pops up saying:
"Attempting to provide package Thread 2.6.7 failed: package Thread 2.6.6 provided instead."
invoked from within "package require 2.6.7"
from "source $startup"
of the main.tcl inside the executable.

The Prefix file that I am using "C:/Tcl/bin/base-tk8.5-thread-win32-ix86.exe" Shows the Thread 2.6.7 as one of the packages available.

There are no errors in the Run or State widgets. Even after enabling the verbose log mode.

The wrapped excutable gets generated fine.

Thanks in advance.

andreas.kupries
ActiveState Staff
Wed, 2011-11-23 10:52

Can you tell us the version of ActiveTcl this basekit is from ?
And the version of the basekit itself ?

The latter can be had with

% teapot-pkg show "C:/Tcl/bin/base-tk8.5-thread-win32-ix86.exe"

(teapot-pkg is a tool in TclDevKit).

I am asking because I just ran "package require Thread 2.6.7" interactively using the "base-tk-thread" basekit, version 8.5.11.0.295438 from our TEApot repository (*) and had no issues at all. I did the test for Win32, and Linux.

For windows I additionally tried

(1) "base-tk-thread" version 8.5.10.0.294993 coming with ActiveTcl 8.5.10.0 (**)
(2) "base-tk-thread" version 8.5.10.0.295062 coming with ActiveTcl 8.5.10.1 (x)
(3) "base-tk-thread" version 8.5.10.0.295402 coming with ActiveTcl 8.5.11.0 (xx)

and had no issues with them either.

(*) Built Nov 20, 2011 (2 days ago)
(**) Built Jun 27, 2011
(x) Built Jul 19, 2011
(xx) Built Nov 07, 2011

franksnps | Wed, 2011-11-23 12:26

Hi,

This was a bad install. Seems to be a version conflict.

I unistalled TCL and reinstalled it. The problem went away.

Thanks.