Artifacts Associated With Ticket 0bcc43fa77
Ticket change [842f299e58] (rid 168054) by anonymous on 2018-12-23 22:32:20:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/html"
- comment initialized to:
<p>While building the latest tcl 8.7 trunk on Windows 7 in a MSYS shell, "make install" fails with an error that the $PREFIX/include directory is missing.</p> <pre> scottyw@workshoppc MINGW32 /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/tcl-trunk/build-win $ make install Making directory /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib Making directory /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/bin Making directory /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib/dde1.4 Making directory /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib/reg1.3 Installing tcl90.dll to /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/bin/ Installing zlib1.dll to /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/bin/ Installing tclsh90.exe to /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/bin/ Installing tclConfig.sh to /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib/ Installing libtcl90.a to /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib/ Installing libtclstub90.a to /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib/ Installing tcldde14.dll Installing libtcldde14.a Installing tclreg13.dll Installing libtclreg13.a Making directory /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/include /bin/sh: line 4: /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/include: No such file or directory make: *** [Makefile:829: install-headers] Error 127 scottyw@workshoppc MINGW32 /c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/tcl-trunk/build-win $ </pre> <p>The failure is in the "install-headers" target. The mkdir command is missing and there is an INSTALL_DATA_DIR variable instead:</p> <pre> install-headers: @for i in "$(INCLUDE_INSTALL_DIR)"; \ do \ if [ ! -d "$$i" ] ; then \ echo "Making directory $$i"; \ $(INSTALL_DATA_DIR) "$$i"; \ else true; \ fi; \ done; @echo "Installing header files to $(INCLUDE_INSTALL_DIR)/"; </pre> <p>I applied the following change to win/Makefile.in and the problem was fixed. I was able to install tcl:</p> <pre> Index: win/Makefile.in ================================================================== --- win/Makefile.in +++ win/Makefile.in @@ -828,11 +828,11 @@ install-headers: @for i in "$(INCLUDE_INSTALL_DIR)"; \ do \ if [ ! -d "$$i" ] ; then \ echo "Making directory $$i"; \ - $(INSTALL_DATA_DIR) "$$i"; \ + $(MKDIR) "$$i"; \ else true; \ fi; \ done; @echo "Installing header files to $(INCLUDE_INSTALL_DIR)/"; @for i in $(GENERIC_DIR)/tcl.h $(GENERIC_DIR)/tclDecls.h \ </pre>
- foundin initialized to: "8.7 trunk"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "8625d05874a7ef9427be006eb0815aee03c19835"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to:
"make install" of tcl-8.7 trunk fails with fatal error
- type initialized to: "Patch"
Add attachment "tcl-trunk-configure-error.diff" [999a76818a] (rid 168055) by anonymous on 2018-12-23 22:32:54.
Ticket change [3580fba422] (rid 168101) by sebres on 2018-12-28 20:31:23:
- closedate changed to: "2458481.35512767"
- closer changed to: "sebres"
- icomment:
Fixed for both (8.7/9.0). Thank you, Scott.
- login: "sebres"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"