Il 10.05.2012 18:18, Alon Bar-Lev ha scritto: > On Thu, May 10, 2012 at 3:53 PM, Samuli Seppänen <sam...@openvpn.net> wrote: >>> On Thu, May 10, 2012 at 3:11 PM, Samuli Seppänen <sam...@openvpn.net> 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-helper-1.10' >>>> make[2]: Leaving directory >>>> `/home/samuli/opt/openvpn-build/windows-nsis/tmp/build-i686/pkcs11-helper-1.10' >>>> make[1]: Leaving directory >>>> `/home/samuli/opt/openvpn-build/windows-nsis/tmp/build-i686/pkcs11-helper-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 binaries >>>> 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="${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