View Ticket
18:00 New ticket [bbc3b827e1] windows build: tls: msys2 requires -lwsock32 and configure issues. artifact: ee3104a80e user: anonymous

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...

a) Windows build with msys2 (libcrypto) requires -lwsock32
    so I set KC_TLS_LIBS=-lwsock32

b) But the configure script puts this before the -lssl -lcrypto and the
    configure test for basic ssl functionality fails.
I added the following to tls/ preconfigure()
sed -i -e '/^LIBS/ s,=.*,="${TCLTLS_SSL_LIBS} ${LIBS}",' configure
# two tabs
sed -i -e '/^           LIBS.*SAVE_LIBS.*TCLTLS/ s,=.*,="${TCLTLS_SSL_LIBS} ${SAVE_LIBS}",' configure

That's working now.

And on to the next problem...
/usr/bin/install -c tcltls.lib '/home/bll/tcl-bdj/kitcreator/tls/inst/lib/tcltls1.7.12'
/usr/bin/install: cannot stat 'tcltls.lib': No such file or directory