| Ticket UUID: | 3bd69eba99a395ee83cc0d1e29b867f3fbd55ff4 | ||
| Title: | `make dist` fails when tclsh9.0 is on $PATH | ||
| Type: | Bug | Created on: | 2016-05-31 19:30:21 |
| Submitter: | dgp | Assigned to: | jan.nijtmans |
| Subsystem: | 53. Configure and Build Tools | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2016-06-01 15:15:07 |
| Status: | Closed | Closed by: | jan.nijtmans |
| Resolution: | Fixed | Closed on: | 2016-06-01 15:15:07 |
| Version: | 8.6.5+ | ||
| Description: | ||||
If you've installed tclsh9.0 on your system
(say, off the novem branch), then when you
try to build Tcl 8.6(.5) you get...
$ ./configure
...
checking for tclsh... /path/to/bin/tclsh9.0
...
$ make dist
/path/to/tclsh9.0 /path/to/genStubs.tcl ...
version conflict for package "Tcl": have 9.0a0, need 8.4
while executing
"package require Tcl 8.4"
(file "/path/to/genStubs.tcl" line 13)
Either genStubs.tcl can be more accepting in what
Tcl versions it screens out, or the configure script
can become more limiting in what executables it
permits NATIVE_TCLSH to be, but something has to
change.
| ||||
| User Comments: | ||||
jan.nijtmans added on 2016-05-31 20:39:41:
I would vote for enabling genStubs.tcl to run with novem, so simply removing the "8.4" (just "package require Tcl" without version number) should suffice jan.nijtmans added on 2016-06-01 12:07:49:
Fixed on all open branches. Thanks for noticing this: the tools should (and do) just work for any Tcl version which is currently supported. jan.nijtmans added on 2016-06-01 15:15:07:
Explanation why all the "package require Tcl 8" checks are not necessary: Since the pkgIndex.tcl, or the startup in tkMain.c already check for the minimum required Tcl version, a "package require Tk 8.x" will already result in a failure if the Tcl version is not compatible with the Tk version. | ||||
