Skip to content
Tcl Source Code History Of Ticket 2101654
Login

History Of Ticket 2101654

Artifacts Associated With Ticket 2101654

  1. Ticket change [56aef2768a] (rid 94360) by chrisvirtensys on 2008-09-09 08:38:45:

    1. assignee initialized to: "stwo"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Host : i386
      Target: ARM9
      
      Problem behaviour:
      
      When cross-compiling 8.5.4 on i386 for Arm9, the Makefile tries to run './tclsh' as part of the "install-msgs" phase, resulting in the output:
      
        Installing libtclstub8.5.a to /path/to/build/tree/cirrus-arm-linux/edb9315A/target_filesystem/usr/local/lib/
        Installing message catalogs
        /bin/sh: ./tclsh: cannot execute binary file
      
      Expected behaviour:
      
      The Makefile should not be trying to execute the target tclsh on the build host.
      
      Solution:
      
      A variable exists (TCL_EXE) which the preceding comment block suggests may have been intended for this circumstance, but it is not used.
      
      The offending excerpt from the Makefile:
      
      install-msgs: tclsh
          @echo "Installing message catalogs"
          @LD_LIBRARY_PATH="`pwd`:$${LD_LIBRARY_PATH}"; export LD_LIBRARY_PATH; \
          TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \
          ./tclsh $(TOOL_DIR)/installData.tcl \
              $(TOP_DIR)/library/msgs "$(SCRIPT_INSTALL_DIR)"/msgs
      
      Manually replacing './tclsh' with '/usr/bin/tclsh' allows the 'make install' to succeed.
      
      
    4. foundin initialized to: "obsolete: 8.5.4"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "chrisvirtensys"
    10. subsystem initialized to: "53. Configuration and Build Tools"
    11. title initialized to:
      'make install' tries to use target tclsh when crosscompiling
      
    12. type initialized to: "Bug"
  2. Ticket change [29554cbc62] (rid 88853) by stwo on 2012-09-29 11:51:40:

    1. closedate changed to: "2012-09-29T04:51:40"
    2. closer changed to: "stwo"
    3. icomment:
      
      
      allow_comments - 1
      
      No longer a problem in trunk and 8.5. See commits 824cd1843c, 16b5a30bf0, 226a993973 and 238d0cb630.
      
      
    4. login: "stwo"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "stwo"