1 Building on Win 32 platforms
2 ============================
3 31.7.1999, Sampo Kellomaki <sampo@iki..fi>
4 7.6.2002, reviewed and added comments, --Sampo
5 16.8.2002, added comments by Marcel Bucher --Sampo
6 10.7.2007. Complete rewrite to agree with latest version 1.31. References to
7 ancient versions and untested procedures removed --mikem
10 1. Windows Server 2003
13 Microsoft Platform SDK SVR2003R2
14 Shining Light Win32 OpenSSL 0.9.7L
15 http://www.shininglightpro.com/products/Win32OpenSSL.html
16 Dynamic linking to SSL DLLs
18 Install all packages in the order listed above
19 Unpack and install the Net-SSLeay package
26 Caution. There is an issue with Shining Light Win32 OpenSSL 0.9.7m and 0.9.8e
27 on Server 2003: These versions were built with VC 7.1 and the packages are
28 missing the 7.1 runtime DLL. This means that the openssl binaries from those
29 versions will not run on a standard Server 2003 platform, and this prevents
30 Net-SSLeay being built. Shining Light say this problem will be fixed in later
31 versions, where they will revert to the earlier build procedures.
33 2. Windows Server 2003
36 Microsoft Platform SDK SVR2003R2
37 OpenSSL 0.9.8e source openssl-0.9.8e.tar.gz
38 Dynamic linking to SSL DLLs
40 Install all packages in the order listed above
41 Unpack and build OpenSSL:
43 perl Configure VC-WIN32 --prefix=c:/OpenSSL
46 nmake -f ms\ntdll.mak install
47 (if you have trouble getting to this stage, consult INSTALL.W32)
48 copy c:\OpenSSL\bin\*.dll c:\windows\system32
50 Unpack and install the Net-SSLeay package
54 copy c:\OpenSSL\bin\*.dll blib\arch\auto\Net\SSLeay\
58 3. Windows XP SP2 CAUTION: this is not working yet
60 Visual Studio Express 2005
61 Microsoft Platform SDK SVR2003R2
62 OpenSSL 0.9.8e source openssl-0.9.8e.tar.gz
63 Dynamic linking to SSL DLLs
65 - Install all packages in the order listed above (make sure you follow the
66 instructions on the download page about adding the appropriate paths to the
67 Projects and Solutions section of the Options dialog box, and updating
68 corewin_express.vsprops file)
69 - Start a build shell with Start->All Programs->Microsoft Windows SDK->CMD Shell
71 - perl Configure VC-WIN32 --prefix=c:/OpenSSL
73 - nmake -f ms\ntdll.mak
74 - nmake -f ms\ntdll.mak install
75 (if you have trouble getting to this stage, consult INSTALL.W32)
79 - copy c:\OpenSSL\bin\*.dll blib\arch\auto\Net\SSLeay\
81 CAUTION: nmake test fails at this stage. Any suggestions?? This may be
82 relevant: http://www.itwriting.com/blog/?postid=261&replyto=2542
86 Strawberry Perl 5.8.8-alpha-2
87 OpenSSL 0.9.8e source openssl-0.9.8e.tar.gz
89 - Install Strawberry Perl by running the installer
90 (strawberry-perl-5.8.8-alpha-2.exe in this example)
91 - Unpack openssl-0.9.8e.tar.gz
96 (if you have trouble getting to this stage, consult INSTALL.W32)
100 - md c:\openssl\include
101 - md c:\openssl\include\openssl
102 - copy /b inc32\openssl\* c:\openssl\include\openssl
103 - copy /b out\libssl32.a c:\openssl\lib
104 - copy /b out\libeay32.a c:\openssl\lib
105 - copy /b libssl32.dll c:\openssl\bin
106 - copy /b libeay32.dll c:\openssl\bin
107 - copy /b out\openssl.exe c:\openssl\bin
109 - c:\strawberry-perl\perl\bin\perl Makefile.PL
111 - copy c:\openssl\bin\*.dll blib/arch/auto/Net/SSLeay
115 Perl CamelPack perl-camelpack-5.8.7.exe
116 Shining Light Win32 OpenSSL 0.9.7L
117 http://www.shininglightpro.com/products/Win32OpenSSL.html
119 Install all packages in the order listed above
120 Unpack and install the Net-SSLeay package
122 perl Makefile.PL (accept external tests and extra CPAN installs)
126 (Note that 'nmake test' does not seem to work with CamelPack 5.8.7)