From: "Morris, Russell" Date: Fri, 20 Nov 2015 15:15:43 +0000 Message-ID: References: <564AFAF5.4030004@...515...> <564EDA4B.9010708@...515...> In-Reply-To: <564EDA4B.9010708@...515...> Content-Language: en-US MIME-Version: 1.0 Subject: Re: [Openvpn-devel] OpenVPN-GUI now on GitHub + other Windows team things List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: =?iso-8859-1?Q?Samuli_Sepp=E4nen?= , Selva Nair Cc: "openvpn-devel@lists.sourceforge.net" Hi, As an uneducated / idiot to this process .. I'll give this a try this weeke= nd, will confirm that the steps work (starting from scratch). Thanks! ... Russell -----Original Message----- From: Samuli Sepp=E4nen [mailto:samuli@...515...]=20 Sent: Friday, November 20, 2015 2:31 AM To: Selva Nair ; Morris, Russell Cc: openvpn-devel@lists.sourceforge.net Subject: Re: [Openvpn-devel] OpenVPN-GUI now on GitHub + other Windows team= things > Cross compiling on linux is possible. Actually its the only way I've=20 > build the gui. Its well documented when done as a part of the full=20 > distribution build using openvpn-build (as Samuli pointed out), but=20 > could be built alone as well. Here is a very basic description of what I = do: > > The only complication is you need openssl built for the target=20 > (windows) > -- I have this cross-compiled from source and installed in=20 > $HOME/windows/ There are some tutorials out there on how to=20 > cross-compile openssl. > > Alternatively if change-password feature is not required, you don't=20 > need openssl at all to build the gui (see below) > > I work on Debian Jessie, have autoconf, automake etc and=20 > mingw-w64-x86-64-dev and mingw-w64-i686-dev installed > > Steps -- building for 64 bit windows > > Starting from a clone of this gui repo from github, do > > $ autoreconf -i -v > > run configure as > $ OPENSSL_CRYPTO_CFLAGS=3D"-I /home/selva/windows/include/=20 > OPENSSL_CRYPTO_LIBS=3D"-L/home/selva/windows/lib/ -lcrypto" ./configure=20 > --prefix=3D/ --libdir=3D//lib --host=3Dx86_64-w64-mingw32 --target=3D=20 > --build=3Dx86_64-pc-linux-gnu --program-prefix=3D'' --sbindir=3D/bin > > (replace, /home/selva/windows by the location of openssl include and=20 > libs) > > If disable-change-password is ok, run configure as > > $ ./configure --prefix=3D/ --libdir=3D//lib --host=3Dx86_64-w64-mingw32=20 > --target=3D --build=3Dx86_64-pc-linux-gnu --program-prefix=3D'' > --sbindir=3D/bin CFLAGS=3D-DDISABLE_CHANGE_PASSWORD OPENSSL_CRYPTO_LIBS= =3D"-L./" > > $ make (optionally with -j n) > > That will build openvpn-gui.exe > The exec can be easily installed manually but you can also make the=20 > installer as > > $ make installer (needs makensis in path) I added these instructions + David's notes here: What we had there previously was fairly outdated and/or confusing. -- Samuli Sepp=E4nen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock