Thank you, I will gladly try this. For your information I did do: sudo apt-get install autoconf-archive I got this from: http://stackoverflow.com/questions/30412576/autotools-syntax-error-with-ax-check-compile-flag That did not make any difference. -----Oorspronkelijk bericht----- Van: tinc-devel [mailto:tinc-devel-bounces at tinc-vpn.org] Namens Guus Sliepen Verzonden: dinsdag 27 september 2016 14:14 Aan: tinc-devel at tinc-vpn.org Onderwerp: Re: Building tinc on windows with bash On Tue, Sep 27, 2016 at 11:00:38AM +0000, Henk wrote:> ./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.[...]> 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?Ah, it seems the build system makes use of AX_APPEND_FLAG, but this macro is not defined in the standard autoconf macros, but rather requires you to install the autoconf-archive package. It is not a problem when you download the tarball, because there it comes with a pre-generated configure script. I'll make sure to add a copy of that macro to tinc's git repository so it's more self-contained. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org>
On Tue, Sep 27, 2016 at 12:32:12PM +0000, Henk wrote:> For your information I did do: > sudo apt-get install autoconf-archive > > I got this from: http://stackoverflow.com/questions/30412576/autotools-syntax-error-with-ax-check-compile-flag > > That did not make any difference.You'd have to run autoreconf again afterwards. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc-devel/attachments/20160927/926ee088/attachment-0001.sig>
I have run autoreconf again. I actually ran the tinc.sh script multiple times. It gave an error every time. -----Oorspronkelijk bericht----- Van: tinc-devel [mailto:tinc-devel-bounces at tinc-vpn.org] Namens Guus Sliepen Verzonden: dinsdag 27 september 2016 15:14 Aan: tinc-devel at tinc-vpn.org Onderwerp: Re: Building tinc on windows with bash On Tue, Sep 27, 2016 at 12:32:12PM +0000, Henk wrote:> For your information I did do: > sudo apt-get install autoconf-archive > > I got this from: http://stackoverflow.com/questions/30412576/autotools-syntax-error-with-ax-check-compile-flag > > That did not make any difference.You'd have to run autoreconf again afterwards. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org>