[Starkit] Building a fresh starkit

Larry W. Virden lvirden at cas.org
Thu Apr 28 14:51:06 CEST 2005


From: "Techentin, Robert W." <techentin.robert at mayo.edu>

> Doesn't [file dirname [info script]] do the job?

When  I tried to use this to set my sourcedir variable,
what I got as a value was "." .  That didn't work when I tried
it... 

$ tclkit ./cbrowser.kit
couldn't read file "./ftcllib.tcl": no such file or directory
    while executing
"source [file join $sourcedir ftcllib.tcl]"
    (file "/projects/xopsrc/Applications/cbrowser/cbrowser-0.8/cbrowser.kit/lib/app-cbrowser/cbrowser.tcl" line 2999)
    invoked from within
"source /projects/xopsrc/Applications/cbrowser/cbrowser-0.8/cbrowser.kit/lib/app-cbrowser/cbrowser.tcl"
    ("package ifneeded" script)
    invoked from within
"package require app-cbrowser"
    (file "./cbrowser.kit/main.tcl" line 4)
    invoked from within
"source ./cbrowser.kit/main.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel [list source [file join $self main.tcl]]"

-- 
Tcl - The glue of a new generation.  <URL: http://wiki.tcl.tk/ >
Larry W. Virden <mailto:lvirden at cas.org > <URL: http://www.purl.org/NET/lvirden/ >
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-


More information about the Starkit mailing list