Artifact
5c4ea4dabdc76e3664f91ba5c62f758904dfcdca:
Ticket change
[5c4ea4dabd]
- New ticket
[617689ffffffffff|617689ffff] <i>tclsh fails to source init.tcl</i>.
by
rkroll on
2002-10-02 18:36:07.
D 2002-10-02T18:36:07
J assignee nobody
J cmimetype text/plain
J comment \ntclsh\sfails\sto\sload\sthe\sinit.tcl\sfile.\s\sThe\s::auto_load\svariable\sis\s\nnot\sset\sas\na\sresult\sof\sa\sfailure\sof\sthe\sprogram\scontrol\slogic.\s\sThis\s\nproblem\sis\sdoes\snot\nseem\sto\sbe\srelated\sto\sauto_path\sor\sfinding\sthe\scorrect\s\ninstallation\ndirectories.\n\nThis\sbug\soccures\son\sSun\sSparc.\n\n\s\s\s\sjohn@tdc\s:\suname\s-a\n\s\s\s\sSunOS\stdc\s5.8\sGeneric_108528-15\ssun4u\ssparc\s\nSUNW,Sun-Fire-880\n\nThis\sbug\soccures\sfor\sa\sfairly\sold\sversion\sof\sgcc.\n\n\s\s\s\sjohn@tdc\s:\sgcc\s-v\n\s\s\s\sgcc\sversion\segcs-2.91.66\s19990314\s(egcs-1.1.2\srelease)\n\nThis\sbug\sdoes\snot\soccure\sfor\sthe\sSun\scompiler\n\n\s\s\s\sjohn@tdc\s:\scc\s-V\n\s\s\s\scc:\sSun\sWorkShop\s6\supdate\s1\sC\s5.2\sPatch\s109513-10\s\n2002/04/16\n\nThere\sare\sno\sTCL\srelated\senvironment\svariables\sset.\n\n\s\s\s\sjohn@tdc\s:\sprintenv\s|\sgrep\s-i\stcl\n\s\s\s\sPWD=/home/john/tclsrc\n\s\s\s\sMMTITCL=/data/mmti/tcl\n\nAt\sthe\stop\sof\sinit.tcl\slogic\s(an\sif\sstatement)\sexists\sto\sset\sthe\s\ndefault\nvalue\sof\s::auto_load.\s\sThis\slogic\sfails\sand\scauses\stclsh\sto\sfail.\n\nTyping\ssome\ssimple\scommands\sto\sevaluate\sthe\ssituation\s\nreveals\sthe\s[if]\sis\nbroken\sfor\sthis\scase.\s\sThe\sreturn\sfrom\s[info\sexists\s\n::auto_path]\sis\snot\nproperly\snegated\sby\s!\sand\spassed\sto\s[if]\salthough\ssimple\s[if]\s\nlogic\sseems\sok?\n\nI\shave\sleft\sthis\sinstallation\son\smy\sdisk.\s\sContact\sme\sif\syou\s\nneed\smore\sinfo.\n\n\nJohn\sRoll\[email protected]\n\n\n\s\s\s\sThe\s8.4.0\sdistribution\swas\sretrieved\sfrom\ssourceforge.\n\n\s\s\s\smkdir\stclsrc\n\s\s\s\scd\stclsrc\n\s\s\s\sgzip\s-d\s<\s../tcl8.4.0-src.tar.gz\s|\star\sxvf\s-\n\s\s\s\scd\stcl8.4.0/unix\n\s\s\s\s./configure\s--prefix=/home/john/tclsrc\n\s\s\s\smake\n\s\s\s\smake\sruntest\n\s\s\s\sLD_LIBRARY_PATH=`pwd`:;\sexport\s\nLD_LIBRARY_PATH;\s\\\n\s\s\s\sTCL_LIBRARY="/home/john/tclsrc/tcl8.4.0/library";\sexport\s\nTCL_LIBRARY;\s\\\n\s\s\s\s./tcltest\n\s\s\s\sapplication-specific\sinitialization\sfailed:\sCan't\sfind\sa\susable\s\ninit.tcl\sin\n\n\s\s...\slong\sstack\strace\somitted\shere\n\n\s\s\s\sThis\sprobably\smeans\sthat\sTcl\swasn't\sinstalled\sproperly.\n\n\s\s\s\s%\sif\s{\s1\s}\s{\sputs\sTrue\s}\n\s\s\s\sTrue\n\s\s\s\s%\sset\sxx\s1\n\s\s\s\s1\n\s\s\s\s%\sif\s{\s$xx\s}\s{\sputs\sTrue\s}\n\s\s\s\sTrue\n\s\s\s\s%\sif\s{\s!$xx\s}\s{\sputs\sTrue\s}\n\s\s\s\s%\n\s\s\s\s%\sputs\s[info\sexists\sauto_path]\n\s\s\s\s0\n\s\s\s\s%\sif\s{\s![info\sexists\s::auto_path]\s}\s{\sputs\sTrue\s}\n\s\s\s\s%\n\n
J foundin obsolete:\s8.4.0
J priority 5\sMedium
J resolution None
J status Open
J submitter rkroll
J subsystem None
J title tclsh\sfails\sto\ssource\sinit.tcl
J type Bug
K 617689ffffffffffffffffffffffffffffffffff
U rkroll
Z 72298caf0f3fe3eeae98b0773953c9c1