View Ticket
Ticket Hash: bbc3b827e156a4a98c23305f1a1ee7c25d036bdd
Title: windows build: tls: msys2 requires -lwsock32 and configure issues
Status: Open Type: Build Problem
Severity: Minor Priority:
Subsystem: Resolution:
Last Modified: 2017-08-25 18:00:14
Version Found In: 0.10.2
Building the tcltls package...<br /><br />a) Windows build with msys2 (libcrypto) requires -lwsock32<br />&nbsp;&nbsp;&nbsp; so I set KC_TLS_LIBS=-lwsock32<br /><br />b) But the configure script puts this before the -lssl -lcrypto and the <br />&nbsp;&nbsp;&nbsp; configure test for basic ssl functionality fails.<br />&nbsp;&nbsp;&nbsp; <br />I added the following to tls/ preconfigure()<br /><pre>sed -i -e '/^LIBS/ s,=.*,="${TCLTLS_SSL_LIBS} ${LIBS}",' configure<br /># two tabs<br />sed -i -e '/^&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LIBS.*SAVE_LIBS.*TCLTLS/ s,=.*,="${TCLTLS_SSL_LIBS} ${SAVE_LIBS}",' configure</pre><br />That's working now.<br /><br />And on to the next problem...<br />/usr/bin/install -c tcltls.lib '/home/bll/tcl-bdj/kitcreator/tls/inst/lib/tcltls1.7.12'<br />/usr/bin/install: cannot stat 'tcltls.lib': No such file or directory<br /><br />