Artifacts Associated With Ticket 2101654
Ticket change [56aef2768a] (rid 94360) by chrisvirtensys on 2008-09-09 08:38:45:
- assignee initialized to: "stwo"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.5.4"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "chrisvirtensys"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to:
'make install' tries to use target tclsh when crosscompiling
- type initialized to: "Bug"
Ticket change [29554cbc62] (rid 88853) by stwo on 2012-09-29 11:51:40:
- closedate changed to: "2012-09-29T04:51:40"
- closer changed to: "stwo"
- icomment:
allow_comments - 1 No longer a problem in trunk and 8.5. See commits 824cd1843c, 16b5a30bf0, 226a993973 and 238d0cb630.
- login: "stwo"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "stwo"