Tk Source Code

View Ticket
Login
Ticket UUID: 608698
Title: SC_PATH_TCLCONFIG favors betas
Type: Bug Version: obsolete: 8.4.0
Submitter: dgp Created on: 2002-09-13 01:48:11
Subsystem: 84. Unix Build Assigned To: dgp
Priority: 8 Severity:
Status: Closed Last Modified: 2003-10-06 23:09:13
Resolution: Fixed Closed By: dgp
    Closed on: 2003-10-06 16:09:13
Description:
When no --with-tcl= option is given to configure,
and both tcl8.4.0 and tcl8.4b1 source distros are
siblings of the unpacked Tk source distro, then
unix/configure will happily point the compiler to
tcl8.4b1/generic/tcl.h which does not work.

Seems that as long as Tk and Tcl get released
in lock step, the matching version of Tcl should
get a preferred status in the search path.

Even if we break away from that, it would be
good for stable distros to be preferred over alpha
and beta ones.
User Comments: dgp added on 2003-10-06 23:09:12:
Logged In: YES 
user_id=80530

Fixed for 8.4.5+

dgp added on 2003-07-17 03:49:59:
Logged In: YES 
user_id=80530


SC_PATH_TCLCONFIG constructs
its search path from the results of

    `ls -dr`

and that gets numerical order right
(first 8.4.3, then 8.4, then 8.3, etc.)
but places alphas and betas before
stable.  (8.4b2 before 8.4.4 !).

Fix might be to use stricter glob patterns
to leave out alphas and betas in the
`ls -dr` calls early in the path, and allow
them only later.

dgp added on 2003-07-16 22:47:02:
Logged In: YES 
user_id=80530


See also Tk Bug 749088