Tcl version compatibility
Gustaf Neumann
neumann at wu.ac.at
Wed Sep 25 11:01:18 PDT 2013
Am 25.09.13 12:38, schrieb Rainer Müller:
>> Am 24.09.13 18:39, schrieb Joshua Root:
>>> On 2013-9-25 01:56 , Bradley Giesbrecht wrote:
>>>> $ sw_vers -productVersion
>>>> 10.5.8
>>>> $ make test
>>>> ...
>>>> ===> making test in src/macports1.0
>>>> /usr/bin/tclsh ./tests/test.tcl -nocolor
>>>> extra characters after close-brace
>>>> while executing
>>>> "set pwd [eval file join {*}[lrange [file split $pwd] 0 end-1]]
>> most likely, the "eval" should be not here.
>> Can we rely now on having a tclsh based on tcl 8.5?
i correct my guess: the error message above is probably due to the fact,
that mac os x 10.5 ships with tcl 8.4, which has no expand operator.
> Mac OS X 10.5 Leopard only has Tcl 8.4. If I recall correctly, Tcl 8.5
> was introduced with Mac OS X 10.6 Snow Leopard.
>
> I started a wiki page to document which Mac OS X versions shipped which
> version of Tcl:
>
> https://trac.macports.org/wiki/TclVersionInfo
Hmm, the wiki page says that Mac OS X 10.5 uses Tcl 8.5.7, you mention
8.4, [1] mentions 8.4, the error above hints on Tcl 8.4, so i guess the
wiki page is not correct, However, i have no mac os x 10.5 around to
check for sure. [1] mentions as well Tcl 8.4.7 for Mac OS X 10.5 and
not Tcl 8.4.19.
> That would make it easier to identify which versions would become
> officially unsupported if we switched to Tcl 8.5, excluding the
> possibility to ship an integrated Tcl installation with MacPorts itself.
since tcl 8.5 compiles fine on Mac OS X 10.4 or 10.5, i still think,
that shipping MacPorts with a private version of Tcl (as source and/or
binary) gives most freedom (as discussed earlier). Otherwise, one has to
wait still more years until one is allowed to use software features
actually released in 2007 (release date of Tcl 8.5.0). ... and a
decision to use the features means now to drop support on Mac OS X 10.4
and (maybe) 10.5; these questions should be decoupled.
-g
[1] http://www.python.org/getit/mac/tcltk/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130925/3bf33243/attachment.html>
More information about the macports-dev
mailing list