Ticket UUID: | 1377407 | |||
Title: | TEA doesn't look for tclConfig.sh where Tcl puts it | |||
Type: | Patch | Version: | None | |
Submitter: | jenglish | Created on: | 2005-12-09 22:13:43 | |
Subsystem: | 53. Configure and Build Tools | Assigned To: | jenglish | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2005-12-20 02:45:00 | |
Resolution: | Fixed | Closed By: | jenglish | |
Closed on: | 2005-12-19 19:45:00 | |||
Description: |
Out-of-the-box, Tcl installs tclConfig.sh in ${libdir}: | # from tcl/unix/Makefile.in: | LIB_INSTALL_DIR = $(INSTALL_ROOT)$(libdir) | ... | install-binaries: binaries | ... | @$(INSTALL_DATA) tclConfig.sh $(LIB_INSTALL_DIR)/tclConfig.sh However, TEA_PATH_TCLCONFIG doesn't look in ${libdir}, instead it looks in (among other places) ${exec_prefix}/lib. Usually this doesn't cause a problem since the default value of ${libdir} *is* ${exec_prefix}/lib, but some environments override it. For example: when building for x86_64, many systems set --prefix=/usr --exec_prefix=/usr --libdir=/usr/lib64. Attached patch simply inserts ${libdir} at the head of the list of "common install locations" for tclConfig.sh in TEA_PATH_TCLCONFIG; and similarly for TEA_PATH_TKCONFIG and TEA_PATH_CONFIG. | |||
User Comments: |
jenglish added on 2005-12-20 02:45:00:
Logged In: YES user_id=68433 Patch committed. jenglish added on 2005-12-10 05:19:44: Logged In: YES user_id=68433 Followup: there are a couple of other pending patches that also modify the default search path for tclConfig.sh (#1368254, #1241752), though they seem to fall under the heading of "look for tclConfig.sh where my distribution puts it". Those patches might be worth considering as well, but we should at *least* look for tclConfig.sh where *we* put it :-) jenglish added on 2005-12-10 05:13:43: File Added - 159302: tea-search-libdir.patch |
Attachments:
- tea-search-libdir.patch [download] added by jenglish on 2005-12-10 05:13:43. [details]