tcl catch syntax
Darren Weber
dweber at macports.org
Mon May 18 16:15:26 PDT 2009
On Mon, May 18, 2009 at 4:08 PM, Rainer Müller <raimue at macports.org> wrote:
> On 2009-05-19 00:48, Darren Weber wrote:
> > DEBUG: Executing proc-post-org.macports.destroot-destroot-2
> > Error: Target org.macports.destroot returned: wrong # args: should be
> > "catch command ?varName?"
> > Warning: the following items did not execute (for InsightToolkit):
> > org.macports.destroot
> > Error: Status 1 encountered during processing.
> >
> >
> > Here in the tcl 8.5 documentation, we have a different syntax that
> > allows the "option" variable:
> > http://www.tcl.tk/man/tcl8.5/TclCmd/catch.htm
>
> MacPorts uses Tcl 8.4 as provided by Mac OS X. You are probably reading
> 8.5 documentation which has been installed by the MacPorts tcl port.
>
> You can use man to view the man page supplied by the system by using the
> full path:
> man /usr/share/man/mann/catch.ntcl.gz
>
> Rainer
>
Yes, I've been "debugging" using the 'tclsh' symlink to tclsh8.5 provided by
macports (/opt/local/bin/tclsh8.5) and reading the 8.5 documentation at
http://www.tcl.tk/doc/
I'll switch over to tclsh8.4 and see if that helps.
Thanks!
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090518/ac539051/attachment.html>
More information about the macports-dev
mailing list