Artifacts Associated With Ticket 3009227
Ticket change [dbde0d635b] (rid 108036) by jenglish on 2010-05-30 17:04:17:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
[ trying to build Tcl CVS HEAD on Windows using MSSDK + mingw ] The "packages:" target in win/Makefile.in has: packages: @builddir=`pwd`; \ [...] echo "Configuring package '$$i' wd = `pwd`"; \ $$i/configure --with-tcl=$(PWD) [...] However, $(PWD) is not always set by make or the shell. (In particular: CMD.EXE doesn't set it, nor apparently does GNU make. I think PWD is a bashism, don't recall for sure.) Anyway, changing this to "--with-tcl-$$builddir" (or "--with-tcl=../..", as is done in unix/Makefile.in) seems to do the trick. - foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "3 Low"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "jenglish"
- subsystem initialized to: "81. Bundled Packages"
- title initialized to: "PWD make variable in packages target"
- type initialized to: "Bug"
Ticket change [369885cf90] (rid 107132) by dgp on 2010-06-01 20:43:32:
- assignee changed to: "das"
- icomment:
See 2008-12-21 commit to unix/Makefile.in I think the ../.. answer is sadly necessary.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [24694f8428] (rid 131103) by venksi on 2010-06-24 23:03:03:
- icomment:
To add some more info, this causes the packages (tdbc and itcl) to not build. The error reported (by make) is: Building package 'itcl' make[1]: Entering directory `/c/tools/tcl/8.6-head/tcl/win/pkgs/itcl' make[1]: *** No targets specified and no makefile found. Stop. make[1]: Leaving directory `/c/tools/tcl/8.6-head/tcl/win/pkgs/itcl' Configuring package '/c/tools/tcl/8.6-head/tcl/pkgs/tdbc' wd = /c/tools/tcl/8.6-head/tcl/win/pkgs/tdbc checking for correct TEA configuration... ok (TEA 3.7) checking for cygpath... echo checking for Tcl configuration... configure: error: c:/tools/tcl/8.6-head directory doesn't contain tclConfig.sh Building package 'tdbc' make[1]: Entering directory `/c/tools/tcl/8.6-head/tcl/win/pkgs/tdbc' make[1]: *** No targets specified and no makefile found. Stop. make[1]: Leaving directory `/c/tools/tcl/8.6-head/tcl/win/pkgs/tdbc' Ignoring that and doing a make install anyway causes sh to core dump: Configuring package '/c/tools/tcl/8.6-head/tcl/pkgs/itcl' wd = /c/tools/tcl/8.6-head/tcl/win/pkgs/itcl /c/tools/tcl/8.6-head/tcl/pkgs/itcl/configure: line 95: 5936 Segmentation fault (core dumped) ( $as_unset $as_var ) >/dev/null 2>&1 Joe's fix
- login: "venksi"
- mimetype: "text/plain"
- username: "venksi"
- icomment:
Ticket change [d2adf6d8e7] (rid 113569) by venksi on 2010-06-24 23:03:32:
- icomment:
... to continue the previous comment ... Joe's fix works.
- login: "venksi"
- mimetype: "text/plain"
- username: "venksi"
- icomment:
Ticket change [ba118686d8] (rid 259739) by serhiy.storchaka on 2026-10-21 10:03:38:
- icomment:
Fixed in 8.6.1 by [0d1bc53480] and [d433d96843]: the packages targets in win/Makefile.in pass <tt>--with-tcl=$builddir</tt> instead of the unset <tt>$(PWD)</tt>.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [1d0da5a935] (rid 260028) by serhiy.storchaka on 2026-10-22 17:19:31:
- closedate changed to: "2461334.9191995487"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"