[Starkit] update on tclkit build problem

Jean-Claude Wippler jcw at equi4.com
Thu Nov 16 18:17:09 CET 2006


Larry,

> Okay, I fiddled with this more and what I found was that if I modify
> genkit, in the kit* switch case, so that I use:
>             set L [list ../tcl/libtcl8$X(.)$V$Z(s).a ../vfs/libvfs1 
> $X(.)3.a \
>                         ../zlib/libz.a -Wl,-Bstatic -lstdc++ -Wl,- 
> Bdynamic]
>
> then things at least build to completion (with the test steps  
> succeeding!).
> However, the resulting tclkit has 2 unresolved libraries:
>         libstdc++.so.6 =>        (file not found)
> and
>         libgcc_s.so.1 =>         (file not found)
>
> which results in an error when I try to use it.
> I'm not yet certain what I will have to hack to resolve that.

Not that it's any use, but I always found Solaris w/ C++ a very nasty  
combo.

There is a Tclkit Lite, as you noted in a previous post.  I have a  
new set of build files and sources if you want to try that.  It has  
no C++ code - the Mk4tcl extension is replaced by another one (now  
called "vlerq", the "thrive" code is obsolete).  The result is called  
Tclkit Lite because it does not have Metakit - but the Vlerq  
replacement is sufficient to read all starkits, and SDX has been  
adjusted to allow wrapping 100% compatible starkits when Vlerq is  
found instead of Metakit (haven't tried starpack wrapping yet, but it  
might just work).

Some differences (apart from getting rid of C++):
  - itcl is no longer added in as shared lib
	(can be wrapped in afterwards by those who need it)
  - three variations can be built:
	tclkit-cli = tclsh
	tclkit-dyn = tclsh + tk inside vfs as shared lib
	tclkit-gui = tclsh + tk linked-in statically
  - dropped the "scripdoc" package (obsolete for many years now)
  - out goes Mk4tcl 2.4.9.x, in comes Vlerq 4.x (which is smaller)
  - a few extra Tcl-only packages to support vfs on Vlerq

Am not quite ready to let things loose in the wild (mostly to avoid  
versioning issues), but let me know by email if you want to have a go  
at this - I'll help where I can.  This  would also help me fix  
remaining issues before releasing in public.

So far, I've only done builds with this new code on Mac OS X and  
Linux x86.  There are bound to be some changes needed to cover more  
platforms, but as I said - if you're willing to dive in a bit, I'll  
be happy to help you create a starkit-compatible tclkit lite.

-jcw




More information about the Starkit mailing list