<i>Tkinter: Cannot find a usable init.tcl with recent core-9-0-branch</i> status still Closed with 5 other changes
by
.
D 2025-11-17T06:13:00.268
J closedate 2460996.75903088
J closer apnadkarni
J icomment Don,\r\n\r\nI\sfeel\syour\spain.\sMaybe\smore\sbecause\sI've\sbeen\strying\sto\sfix\sthis\sping-pong\sof\sbroken\sbehavior\sfor\sa\sfew\smonths\snow.\s\r\n\r\nThe\sfundamental\sproblem\sis\sthat\sthe\ssearch\sfor\sTcl\slibrary\s(and\sencodings)\sis\ssuffering\sfrom\sthe\s"noble"\saim\sof\sattempting\sto\sfix\sup\serrors\sin\sconfiguration\sor\sinstalls\sby\ssearching\sup\sand\sdown\sthe\sdirectory\shierarchy.\sAs\sa\sconsequence,\swhen\sTcl\sis\snot\snot\srun\sin\sa\slocation\scorresponding\sto\swhere\sit\sis\sconfigured\sand\sdoes\snot\sdefine\sTCL_LIBRARY\seither\s(as\sis\sthe\scase\sfor\sthe\sunixInit-3.2\stest),\sthere\sis\sa\schance\sit\swill\spick\sup\sthe\swrong\sdirectory\scorresponding\sto\ssome\sother\sversion\sof\sTcl.\r\n\r\nThis\sis\swhat\syou\sare\sseeing.\r\n\r\nRegarding\syour\squestion\sabout\swhy\san\s--enable-zipfs\sbuild\sshould\sbe\slooking\sanywhere\sbut\szipfs,\sI\swould\sagree\swith\syou.\sIn\sfact,\sI\swould\sgo\sfurther\sand\sask\swhy,\seven\son\s--disable-zipfs\sbuilds,\sshould\sit\slook\sanywhere\sthan\sthe\sdirectory\sset\sby\sthe\sconfigure\sscript\sor\sexplicitly\sset\sby\suser\svia\sTCL_LIBRARY.\s\r\n\r\nThe\sproblem\sin\senforcing\sthis\sis\sthat\r\n\r\n-\son\ssome\smacOS\sversions\sand\sarchitectures,\sthere\sis\sno\sindication\sat\scompile\stime\sthat\szipfs\sdoes\snot\swork.\sSo\sZIPFS_BUILD\smay\sbe\sdefined\sbut\sdoes\snot\sactually\swork\sat\sruntime.\sThis\swas\sthe\sroot\sof\sthe\soriginal\smacos\stkinter\sticket.\sFixing\sthis\sneeds\ssomone\sfamiliar\swith\sall\sthe\smacOS\svariants\sto\serror\sout\son\sappropriate\sversions\sof\smacOS\sto\snot\sdefine\sZIPFS_BUILD.\r\n\r\n-\sfurther\scompounding\sthe\sproblem\sis\sthat\sTcl\sgenerously\spermits\sapplications\sto\sinitialize\susing\sone\sof\sseveral\sfunctions\s-\sTcl_Init,\sTcl_CreateInterp,\sTcl_InitSubSystems,\sTclZipfs_AppHook\sand\seven\sTcl_SetPanicProc.\sWhat\sthis\sleads\sto\sis\smultiple\srecursive\scalls\sto\sinitialize\svarious\ssubsystems\sand\sdifferent\sorder\sof\sinitialization.\sThis\sis\sanother\s(misguided\sand\shalf-baked\simo)\sattempt\sby\sTcl\sat\sflexibility.\sSome\sapplications,\slike\stkinter,\sand\slikely\sRuby\sand\sPerl\sequivalents\sdo\snot\seven\scall\sTclZipfs_AppHook\sat\sall\sand\sexpect\sthe\sdefault\sTcl\szipfs-enabled\sbuild\sto\swork.\r\n\r\nTIP\s732\sis\smy\sattempt\sto\sfix\sthis\sbut\sis\sgoing\sto\sneed\stesting\seffort\sfrom\sdevelopers\son\sthe\saffected\splatforms\s(I\sdo\snot\shave\saccess\sto\smacos\sand\shave\sonly\sa\srudimentary\sknowledge\sof\sLinux/Unix\sinstallation\sconventions).
J login apnadkarni
J mimetype text/x-markdown
K 6fbabfe1661c22e7990bb917e9fa49cc16e016ea
U apnadkarni
Z ec29a70cac955546c45b4d90fb255702