Questions tagged [starkit]

Starkits are a packaging and deployment mechanism for Tcl.

Starkits are a packaging and deployment mechanism for Tcl. They contain a compressed virtual filesystem that a suitably-enabled runtime (typically a tclkit build or distribution like ActiveTcl) can mount. They can contain application scripts, libraries (both scripted and binary) and other support files (images, icons, etc.) A starkit works the same whether expanded as a normal directory tree, or built into a single directory archive.

A starkit can be combined with a tclkit runtime to form a single-file executable distribution of an application. That application will be runnable without any external dependencies, and as such will not require installation by users in order to be usable. The combined distributable executable is termed a “starpack”.

14 questions
8
votes
1 answer

Steps to Create A Tcl Starkit on a Windows Platform

I am trying to figure out the basic steps to creating a Tcl starkit in Windows. I've asked a similar question before, as well as purchased a book on Tcl programming, visited wiki.tcl.tk, emailed Tcl programmers directly, etc... In all, I've…
DFM
  • 473
  • 4
  • 15
3
votes
1 answer

Is there a way to unwrap a Tclkit packed exe?

I have an exe that has been wrapped using this method: http://www.kocjan.org/tclmentor/10-tclkits-building-standalone-tcl-binaries.html Is there any way to unpack it back into a .kit file or a vfs structure?
Erin
  • 1,848
  • 15
  • 26
3
votes
3 answers

Tcl Starkit that Reads of off a Sqlite Database

I am trying to build a Tcl Application that reads off of a Sqlite database. When I build a starkit for the application and place the Sqlite database file next to the .tcl file within the .vfs folder and try to run the application (.exe), I receive…
DFM
  • 473
  • 4
  • 15
2
votes
1 answer

How to make a starpack like binary for customized tcl intepreter?

I'm trying to make a starpack like single binary which wrapped a bunch of tcl scripts inside. I looked at the TclApp doc from ActiveTcl, it seems like you have to use their basekit (e.g. /usr/local/ActiveTcl/bin/base-tk8.5-thread-linux-ix86).…
Terry Shi
  • 968
  • 1
  • 10
  • 14
1
vote
1 answer

tcl/tk - dependency library issue in multifile starkit

I am trying to create a starkit consisting of multiple tcl source files, which can be executed without problem on my machine with wish. However, on trying to do the same with tclkit, I got this error from one of the second level source files sourced…
SuibianP
  • 99
  • 1
  • 11
1
vote
1 answer

create .dll in windows for tcl/tk starkit

I have a .so(for example abc.so) file created using swig in unix which i am abe to load in the tcl program using 'load abc.so'. I plan to run the tcl program in windows, therefore need to create a corresponding abc.dll file which can be loaded…
1
vote
1 answer

Tcl Dev Kit: can't find package starkit

I am not able to wrap the most simple TCL application using TclDevKit5.2. I on 64 bit CentOS, and here wat uname -a returns: Linux hp1 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 19:05:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux When…
Vahagn
  • 4,670
  • 9
  • 43
  • 72
1
vote
0 answers

failed to include tcl package during generating executable with tclkit

I am trying to generate a standalone executable from a single tcl file. I am using the method using tclkit.exe mentioned in http://wiki.tcl.tk/11861. The problem is the tcl file uses 3 packages. package require Tk package require tcom package…
Codename_DJ
  • 553
  • 1
  • 11
  • 40
1
vote
0 answers

tcl expect creating starpack

I'm using starkit/starpack with tcl8.5 and expect 5.44.1.15 under linux, after creating the starkit and putting the directory for expect under lib directory of the created vfs directory and wrap it back to starkit file, I could create the starpack…
user2669068
  • 165
  • 1
  • 2
  • 11
1
vote
0 answers

starkit fails to load a pkgIndex.tcl

I've released a Tcl/Tk application for Windows wrapped with sdx. In myapp.vfs I have a library for which I have a pkgIndex.tcl file: myapp.vfs | +-- mylib | | | +-- pkgIndex.tcl | +-- main.tcl Everything works fine for the vast majority…
Remo.D
  • 16,122
  • 6
  • 43
  • 74
0
votes
0 answers

Tcl: Include .so file in the starkit

How do we wrap a .so file(externally created) in the starkit (.vfs ) file in tcl? I created an explicit package and also the packageindex file and kept it in the /lib folder. However when I use packagre require it is not able to recognize the .so…
0
votes
1 answer

How to prevent sdxkit to unwrap back the TCL source code

I am using sdxkit for wrapping my source code $ ./sdx wrap Project But i can easily unwrap it back: $ ./sdx unwrap Project which will give me back my whole source code. How can i prevent from unwrapping the code back? Any argument or option…
Vishwadeep Singh
  • 1,043
  • 1
  • 13
  • 38
0
votes
1 answer

kbskit build for different linux flavours

I am creating a kbskit for my tcl executable application as follows on Suse : ./kbs.tcl -builddir=85 -r -mk-bi -bi="itcl3.4 itk3.4 iwidgets4.0.2 img1.4.1" install kbskit8.5 cp 85/bin/kbsmk8.5-bi kbsmk8.5-bi-run ./kbsmk8.5-bi sdx.kit wrap sim…
0
votes
1 answer

Creating kbskit with multiple files (in addition to main.tcl) included

I am trying to build a kbskit which includes iwidgets and img package using the following command : ./kbs.tcl -builddir=85 -r -mk-bi -bi="itcl3.4 itk3.4 iwidgets4.0.2 img1.4.1" install kbskit8.5 cp 85/bin/kbsmk8.5-bi kbsmk8.5-bi-run ls sim.vfs…