Changes between Version 29 and Version 30 of BuildingOnWindows
- Timestamp:
- 11/11/10 12:45:05 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnWindows
v29 v30 31 31 [http://www.activestate.com/activeperl ActivePerl] is required to build OpenSSL, which in turn is required to build OpenVPN. Look [http://ehsanakhgari.org/blog/2008-05-04/compiling-openvpn-windows here] for details. Probably a [http://www.perl.org/get.html standard Perl installation] would also do the trick. 32 32 33 == LZO library ==34 35 Sources for the [http://www.oberhumer.com/opensource/lzo/ LZO library] are required to build OpenVPN.36 37 == OpenSSL ==38 39 Sources for the [http://www.openssl.org/ OpenSSL] library are required to build OpenVPN. Both 0.9.8 and 1.0.0 series should work.40 41 33 = Installing optional Git support = 42 34 … … 66 58 67 59 {{{ 68 cd c:\<directory-with-openssl-sources> 69 perl Configure VC-WIN32 --prefix=c:/<openssl-install-directory> 60 C:\openssl-1.0.0> perl Configure VC-WIN32 --prefix=c:/<openssl-install-directory> 70 61 }}} 71 62 … … 75 66 76 67 {{{ 77 ms\do_masm68 C:\openssl-1.0.0> ms\do_masm 78 69 }}} 79 70 … … 81 72 82 73 {{{ 83 ms\do_nasm74 C:\openssl-1.0.0> ms\do_nasm 84 75 }}} 85 76 … … 87 78 88 79 {{{ 89 nmake -f ms\ntdll.mak 90 nmake -f ms\ntdll.mak test 91 nmake -f ms\ntdll.mak install 80 C:\openssl-1.0.0> '''nmake -f ms\ntdll.mak''' 81 C:\openssl-1.0.0> nmake -f ms\ntdll.mak test 82 C:\openssl-1.0.0> nmake -f ms\ntdll.mak install 83 }}} 84 85 = Building LZO = 86 87 The [http://www.oberhumer.com/opensource/lzo/ LZO library] is required to build OpenVPN. Once you've unpacked the source package, open the ''B/00README.txt'' file to get an overview of the Windows build process. If all goes well, you'll only need to run one .bat file: 88 89 {{{ 90 C:\lzo-2.0.4> B\win32\vc_dll.bat 92 91 }}} 93 92