Skip to content
Tcl Source Code History Of Ticket 0bcc43fa77
Login

History Of Ticket 0bcc43fa77

Artifacts Associated With Ticket 0bcc43fa77

  1. Ticket change [842f299e58] (rid 168054) by anonymous on 2018-12-23 22:32:20:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/html"
    4. 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>
      
    5. foundin initialized to: "8.7 trunk"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "8625d05874a7ef9427be006eb0815aee03c19835"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "53. Configuration and Build Tools"
    15. title initialized to:
      "make install" of tcl-8.7 trunk fails with fatal error
      
    16. type initialized to: "Patch"
  2. Add attachment "tcl-trunk-configure-error.diff" [999a76818a] (rid 168055) by anonymous on 2018-12-23 22:32:54.

  3. Ticket change [3580fba422] (rid 168101) by sebres on 2018-12-28 20:31:23:

    1. closedate changed to: "2458481.35512767"
    2. closer changed to: "sebres"
    3. icomment:
      Fixed for both (8.7/9.0).
      Thank you, Scott.
      
    4. login: "sebres"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"