Skip to content
Tcl Source Code Artifact [d5f83b1254]
Login

Artifact [d5f83b1254]

Artifact d5f83b1254e321ebeb2031332fee1c4de08609f98b1b5caaba49ce61aba54557:

Ticket change [d5f83b1254] - Ticket [87b69745be15c281|87b69745be] <i>interp creation resets encoding directory search path</i> status still Open with 3 other changes by apnadkarni on 2025-08-27 07:46:36.
D 2025-08-27T07:46:36.790
J icomment @Don,\sit\shas\sbeen\sbothering\sme\sas\sto\swhy\sthis\sissue\sis\sexhibited\sonly\son\syour\ssystem.\sI\sthink\sI\shave\sa\splausible\sexplanation.\sIt\swas\sa\scombination\sof\s\r\n\r\n-\sthe\sbug\sintroduced\sby\smy\scommit\s(that\sSergey\sfixed)\srelated\sto\szipfs\sinitialization\sin\sstatic\sbuild\scase,\sand\r\n\r\n-\swhat\sI\swould\ssuggest\sis\sa\smisfeature\s(by\sdesign)\sin\sthe\sinitialization\sscript's\suse\sof\s`pkgconfig\sscriptdir,runtime`\r\n\r\nThe\sinit\sscript\sconstructs\sa\slist\sof\sdirectories\sto\ssearch\sfor\sthe\sinit.tcl\sfile.\sOne\sof\sthese\sis\sthe\sdirectory\sreturned\sby\s`pkgconfig\sget\sscriptdir,runtime`.\sBecause\sthe\szipfs\sfailed\sto\slocate\stcl_library\searly\senough,\sand\sthe\s`TCL_LIBRARY`\senv\sis\snot\sset\s(by\sdesign\swhen\srunning\smake\stest\swith\szipfs),\sthe\stest\srun\slands\sup\susing\sthe\spath\sreturned\sby\s`pkgconfig`\scommand.\sThe\sproblem\sis\sthat\sthe\s`scriptdir,runtime`\svalue\sreflects\sthe\spath\s**after\sinstallation**\s(presumably\sthe\svalue\sof\s`-prefix`\sor\sfriends).\sWhen\syou\sran\stest-tcl,\sit\swas\spicking\sup\sthe\spath\swhere\sthe\sbuild\swould\sbe\sinstalled\sand\sthat\spath\shappened\sto\scontain\sthe\sold\sencodings.\r\n\r\nThat's\smy\s**theory**\sanyways.\r\n\r\nThat\spkgconfig\svalue\sis\spretty\suseless\sas\son\sWindows\sit\snever\sreflects\sreality\sand\sis\sbroken\sin\svarious\sscenarios\seven\son\sUnix,\slike\sthe\sone\sabove.
J login apnadkarni
J mimetype text/plain
K 87b69745be15c2816574ec415dfe2c3c407cc5d6
U apnadkarni
Z a73359487699816ef849013dbbd53301