Skip to content
Tcl Source Code Artifact [62eed7018c]
Login

Artifact [62eed7018c]

Artifact 62eed7018c5c093a5c591fe2db1124841aea12cf011d9040fa715f2de16bb36a:

Ticket change [62eed7018c] - Ticket [17ffc49790fadbc4|17ffc49790] <i>Building Tcl 9.0.2 release fails when using &quot;configure --srcdir=&lt;path&gt; ...&quot;</i> status still Open with 4 other changes by serhiy.storchaka on 2026-10-20 11:56:31.
D 2026-10-20T11:56:31.218
J foundin 9.1.0
J icomment Reproduced\swith\san\sout-of-tree\sbuild\sof\sthe\scurrent\smain\swith\sThread\sand\sItcl\sin\spkgs/:\s<tt>.../unix/configure\s--srcdir=.../unix</tt>,\sthen\s<tt>make</tt>\sfails\sin\sconfigure-packages\swith\s"cannot\sfind\ssources\s()\sin\s.../unix".\sThe\srelative\s<tt>--with-tcl=../..</tt>\sis\snot\sthe\sproblem:\sTcl\spasses\sits\sown\s<tt>--srcdir</tt>\son\sto\seach\spackage's\sconfigure\s(in\s<tt>PKG_CFG_ARGS</tt>),\sso\sthe\spackage\slooks\sfor\sits\ssources\sin\sTcl's\sunix\sdirectory.\sThe\spackages\sdo\snot\sneed\sit,\ssince\stheir\sconfigure\sscripts\sare\srun\sby\sabsolute\spath.\n\nProposed\sfix\sin\sbranch\s[/timeline?r=configure-pkgs-no-srcdir|configure-pkgs-no-srcdir]:\sdo\snot\spass\s<tt>--srcdir</tt>\sto\sthe\spackages,\sin\sunix/configure.ac\sand\salso\sin\swin/configure.ac,\swhich\shad\sthe\ssame\sproblem\s(there\sthe\spackage\sconfigure\sfailed\ssilently).\sWith\sit,\sout-of-tree\sbuilds\swith\sa\srelative\sor\sabsolute\s<tt>--srcdir</tt>,\sor\swithout\sit,\sbuild\sThread\sand\sItcl,\sand\s<tt>make\sinstall</tt>\sinstalls\sthem;\salso\schecked\swith\sa\sMinGW\scross\sbuild.\n\nNote\sthat\s<tt>--srcdir</tt>\smust\spoint\sto\sthe\sunix\s(or\swin)\sdirectory,\snot\sto\sthe\stop\sof\sthe\ssource\stree\sas\sin\sthe\soriginal\sreport.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 17ffc49790fadbc4f515aa0b01f123e75f9fad26
U serhiy.storchaka
Z 592a36f9e6ae14ccd29cac8ceeddd6f5