Hello, 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. 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). The configure-script finishes without error (see attached config.log). However, configure.status fails with lots of gawk syntax errors (see attached configure.status-error.log): gawk: ./conf5RzOPC/subs.awk:2: S["/; s/!.*/"]=am__EXEEXT_FALSE!%!_!# "" gawk: ./conf5RzOPC/subs.awk:2: ^ syntax error gawk: ./conf5RzOPC/subs.awk:3: S["/; s/!.*/"]=am__EXEEXT_FALSE!%!_!# "" gawk: ./conf5RzOPC/subs.awk:3: ^ syntax error gawk: ./conf5RzOPC/subs.awk:4: S["/; s/!.*/"]=am__EXEEXT_TRUE!#%!_!# "#" gawk: ./conf5RzOPC/subs.awk:4: ^ syntax error (and so on) What could be the problem? Thanks! -- Best regards, J?rg Weske -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: config.log URL: <http://www.tinc-vpn.org/pipermail/tinc-devel/attachments/20100218/a214fcf2/attachment-0001.asc> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: configure.status-error.log URL: <http://www.tinc-vpn.org/pipermail/tinc-devel/attachments/20100218/a214fcf2/attachment-0001.txt>
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>