Deutsch English Français Italiano |
<vusso1$1tc3$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: aotto1968 <aotto1968@t-online.de> Newsgroups: comp.lang.tcl Subject: BUG: wrong usage for package loading with multiple versions available Date: Wed, 30 Apr 2025 12:06:55 +0200 Organization: A noiseless patient Spider Lines: 36 Message-ID: <vusso1$1tc3$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 30 Apr 2025 12:06:57 +0200 (CEST) Injection-Info: dont-email.me; posting-host="638aa72d97304bbe6b88bc695a2fe255"; logging-data="62851"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/L38dWz0RrJVcH1Ts1iCcWgsRCyPgbeM=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:i4jY4/wAR7a7I9pEULCDeiTYt4E= Content-Language: en-US hi, The "-exact" option does NOT include the PARTIAL version number. To use the tcltest-2.3.8 package the EXACT version have to be "known". The CORE problem is that tcltest-2.3 and tcltest-2-5 have partly DIFFERENT syntax. The command "package require tcltest 2.3" should load the LATEST patch level from "tcltest-2.3.X" package require Tcl 8.5 > 8.5.19 package versions tcltest > 2.3.8 2.5.3 info library > /path/to/lib/tcl8.5 catch {package require -exact tcltest 2.3} msg > 1 set msg > can't find package tcltest exactly 2.3 package require tcltest 2.3 > 2.5.3 package require Tcl 8.5 > 8.6.12 package versions tcltest > 2.3.8 2.5.3 info library > /path/to/lib/tcl8.6 catch {package require -exact tcltest 2.3} msg > 1 set msg > can't find package tcltest exactly 2.3 package require tcltest 2.3 > 2.5.3