Re: kbs: install doesn't get tk sources

Rene Zaumseil <[email protected]> Fri, 9 Nov 2007 00:10:25 +0100
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
Am Donnerstag, 8. November 2007 14:57 schrieb Uwe Koloska:
> Hello Rene,
>
> the next error ;-)
>
> Again on windows:
>   ./kbs.tcl -r install kbspkg-8.5
> gives the following error:
>
> === Source link: tk-8.5
> === Require error: tkstatic-8.5
> missing link source: tk-8.5
> couldn't execute ".\kbs.tcl": no such file or directory
That is the problem under windows!
 Sorry but I do not have network access under windows.
 So here only some guesses:
Change line 394 in 'kbs.tcl' from
          exec ./kbs.tcl sources $args >@stdout 2>@stderr
to something like:
          exec [pwd]/kbs.tcl sources $args >@stdout 2>@stderr
or
          exec {*}[auto_execok kbs.tcl] sources $args >@stdout 2>@stderr
If one of these versions work, then also the recursive source should work.


Btw. I think the gui version also have problems with stdout/stderr.
 Still have to figure out why :(


rene