Errors compiling tinc 1.0.12 on QNAP NAS (x86)

Guus Sliepen guus at tinc-vpn.org
Thu Feb 18 11:26:49 CET 2010


On Thu, Feb 18, 2010 at 10:34:04AM +0100, Jörg Weske wrote:

> first of all - thanks for creating tinc! It has become an invaluable
> tool for me to securely join a multitude of servers and clients
> through a VPN.

Thanks!

> Today, I was trying to compile Tinc 1.0.12 on my newly purchased x86
> Linux-based QNAP TS-239 Pro NAS device (Kernel 2.6.30.6).
[...]
> gawk: ./conf5RzOPC/subs.awk:2: S["/; s/!.*/"]=am__EXEEXT_FALSE!%!_!# ""
> gawk: ./conf5RzOPC/subs.awk:2:                                 ^
> syntax error
> 
> What could be the problem?

A quick Google shows me this is not an uncommon problem when compiling software
on a QNAP NAS. For example:

http://forum.qnap.com/viewtopic.php?f=121&t=25283

As suggested in the first comment, try adding /opt/bin to your $PATH before
running ./configure and make, so that it doesn't inadvertently uses the busybox
version of awk.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc-devel/attachments/20100218/08df3a0d/attachment.pgp>


More information about the tinc-devel mailing list