|
2019-09-02
| ||
| 09:40 | • Ticket [5591e4a820] @TCL_EXE@ not properly generated in 8.5 branch status st... artifact: fdea5b768e user: jan.nijtmans | |
| 09:30 | • Ticket [5591e4a820]: 5 changes artifact: 639cf90c49 user: jan.nijtmans | |
| 09:17 | • Ticket [5591e4a820]: 5 changes artifact: 1c6851629e user: sebres | |
| 08:28 | Fix [5591e4a820]: @TCL_EXE@ not properly generated in 8.5 branch. Added @runstatedir@ in Makefile.in... check-in: 6bc6e7c170 user: jan.nijtmans tags: core-8-5-branch | |
| 08:28 | • Closed ticket [5591e4a820]: @TCL_EXE@ not properly generated in 8.5 branch p... artifact: 595a3c6950 user: jan.nijtmans | |
| 05:18 | • New ticket [5591e4a820]. artifact: e1b61bc8c8 user: tombert | |
@TCL_EXE@ not properly generated in 8.5 branch
Working on Win10 with MSYS2 64bit
Cloned last sources https://core.tcl-lang.org/tcl/info/d9ccf1ab846d619b on branch core-8-5-branch
Compiling goes fine, but "make install" fails:
Installing tcldde14.dll
Installing libtcldde14.a
Installing tclreg13.dll
Installing libtclreg13.a
Installing time zone data
/bin/sh: TCL_EXE@: command not found
make: *** [Makefile:678: install-tzdata] Error 127
The cause seem to be the Makefile here:
TCL_EXE = @TCL_EXE@
In the 8.6 branch the line is properly generated:
TCL_EXE = TCL_LIBRARY="${LIBRARY_DIR}"; export TCL_LIBRARY; ./${TCLSH}
It might be noteworthy that also this line fails:
datarootdir = @datarootdir@
I am unable to find the cause of it. Can you please fix?
Regards
6bc6e7c170Fix [5591e4a820]: @TCL_EXE@ not properly generated in 8.5 branch. Added @runstatedir@ in Makefile.in, not used yet (except if someone decides to re-generate "configure" with autconf-2.70). check-in2019-09-02 08:28:39
That was a little collateral damage caused by this commit: [09dae07f92d54d3d]
Fixed now.
Thanks for the report!
B.T.W.: @datarootdir@ is only used by autoconf-2.69, but Tcl 8.5 still used autoconf-2.59. Adding it to the makefile just prevents a warning-message when someone decides to re-generate the configure script using autoconf-2.69, that's all. So, it's there for a known purpose. See: https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Changed-Directory-Variables.html for more information
B.T.W 2: I added @runstatedir@ now, which will be introduced in autoconf-2.70. Just in case ;-)
You have merged in 8.6 as it is (so built with 2.59). Should not "configure" of 8.6 be build with 2.69 autoconf?
> You have merged in 8.6 as it is Not exactly: I re-generated the configure scripts with autoconf-2.59, as always with 8.5 and 8.6 lines. The switch to autoconf-2.69 should only be done starting with 8.7 (I know this is violated in the past) The main difference between autoconf-2.59 and 2.69 is where the manual files are installed. Such kind of changes is not expected in a patch-release, therefore we should stick with autoconf-2.59 in 8.5 and 8.6.
See: https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Changed-Directory-Variables.html for the difference between autoconf-2.59 and 2.69.