[Starkit] version problems with current tclkit 8.5a4
Jean-Claude Wippler
jcw at equi4.com
Thu Jun 22 11:42:50 CEST 2006
Martin Lemburg wrote:
> with the current tclkits 8.5a4 (wish and tclsh) I wanted to use the
> original tcl package "registry":
> % package require registry
> attempt to provide package registry 1.1.5 failed: package registry
> 1.2 provided
> instead
> % package require registry 1.2
> can't find package registry 1.2
> Is there any chance to solve this problem? It's not so nice to put
> a "regular" working copy of the registry package in each starpack
> using it! Thanks and best regards,
This is due to Tcl's stricter handling of package numbers provided
versus actually set up. I will fix this for the next round of tclkit
builds.
For now, you should be able to work around this by adding this line
to your app or to some pkgIndex.tcl in your starkits:
package ifneeded registry 1.2 {load {} registry}
No need to actually include the code, it's part of every Windows tclkit.
-jcw
More information about the Starkit
mailing list