Ticket UUID: | 1368254 | |||
Title: | tcl.m4 default library and include search paths | |||
Type: | Patch | Version: | None | |
Submitter: | bugant | Created on: | 2005-11-28 14:28:29 | |
Subsystem: | 53. Configure and Build Tools | Assigned To: | hobbs | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2009-03-15 01:08:29 | |
Resolution: | Rejected | Closed By: | dkf | |
Closed on: | 2009-03-14 18:08:29 | |||
Description: |
Working with TEA 3.3 I found that I always need to use --with-tcl and --with-tclinclude to make my extensions compile. That's because by default tea searches for tclConfig.sh in places like /usr/lib or /usr/local/lib but many systems, such as ubuntu, debian, OpenBSD, place it on /usr/lib/tcl8.4 or /usr/local/lib/tcl8.4 The same happens with tcl.h that is searched into /usr/local/include or /usr/include; The patch is a simply (and tcl version hard-coded) way to avoid the strong usage of these configure options. It should be better to do this looking on the deault paths and adding them a version dependent string but I don't figure out how to do this. | |||
User Comments: |
dkf added on 2009-03-15 01:08:29:
allow_comments - 1 stwo added on 2009-03-14 11:43:38: Recommend closing because: The idea is partially ok but the patches are way off. It is usually better to supply --with-tcl in order to avoid ambiguity. The switch --with-tclinclude should not be necessary if Tcl is properly configured and installed. Alternatively, even more paths could be added to the list of directories to search. This approach will of course get uglier with future versions. bugant added on 2005-12-06 00:38:58: File Added - 158730: patch bugant added on 2005-11-28 21:28:31: File Added - 157813: tclm4.diff |