|
2026-10-22
| ||
| 17:19 | • Ticket [3009227fff] PWD make variable in packages target status still Closed... artifact: 1d0da5a935 user: serhiy.storchaka | |
|
2026-10-21
| ||
| 10:03 | • Closed ticket [2957998fff]: Packages tdbc and itcl not built when plus 4 ot... artifact: 72da655a9c user: serhiy.storchaka | |
| 10:03 | • Closed ticket [3009227fff]: PWD make variable in packages target plus 4 othe... artifact: ba118686d8 user: serhiy.storchaka | |
|
2010-06-24
| ||
| 23:03 | • Ticket [3009227fff]: 4 changes artifact: d2adf6d8e7 user: venksi | |
| 23:03 | • Ticket [3009227fff]: 4 changes artifact: 24694f8428 user: venksi | |
|
2010-06-01
| ||
| 20:43 | • Ticket [3009227fff]: 5 changes artifact: 369885cf90 user: dgp | |
|
2010-05-30
| ||
| 17:04 | • New ticket [3009227fff]. artifact: dbde0d635b user: jenglish | |
| Ticket UUID: | 3009227 | ||
| Title: | PWD make variable in packages target | ||
| Type: | Bug | Created on: | 2010-05-30 17:04:17 |
| Submitter: | jenglish | Assigned to: | das |
| Subsystem: | 81. Bundled Packages | Severity: | |
| Priority: | 3 Low | Last modified: | 2026-10-22 17:19:31 |
| Status: | Closed | Closed by: | serhiy.storchaka |
| Resolution: | Fixed | Closed on: | 2026-10-21 10:03:38 |
| Version: | obsolete: 8.6b1.1 | ||
| Description: | ||||
[ 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.
| ||||
| User Comments: | ||||
dgp added on 2010-06-01 20:43:32:
See 2008-12-21 commit to unix/Makefile.in I think the ../.. answer is sadly necessary. venksi added on 2010-06-24 23:03:03:
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 venksi added on 2010-06-24 23:03:32:
... to continue the previous comment ... Joe's fix works. serhiy.storchaka added on 2026-10-21 10:03:38:
Fixed in 8.6.1 by [0d1bc53480] and [d433d96843]: the packages targets in win/Makefile.in pass --with-tcl=$builddir instead of the unset $(PWD). | ||||
