Bug 428712 - Missing versioned interpreter
Summary: Missing versioned interpreter
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: tcl
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-14 19:24 UTC by Wart
Modified: 2008-01-15 13:55 UTC (History)
0 users

Fixed In Version: tcl-8.5.0-6.fc9
Clone Of:
Environment:
Last Closed: 2008-01-15 13:55:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wart 2008-01-14 19:24:21 UTC
Description of problem:
The package installs a  /usr/bin/tclsh binary, but no longer includes the binary
with the version number:  /usr/bin/tclsh8.5

This causes problems with some legacy applications that hard-code the version
number into the script itself.

tcl should install /usr/bin/tclsh8.5 as the actual binary, and make
/usr/bin/tclsh a link to /usr/bin/tclsh8.5, just as it did for tcl 8.4

The same is true for tk.  tk should install the binary as wish8.5, and make
/usr/bin/wish a link to wish8.5.

Comment 1 Marcela Mašláňová 2008-01-15 08:07:25 UTC
Hm, in packaging draft:
Bad:

#!/usr/bin/tclsh8.5

Good:

#!/usr/bin/tclsh
package require Tcl 8.5



Comment 2 Wart 2008-01-15 13:01:47 UTC
For Tcl extensions/applications, yes.  But Tcl itself should still provide both
the versioned and unversioned binary name for backwards compatibility with third
party applications that are not packaged as part of Fedora.


Note You need to log in before you can comment on or make changes to this bug.