[Starkit] Fwd: sdx 2005/11/14 fails when run via symlink

Jean-Claude Wippler jcw at equi4.com
Thu Nov 17 19:59:51 CET 2005


Begin forwarded message:

> From: David Sanderson <dsanderson at panasas.com>
> Date: November 17, 2005 3:20:03 GMT+01:00
> To: Jean-Claude Wippler <jcw at equi4.com>
> Subject: Re: sdx 2005/11/14 fails when run via symlink
>
> | > While experimenting with the latest version of sdx, I noticed  
> that it
> | > mysteriously exits without doing anything when run via a symlink.
> | >
> | > I have appended a typescript illustrating the problem.
> | >
> | > This makes the newest sdx unusable here as our internal software
> | > deployment mechanism makes symlinks to the programs being  
> deployed.
> | >
> | > My tclkit version information is as follows:
> | >
> | > : k2; tclkit
> | > % set ::vfs::tclkit_version
> | > 200308.001
> | > % set tcl_patchLevel
> | > 8.4.5
> | >
> | > This is on FreeBSD 4.3, if it matters.
> |
> | This is an unfortunate coincidence.  The problem is really in tclkit
> | (broken logic in the "starkit" package).  If you use tclkit 8.4.11,
> | then sdx should work as expected.  Perhaps I should add a "package
> | require 8.4.11" in the new SDX?  Haven't tested which version  
> exactly
> | is needed.
>
> Something in sdx that triggers a useful error message would be  
> helpful,
> yes!
>
> | PS.  May I copy this note to the Starkit mailing list?
>
> Sure.  I'm new to starkits and I didn't know you had a mailing  
> list. :-)

A workaround has been checked in so SDX will wrap with older tclkits:

2005-11-17  jcw
    * main.tcl: Added a check that Tclkit >= 8.4.9 is being used,  
otherwise
      we assume we use an older version of the "starkit" package  
which does
      not correctly detect the "sourced" startup if the starkit is  
symlinked.
      The workaround always allows command-line mode, even if < 8.4.9  
so that
      SDX remains usable with all Tclkit's out there.  Thx, D.  
Sanderson.

$ sdx version
2005/11/17 02:11:27  14534-54265
$

-jcw



More information about the Starkit mailing list