Errors compiling tinc 1.0.12 on QNAP NAS (x86)

Timothy Redaelli timothy at redaelli.eu
Thu Feb 18 12:23:39 CET 2010


On Thursday 18 February 2010 11:26:49 Guus Sliepen wrote:
> 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.

The problem is the busybox version of sed, not awk :)
So you have to install sed from opkg and change the path to use it

-- 
Timothy Redaelli
IT Consultant
Email: timothy a redaelli.eu
Mobile: +39 (338) 1187273
WWW:  http://www.redaelli.eu/


More information about the tinc-devel mailing list