Ticket UUID: | 1245329 | |||
Title: | TEA_PUBLIC_TCL_HEADERS: uninstalled Tcl | |||
Type: | Bug | Version: | obsolete: 8.5a4 | |
Submitter: | dgp | Created on: | 2005-07-26 15:31:10 | |
Subsystem: | 85. tclconfig | Assigned To: | dgp | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2005-12-06 00:33:09 | |
Resolution: | Accepted | Closed By: | dgp | |
Closed on: | 2005-12-05 17:33:09 | |||
Description: |
TEA_PUBLIC_TCL_HEADERS has problems similar to those of TEA_PROG_TCLSH getting corrected in 1160114. What's wanted by an extension is the location of the header files that match the tclConfig.sh file found. A check for "Makefile" in $TCL_BIN_DIR is the way to distinguish between an installed tclConfig.sh and an uninstalled one. The best search order for header files is different in those cases. The current list of directories searched by TEA_PUBLIC_TCL_HEADERS for tcl.h works well for installed Tcl, but can point to headers of the wrong version of Tcl, when an uninstalled tclConfig.sh file forms the configuration basis. | |||
User Comments: |
dgp added on 2005-12-06 00:33:09:
Logged In: YES user_id=80530 committed. dgp added on 2005-12-06 00:27:47: File Deleted - 143369: File Added - 158728: 1245329.patch dgp added on 2005-12-06 00:27:46: Logged In: YES user_id=80530 this just bit me again. taking action... Updated patch covers Tk header search as well as Tcl. jenglish added on 2005-11-15 05:06:35: Logged In: YES user_id=68433 Looks reasonable -- but is there any reason to check in ${TCL_BIN_DIR}/../include (i.e., relative to the location of tclConfig.sh)? dgp added on 2005-07-26 23:04:02: File Added - 143369: 1245329.patch dgp added on 2005-07-26 23:03:57: Logged In: YES user_id=80530 Here's a patch. If this looks acceptable, similar changes to TEA_PUBLIC_TK_HEADERS should also be done. |
Attachments:
- 1245329.patch [download] added by dgp on 2005-12-06 00:27:46. [details]