Skip to content
Tcl Source Code Artifact [842f299e58]
Login

Artifact [842f299e58]

Artifact 842f299e582ebc1e844a445bb32ac3ed799e6744f17ce27289bed6fb021457b4:

Ticket change [842f299e58] - New ticket [0bcc43fa778517c4|0bcc43fa77] <i>&quot;make install&quot; of tcl-8.7 trunk fails with fatal error</i>. by anonymous on 2018-12-23 22:32:20.
D 2018-12-23T22:32:20.883
J assignee nobody
J closer nobody
J cmimetype text/html
J comment <p>While\sbuilding\sthe\slatest\stcl\s8.7\strunk\son\sWindows\s7\sin\sa\sMSYS\sshell,\s"make\sinstall"\sfails\swith\san\serror\sthat\sthe\s$PREFIX/include\sdirectory\sis\smissing.</p>\r\n<pre>\r\nscottyw@workshoppc\sMINGW32\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/tcl-trunk/build-win\r\n$\smake\sinstall\r\nMaking\sdirectory\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib\r\nMaking\sdirectory\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/bin\r\nMaking\sdirectory\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib/dde1.4\r\nMaking\sdirectory\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib/reg1.3\r\nInstalling\stcl90.dll\sto\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/bin/\r\nInstalling\szlib1.dll\sto\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/bin/\r\nInstalling\stclsh90.exe\sto\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/bin/\r\nInstalling\stclConfig.sh\sto\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib/\r\nInstalling\slibtcl90.a\sto\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib/\r\nInstalling\slibtclstub90.a\sto\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/lib/\r\nInstalling\stcldde14.dll\r\nInstalling\slibtcldde14.a\r\nInstalling\stclreg13.dll\r\nInstalling\slibtclreg13.a\r\nMaking\sdirectory\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/include\r\n/bin/sh:\sline\s4:\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/local-win/include:\sNo\ssuch\sfile\sor\sdirectory\r\nmake:\s***\s[Makefile:829:\sinstall-headers]\sError\s127\r\n\r\nscottyw@workshoppc\sMINGW32\s/c/Users/scottyw/Desktop/src/tcltk/core.tcl.tk/tk-rgbmask-fix/tcl-trunk/build-win\r\n$\r\n</pre>\r\n<p>The\sfailure\sis\sin\sthe\s"install-headers"\starget.\sThe\smkdir\scommand\sis\smissing\sand\sthere\sis\san\sINSTALL_DATA_DIR\svariable\sinstead:</p>\r\n<pre>\r\ninstall-headers:\r\n\t@for\si\sin\s"$(INCLUDE_INSTALL_DIR)";\s\\\r\n\t\s\s\s\sdo\s\\\r\n\t\s\s\s\sif\s[\s!\s-d\s"$$i"\s]\s;\sthen\s\\\r\n\t\techo\s"Making\sdirectory\s$$i";\s\\\r\n\t\t$(INSTALL_DATA_DIR)\s"$$i";\s\\\r\n\t\telse\strue;\s\\\r\n\t\tfi;\s\\\r\n\t\s\s\s\sdone;\r\n\t@echo\s"Installing\sheader\sfiles\sto\s$(INCLUDE_INSTALL_DIR)/";\r\n</pre>\r\n<p>I\sapplied\sthe\sfollowing\schange\sto\swin/Makefile.in\sand\sthe\sproblem\swas\sfixed.\sI\swas\sable\sto\sinstall\stcl:</p>\r\n<pre>\r\nIndex:\swin/Makefile.in\r\n==================================================================\r\n---\swin/Makefile.in\r\n+++\swin/Makefile.in\r\n@@\s-828,11\s+828,11\s@@\r\n\sinstall-headers:\r\n\s\t@for\si\sin\s"$(INCLUDE_INSTALL_DIR)";\s\\\r\n\s\t\s\s\s\sdo\s\\\r\n\s\t\s\s\s\sif\s[\s!\s-d\s"$$i"\s]\s;\sthen\s\\\r\n\s\t\techo\s"Making\sdirectory\s$$i";\s\\\r\n-\t\t$(INSTALL_DATA_DIR)\s"$$i";\s\\\r\n+\t\t$(MKDIR)\s"$$i";\s\\\r\n\s\t\telse\strue;\s\\\r\n\s\t\tfi;\s\\\r\n\s\t\s\s\s\sdone;\r\n\s\t@echo\s"Installing\sheader\sfiles\sto\s$(INCLUDE_INSTALL_DIR)/";\r\n\s\t@for\si\sin\s$(GENERIC_DIR)/tcl.h\s$(GENERIC_DIR)/tclDecls.h\s\\\r\n</pre>
J foundin 8.7\strunk
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact 8625d05874a7ef9427be006eb0815aee03c19835
J resolution None
J severity Important
J status Open
J submitter anonymous
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title "make\sinstall"\sof\stcl-8.7\strunk\sfails\swith\sfatal\serror
J type Patch
K 0bcc43fa778517c48aaedc1f0f0dcbad97e2efa7
U anonymous
Z 88e1de542b8e08e276f2d047737383ac