Skip to content
Tcl Source Code Artifact [56aef2768a]
Login

Artifact [56aef2768a]

Artifact 56aef2768a9b01cfb30b87dc7d4dd1c58c148d9e:

Ticket change [56aef2768a] - New ticket [2101654fffffffff|2101654fff] <i>&#39;make install&#39; tries to use target tclsh when crosscompiling</i>. by chrisvirtensys on 2008-09-09 08:38:45.
D 2008-09-09T08:38:45
J assignee stwo
J cmimetype text/plain
J comment Host\s:\si386\nTarget:\sARM9\n\nProblem\sbehaviour:\n\nWhen\scross-compiling\s8.5.4\son\si386\sfor\sArm9,\sthe\sMakefile\stries\sto\srun\s'./tclsh'\sas\spart\sof\sthe\s"install-msgs"\sphase,\sresulting\sin\sthe\soutput:\n\n\s\sInstalling\slibtclstub8.5.a\sto\s/path/to/build/tree/cirrus-arm-linux/edb9315A/target_filesystem/usr/local/lib/\n\s\sInstalling\smessage\scatalogs\n\s\s/bin/sh:\s./tclsh:\scannot\sexecute\sbinary\sfile\n\nExpected\sbehaviour:\n\nThe\sMakefile\sshould\snot\sbe\strying\sto\sexecute\sthe\starget\stclsh\son\sthe\sbuild\shost.\n\nSolution:\n\nA\svariable\sexists\s(TCL_EXE)\swhich\sthe\spreceding\scomment\sblock\ssuggests\smay\shave\sbeen\sintended\sfor\sthis\scircumstance,\sbut\sit\sis\snot\sused.\n\nThe\soffending\sexcerpt\sfrom\sthe\sMakefile:\n\ninstall-msgs:\stclsh\n\s\s\s\s@echo\s"Installing\smessage\scatalogs"\n\s\s\s\s@LD_LIBRARY_PATH="`pwd`:$${LD_LIBRARY_PATH}";\sexport\sLD_LIBRARY_PATH;\s\\\n\s\s\s\sTCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}";\sexport\sTCL_LIBRARY;\s\\\n\s\s\s\s./tclsh\s$(TOOL_DIR)/installData.tcl\s\\\n\s\s\s\s\s\s\s\s$(TOP_DIR)/library/msgs\s"$(SCRIPT_INSTALL_DIR)"/msgs\n\nManually\sreplacing\s'./tclsh'\swith\s'/usr/bin/tclsh'\sallows\sthe\s'make\sinstall'\sto\ssucceed.\n
J foundin obsolete:\s8.5.4
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter chrisvirtensys
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title 'make\sinstall'\stries\sto\suse\starget\stclsh\swhen\scrosscompiling
J type Bug
K 2101654fffffffffffffffffffffffffffffffff
U chrisvirtensys
Z bc01f4b8dab9786999fd4bb83448e4d0