Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4594cfb41281a9df01bb08d8423d811fb29d7786
Ticket: 1377407fffffffffffffffffffffffffffffffff
TEA doesn't look for tclConfig.sh where Tcl puts it
User & Date: jenglish on 2005-12-09 22:13:43
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    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.
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "jenglish"
  9. subsystem changed to: "53. Configure and Build Tools"
  10. title changed to:
    TEA doesn't look for tclConfig.sh where Tcl puts it
    
  11. type changed to: "Patch"