Overview
| Artifact ID: | aa6e80e1f4cb967b02aff929463594acb15c5aaa |
|---|---|
| Ticket: | 218879ffffffffffffffffffffffffffffffffff
tcl8.2b1: tclConfig.sh.in and tcl.h bugs |
| User & Date: | nobody on 2000-10-26 01:07:06 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2511 Bug Version: 8.2b1 SubmitDate: '1999-08-10' LastModified: '1999-09-20' Severity: SER Status: Released Submitter: techsupp ChangedBy: hobbs OS: Linux-SuSE OSVersion: 6.1 Machine: Other FixedDate: '1999-09-20' ClosedDate: '2000-10-25' Name: Charles Thayer Extensions: lots :-) CustomShell: Simple fixes for big problems Comments: The problem with tcl.h is that the version numbers are just WRONG. They are as follows: #define TCL_MAJOR_VERSION 8 #define TCL_MINOR_VERSION 1 #define TCL_RELEASE_LEVEL TCL_BETA_RELEASE #define TCL_RELEASE_SERIAL 1 #define TCL_VERSION "8.2" #define TCL_PATCH_LEVEL "8.2b1" Clearly, the minor version needs updating. Second, the tclConfig.sh has single ticks around variables which need further shell expansion. So the result is that variables in tclConfig.sh say silly are getting set to 'libtcl8.2${TCL_DBGX}.so'. Note that the "${TCL_DBGX}" is not getting properly expanded. I suggest running the following: perl -pi- -e "s/\'/\\\"/g" tclConfig.sh.in autoconf ReproducibleScript: configure is generating a bad tclConfig.sh, and tcl.h has some bad settings (defines). ObservedBehavior: Mostly noticeable that other packages have trouble with this newest version (such as ical, blt, etc.) DesiredBehavior: When I configure other tcl dependant packages (which use autoconf to run tclConfig.sh), they are failing to get some necessary settings. Patch: # recommend the following be run # perl -pi- -e "s/\'/\\\"/g" tclConfig.sh.in # Use the following to fix tcl.h if you run tcl8.2b1 *** tcl.h.old Fri Jul 2 02:04:26 1999 --- tcl.h.new Thu Aug 5 14:56:26 1999 *************** *** 54,60 **** */ #define TCL_MAJOR_VERSION 8 ! #define TCL_MINOR_VERSION 1 #define TCL_RELEASE_LEVEL TCL_BETA_RELEASE #define TCL_RELEASE_SERIAL 1 --- 54,60 ---- */ #define TCL_MAJOR_VERSION 8 ! #define TCL_MINOR_VERSION 2 #define TCL_RELEASE_LEVEL TCL_BETA_RELEASE #define TCL_RELEASE_SERIAL 1 PatchFiles: tclConfig.sh.in tcl.h These have since been updated (but still something that unfortunately sneaks through too often). -- 09/20/1999 hobbs - foundin changed to: "obsolete: 8.2b1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "tcl8.2b1: tclConfig.sh.in and tcl.h bugs"
- type changed to: "Bug"