Debian lenny version packages
[pkg-perl] / deb-src / libnet-ssleay-perl / libnet-ssleay-perl-1.35 / README.Win32
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
8 $Id$
9
10 1. Windows Server 2003
11    ActivePerl 5.8.8.820
12    VC++ 6.0
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
17
18 Install all packages in the order listed above
19 Unpack and install the Net-SSLeay package
20  cd Net-SSLeay-xxxx
21  perl Makefile.PL
22  nmake
23  nmake test
24  nmake install
25
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.
32
33 2. Windows Server 2003
34    ActivePerl 5.8.8.820
35    VC++ 6.0
36    Microsoft Platform SDK SVR2003R2
37    OpenSSL 0.9.8e source openssl-0.9.8e.tar.gz
38    Dynamic linking to SSL DLLs
39
40 Install all packages in the order listed above
41 Unpack and build OpenSSL:
42   cd openssl-0.9.8e
43   perl Configure VC-WIN32 --prefix=c:/OpenSSL
44   ms\do_ms
45   nmake -f ms\ntdll.mak
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
49
50 Unpack and install the Net-SSLeay package
51  cd Net-SSLeay-xxxx
52  perl Makefile.PL
53  nmake
54  copy c:\OpenSSL\bin\*.dll blib\arch\auto\Net\SSLeay\
55  nmake test
56  nmake install
57
58 3. Windows XP SP2 CAUTION: this is not working yet
59    ActivePerl 5.8.8.820
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
64
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
70 - cd openssl-0.9.8e
71 - perl Configure VC-WIN32 --prefix=c:/OpenSSL
72 - ms\do_masm
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)
76 - cd Net-SSLeay-xxxx
77 - perl Makefile.PL
78 - nmake
79 - copy c:\OpenSSL\bin\*.dll blib\arch\auto\Net\SSLeay\
80 - nmake test
81   CAUTION: nmake test fails at this stage. Any suggestions?? This may be
82    relevant: http://www.itwriting.com/blog/?postid=261&replyto=2542
83 - nmake install
84
85 4. Windows XP SP2
86    Strawberry Perl 5.8.8-alpha-2
87    OpenSSL 0.9.8e source openssl-0.9.8e.tar.gz
88
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
92 - cd openssl-0.9.8e
93 - ms\mingw32
94 - cd out
95 - ..\ms\test
96    (if you have trouble getting to this stage, consult INSTALL.W32)
97 - md c:\openssl 
98 - md c:\openssl\bin
99 - md c:\openssl\lib
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
108 - cd Net-SSLeay-xxxx
109 - c:\strawberry-perl\perl\bin\perl Makefile.PL
110 - dmake
111 - copy c:\openssl\bin\*.dll blib/arch/auto/Net/SSLeay
112 - dmake install
113
114 4. Windows XP SP2
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
118
119 Install all packages in the order listed above
120 Unpack and install the Net-SSLeay package
121  cd Net-SSLeay-xxxx
122  perl Makefile.PL (accept external tests and extra CPAN installs)
123  nmake
124  nmake install
125
126 (Note that 'nmake test' does not seem to work with CamelPack 5.8.7)