Re: Starkit problem



At 28 Apr 2007 16:32:13 -0700 billposer@xxxxxxxxxxxx wrote:


I am trying to make a starkit for a program that requires two non-
builtin packages: snack and tdom. I copy both into the vfs/lib
directory, so the top two levels of the vfs directory look like this:

main.tcl
lib
app-Prompt/
snack2.2/
tcl8.4/
tdom/

When I make a Starkit for Linux, it works fine. When I make one for MS
Windows, with the same structure but with the Windows runtime and
Windows packages, it does not work because it is unable to find snack.

What is wrong?

Is snack2.2 a *pure* Tcl package (only Tcl code) or does it include
compiled code (eg a .so file)? If the latter, you need the MS-Windows
dll and you need to modify the pgkIndex.tcl file in snack2.2 to test
tcl_platform and load the proper file (the .so under Linux, the .dll
under MS-Windows).

(Ditto for tdom as well, unless it is a *pure* Tcl package.)




--
Robert Heller -- 978-544-6933
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller@xxxxxxxxxxxx -- Contract Programming: C/C++, Tcl/Tk

.



Relevant Pages

  • Re: Compiling Tcl apps redux
    ... automate in a Makefile or something similar. ... You can make a very basic starkit in the following way: ... # sdx wrap myapp.kit ... To avoid having multiple copies of certain packages that are used in more than one starkit, you can place symbolic links to those packages in your lib subdirectory. ...
    (comp.lang.tcl)
  • Re: Create tap files
    ... load various packages like tdom, sqlite3, etc. ... TclApp that comes with TDK, it does not show these packages. ... ActiveTcl contains .tap files for tDOM and sqlite, ...
    (comp.lang.tcl)
  • Re: starpacks under regular Tcl interpreter
    ... What do I need to do to use starpacks under simple tclsh? ... What packages ... should I 'require' and what commands to call? ... script that calls [package require starkit] to get things going. ...
    (comp.lang.tcl)
  • Using Tablelist 3.8 in a Starkit
    ... Hi I'm having a really hard time getting the tablelist 3.8 package to ... work with my Starkit. ... these packages are a little different from the ...
    (comp.lang.tcl)