Building tinc on windows with bash

Henk henk at innomeer.nl
Tue Sep 27 13:00:38 CEST 2016


I have successfully build tinc on windows with the new  Ubuntu bash.
I needed to work around some issues.
My first attempt was following: https://www.tinc-vpn.org/examples/cross-compiling-windows-binary<https://www.tinc-vpn.org/examples/cross-compiling-windows-binary/>
When doing so I did not find the LibreSSL sources in the build environment. I guess I must have done something wrong.
Then I tried: https://www.snip2code.com/Snippet/257857/Howto--cross-compiling-tinc-for-Windows-

This almost succeeded. I could not get the last configure to work: ./configure --host=i686-w64-mingw32 --with-zlib=$HOME/mingw/usr/local
I got the messages:

./configure: line 5272: syntax error near unexpected token `AX_APPEND_FLAG'
./configure: line 5272: `AX_REQUIRE_DEFINED(AX_APPEND_FLAG)'
make: *** No targets specified and no makefile found.  Stop.

Being a Windows developer I have no clue what to do :)

So I finally downloaded the latest source code (1.0.28) in the tar.
This one let me do the configure and build.
So I got a working tincd.exe.

I would like to have a build procedure I can repeat, like the tinc.sh from snip2code. Can somebody tell how to find out why I got the syntax error near unexpected token `AX_APPEND_FLAG' message?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc-devel/attachments/20160927/6acae8de/attachment.html>


More information about the tinc-devel mailing list