[Starkit] package command behaves differently in packed and unpacked starkit

Uwe Koloska koloska at voiceinterconnect.de
Fri Sep 22 17:37:44 CEST 2006


Hello,

dqkit - the batteries included tclkit - can't load the package starkit.

  % package require starkit
  attempt to provide package starkit 1.0 failed: package
      starkit 1.3.1 provided instead

to use dqkit (since I need a Iwidgets) I tried to patch the ifneeded database
In main.tcl of the starkit.vfs I added at the top:

  if {[catch {package require starkit}]} {
      catch {package require dummy};  # needed to fill the ifneeded-DB
      package ifneeded starkit 1.3.1 [package ifneeded starkit 1.0]
      package ifneeded starkit 1.0 {}
      package require starkit
  }

This works well in an unpacked starkit called with
  dqkit starkit.vfs/main.tcl

but doesn't work after packing the starkit with
  sdx wrap starkit.kit


What is the difference between a packed and an unpacked starkit, that refuses 
to work in this case?

Uwe

-- 
Dipl.-Ing. Uwe Koloska

voice INTER connect GmbH           Tel +351 481 088 3
Ammonstraße 35                     Fax +351 438 399 25
01067 Dresden - Germany            www.voiceinterconnect.de


More information about the Starkit mailing list