Overview
| Artifact ID: | 56aef2768a9b01cfb30b87dc7d4dd1c58c148d9e |
|---|---|
| Ticket: | 2101654fffffffffffffffffffffffffffffffff
'make install' tries to use target tclsh when crosscompiling |
| User & Date: | chrisvirtensys on 2008-09-09 08:38:45 |
Changes
- assignee changed to: "stwo"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.5.4"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "chrisvirtensys"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
'make install' tries to use target tclsh when crosscompiling
- type changed to: "Bug"