For starters, in generic/ you may want to add a -L in the CURLOPTS to make it follow the 302's from github.
I'll continue in the following days and let you know how it goes. BTW, to do the MSVC build I installed Strawberry Perl, which I think is the best option when one wants Perl on windows. Now that I think of it, one should theoretically be able to compile openvpn and its dependencies with Strawberry Perl alone as the only necessary prerequisite, since tools such as mingw and dmake are included in the strawberry package (they are used to compile Perl XS modules, etc). On Wed, Mar 14, 2012 at 7:22 PM, Alon Bar-Lev <alon.bar...@gmail.com> wrote: > But I am more interested to see you succeed mingw configuration. > > Under cygwin: > > $ git clone https://github.com/alonbl/openvpn-build.git > $ cd openvpn-build/generic > $ ./build > > Refer to README for packages required. > > Alon. > > On Wed, Mar 14, 2012 at 7:10 PM, Alon Bar-Lev <alon.bar...@gmail.com> > wrote: > > I converted it using the VCExpress. > > > > On Wed, Mar 14, 2012 at 7:01 PM, Athanasios Douitsis <aduit...@gmail.com> > wrote: > >> Right, works, at least for me. I managed to get an openvpn binary. > >> > >> May I ask, how did you convert the previous sln file with VC express > 2010? > >> Or it was already compatible with VC2010? > >> > >> On Wed, Mar 14, 2012 at 5:13 PM, Athanasios Douitsis < > aduit...@gmail.com> > >> wrote: > >>> > >>> Alon, > >>> > >>> Thank you very much for the very quick response, sooner or later I'll > let > >>> you know how it goes. > >>> > >>> Kind Regards, > >>> Athanasios > >>> > >>> > >>> On Wed, Mar 14, 2012 at 5:09 PM, Athanasios Douitsis < > aduit...@gmail.com> > >>> wrote: > >>>> > >>>> Oh crap....I've just uninstalled VC2010 from my builder :) :) :) > >>>> > >>>> > >>>> 2012/3/14 Alon Bar-Lev <alon.bar...@gmail.com> > >>>>> > >>>>> Thanks. > >>>>> > >>>>> In the mean time I upgraded the VC support for 2010 (and above? > >>>>> hopefully). > >>>>> > >>>>> Athanasios, you may try again. > >>>>> > >>>>> Alon. > >>>>> > >>>>> 2012/3/14 Samuli Seppänen <sam...@openvpn.net> > >>>>> > > >>>>> > Il 14.03.2012 11:13, Alon Bar-Lev ha scritto: > >>>>> > > On Wed, Mar 14, 2012 at 11:10 AM, David Sommerseth > >>>>> > > <openvpn.l...@topphemmelig.net> wrote: > >>>>> > >> -----BEGIN PGP SIGNED MESSAGE----- > >>>>> > >> Hash: SHA1 > >>>>> > >> > >>>>> > >> On 14/03/12 09:33, Alon Bar-Lev wrote: > >>>>> > >>> As the mingw build is the formal build, there is no reason to > keep > >>>>> > >>> supporting old visual studio configurations. > >>>>> > >> That's debatable. James Yonan is using MSVC for the OpenVPN AS > >>>>> > >> client, > >>>>> > >> and has indicated that he wanted that. I don't know much more > than > >>>>> > >> this, > >>>>> > >> but it might be related to his concerns about the old mingw32 > tool > >>>>> > >> chain > >>>>> > >> not being too well maintained. I know that's not an issue with > the > >>>>> > >> mingw64 stuff. > >>>>> > >> > >>>>> > >> However, currently the official tool chain is MSVC for Windows > >>>>> > >> builds. > >>>>> > >> All other platforms uses the autotools toolchain. We can surely > >>>>> > >> discuss > >>>>> > >> if this is the right discussion, but that's a discussion where > >>>>> > >> James > >>>>> > >> will > >>>>> > >> have the final word. > >>>>> > >> > >>>>> > >> - From my perspective, the less toolchains we need to care > about, > >>>>> > >> the > >>>>> > >> better. But we are not in a position where we can overrule > James' > >>>>> > >> decisions, especially not without involving him in the > discussion. > >>>>> > > So please involve. > >>>>> > > Again, I did not wrote to remove MSVC, just to support 2010 and > >>>>> > > above. > >>>>> > > > >>>>> > > Alon. > >>>>> > I'll try to involve him in this week's or next week's IRC meeting > :). > >>>>> > > >>>>> > Personally, I got the feeling that the Python-based MSVC > buildsystem > >>>>> > he > >>>>> > started writing (and which I finished) was a reaction to the > general > >>>>> > crappiness of OpenVPN Windows buildsystem(s). And that should not > be > >>>>> > an > >>>>> > argument after the new "generic" buildsystem is merged. > >>>>> > > >>>>> > -- > >>>>> > Samuli Seppänen > >>>>> > Community Manager > >>>>> > OpenVPN Technologies, Inc > >>>>> > > >>>>> > irc freenode net: mattock > >>>>> > > >>>> > >>>> > >>>> > >>>> > >>>> -- > >>>> Athanasios Douitsis > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> -- > >>> Athanasios Douitsis > >>> > >>> > >>> > >> > >> > >> > >> -- > >> Athanasios Douitsis > >> > >> > >> > -- Athanasios Douitsis