I see daily builds like



        
http://build.openvpn.net/downloads/snapshots/openvpn-install-master-20160607214911-63b3e000c9-x86_64.exe


            I used to think they are built with "build-snapshot":

        
https://github.com/OpenVPN/openvpn-build/blob/master/windows-nsis/build-snapshot

            however, when I run it,


            ....
            tap-windows
            Fixup libtool files
            Restore libtool files
            Fixup libtool files
            Build openvpn
            ../generic/build: line 284: cd:

        /home/ilia/openvpn-build/windows-nsis/tmp/build-i686/openvpn-2.3.11:
            No such file or directory
            FATAL: cd openvpn
            FATAL: build i686 >&2
            FATAL: build-complete >&2
            [ilia@localhost windows-nsis]$


            somehow it tries to find openvpn-2.3.11 instead of master.


            how am I supposed to run that script ?


    The build-snapshot script is a simple wrapper around build-complete,
    which is why it failed. You basically need to use

    OPENVPN_VERSION=2.3_git build-snapshot <args>



I've managed to build snapshot by hands (I found guide on wiki)
however, I used to think that I either run that script and it builds or
it says me "please specify OPENVPN_VERSION..."


I'll try to make a patch if I would have time

Excellent idea, in particular because this tends to hit people quite often. Basically you could either check that the value of OPENVPN_VERSION matches the value in version.m4, or even better, set the value from version.m4 automatically when using build-snapshot.

--
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock

Reply via email to