[#1011307] pfm refuses to start under Tcl/Tk 8.6

View Trackers | new tracker | Download .csv | Submit New | Monitor

Date:
2013-02-18 09:49
Priority:
3
State:
Closed
Submitted by:
Willem Herremans (herremaw)
Assigned to:
Nobody (None)
against:
2.0.7
Category:
bug
Group:
None
Resolution:
Accepted
promised:
2.0.8
 
Summary:
pfm refuses to start under Tcl/Tk 8.6

Detailed description
The problem comes from the statement 'package require Itcl 3.4'.

Tcl/Tk 8.6 has version 4.0 instead of 3.4.

I thought that 'package require Itcl 3.4' means 'version 3.4 or higher', but, looking at the Tcl documentation now, I must admit that this is wrong.

What it actually means is 'version 3.4 or higher, but not as high as 4.0'.

So, 3.5 ann 3.7.11 would be OK, but 4.0, 4.2.7 or 5.0 are not OK.

See Tcl documentation for package require and package vsatisfies. Especially, look at rule 3:

'A “min-bounded” requirement is a “bounded” requirement in disguise, with the max part implicitly specified as the next higher major version number of the min part. A version satisfies it per the rules above.'

In my opinion, this makes it impractical to specify version numbers with the 'package require' statements. The best way forward is probably to remove all version specifications from the package require statements.

Add A Comment: Notepad

Followup

No Followups Have Been Posted

Attached Files:

Changes:

Field Old Value Date By
status_idOpen2013-02-19 15:59herremaw
close_dateNone2013-02-19 15:59herremaw
CategoryNone2013-02-18 09:54herremaw
ResolutionNone2013-02-18 09:54herremaw
promisedNone2013-02-18 09:54herremaw
Powered By FusionForge