|
2005-12-20
| ||
| 02:45 | • Closed ticket [1377407fff]: TEA doesn't look for tclConfig.sh where Tcl puts... artifact: bc108e8723 user: jenglish | |
|
2005-12-10
| ||
| 06:11 | • Ticket [1377407fff]: 1 change artifact: af8ef82f65 user: jenglish | |
| 05:19 | • Ticket [1377407fff]: 4 changes artifact: 9c3123224e user: jenglish | |
| 05:13 | • Add attachment tea-search-libdir.patch to ticket [1377407fffffffff|1377... artifact: 7c1c586332 user: jenglish | |
| 05:13 | • Ticket [1377407fff] TEA doesn't look for tclConfig.sh where Tcl puts it ... artifact: 4bba00361c user: jenglish | |
|
2005-12-09
| ||
| 22:13 | • New ticket [1377407fff]. artifact: 4594cfb412 user: jenglish | |
TEA doesn't look for tclConfig.sh where Tcl puts it
Closed / Fixed1377407fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-12-09 22:13:43
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.
jenglishplain2005-12-10 05:13:43
File Added - 159302: tea-search-libdir.patch
jenglishplain2005-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 Ticket [1377407fff]: 1 change
[History diff]2005-12-10 06:11:36
jenglishplain2005-12-20 02:45:00
Logged In: YES user_id=68433 Patch committed.
Log in (anonymous is fine) to add a comment.
Attachments:
- tea-search-libdir.patch [download] added by jenglish on 2005-12-10 05:13:43. [details]