Message-ID: <4FAD1FDF.2040207@...515...> Date: Fri, 11 May 2012 17:19:11 +0300 From: =?UTF-8?B?U2FtdWxpIFNlcHDDpG5lbg==?= MIME-Version: 1.0 References: <4FABB063.8090704@...515...> <4FABBA2D.9010206@...515...> In-Reply-To: Subject: Re: [Openvpn-devel] Some issues with openvpn-build/windows-nsis List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To: Alon Bar-Lev Cc: "openvpn-devel@lists.sourceforge.net" Il 10.05.2012 18:18, Alon Bar-Lev ha scritto: > On Thu, May 10, 2012 at 3:53 PM, Samuli Sepp=C3=A4nen = wrote: >>> On Thu, May 10, 2012 at 3:11 PM, Samuli Sepp=C3=A4nen wrote: >>>> Hi, >>>> >>>> I tried to generate a Windows installer on Ubuntu 11.10 amd64, but ran >>>> into some issues: >>>> >>>> $ cd openvpn-build/windows-nsis >>>> $ ./build-snapshot >>>> --- snip --- >>>> >>>> make[3]: Leaving directory >>>> `/home/samuli/opt/openvpn-build/windows-nsis/tmp/build-i686/pkcs11-hel= per-1.10' >>>> make[2]: Leaving directory >>>> `/home/samuli/opt/openvpn-build/windows-nsis/tmp/build-i686/pkcs11-hel= per-1.10' >>>> make[1]: Leaving directory >>>> `/home/samuli/opt/openvpn-build/windows-nsis/tmp/build-i686/pkcs11-hel= per-1.10' >>>> tap-windows >>>> Fixup libtool files >>>> Restore libtool files >>>> ls: cannot access tmp/image-i686/openvpn-i686-*-bin.*: No such file or >>>> directory >>>> >>>> The error message seems clear enough, but I'm wondering why the binari= es >>>> are not where it looks for them: >>>> >>>> $ ls tmp/image-i686 >>>> openvpn >>>> $ ls tmp/image-i686/openvpn >>>> bin etc include lib share >>> This is strange, as you referred to dash, which I never tested, I will >>> try and see if that is the problem. >>> >>> Alon. >> What I know is that if I work around this problem, I get a shell syntax >> error later on... and if I switch #!/bin/sh to #!/bin/bash in >> "build-snapshot", that syntax error goes away. To be more precise, the >> error occurs at openvpn-build/windows-nsis/build:5, which is >> >> ROOT=3D"${ROOT:-tmp}" >> >> I don't have full logs at hand right now, unfortunately. > No the problem was in much later phase... dash does not support ${XXX//} = syntax. > Fixed now. > Can you please try again? > > Thanks! > Alon. Yeah, will do. Samuli