Context Navigation

Introduction

Note: As of 2018, only Ubuntu 16.04 LTS is known to work with the Openvpn Build-System.

In general, MinGW-w64 2.0.x found in Ubuntu 12.04 (=2.0.1) or Ubuntu 12.10 (=2.0.3) and other fairly up-to-date distros is recent enough to build openvpn and it's dependencies using openvpn-build/generic. However, the latest version of openvpn-gui (as of July 2012) requires backporting some patches from mingw SVN trunk to mingw 2.0.x codebase. These patches are attached to this Wiki page for your convenience.

Building patched mingw-w64-2.0.1 Ubuntu packages

First copy all the patches on this page to your home directory. Then install mingw-w64 build dependencies:

Installing patched mingw-w64-2.0.1 Ubuntu packages

Instead of patching and building mingw-w64 yourself, you can try installing standard mingw-w64 from Ubuntu repositories and then installing
​these mingw-w64 packages on top of those. Use MinGW 2.0.1 on Ubuntu 12.04 and MinGW 2.0.3 on Ubuntu 12.10. The build number of the modified packages is set high to prevent standard packages from overwriting them during system upgrades.