You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2008/10/14 13:57:48 UTC

[Httpd Wiki] Update of "Win32VC9Build" by tdonovan

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by tdonovan:
http://wiki.apache.org/httpd/Win32VC9Build

The comment on the change is:
updated for httpd-2.2.10 & openssl 0.9.8i

------------------------------------------------------------------------------
  = Building Apache with the Microsoft Windows 2008 SDK =
  
- [http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF Windows SDK for Windows Server 2008 and .NET Framework 3.5] contains a command-line compiler suitable for building Apache 2.2.9 on Windows XP or later.
+ [http://www.microsoft.com/downloads/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF Windows SDK for Windows Server 2008 and .NET Framework 3.5] contains a command-line compiler suitable for building Apache 2.2.10 on Windows XP or later.
  
  Despite the ''"2008"'' name - this freely available SDK is appropriate to use on Windows Server 2003, Windows Server 2008, Windows Vista, and Windows XP.
  
  This SDK contains the Visual C++ 2008 command-line compiler (a.k.a. VC9), the MASM v9.0 assembler, and the Windows libraries needed to build and run Apache.
  
- These are the steps to build Apache 2.2.9 with OpenSSL 0.9.8h and Zlib 1.2.3 using the VC9 command-line compiler included in this Windows SDK:
+ These are the steps to build Apache 2.2.10 with OpenSSL 0.9.8i and Zlib 1.2.3 using the VC9 command-line compiler included in this Windows SDK:
  
  == Tools Needed to Build httpd ==
  
@@ -36, +36 @@

  
  == Download the source code ==
  
- ==== Download and extract the Apache httpd version 2.2.9 Windows source (not the Unix source) ====
+ ==== Download and extract the Apache httpd version 2.2.10 Windows source (not the Unix source) ====
  
  {{{
- WGET http://www.apache.org/dist/httpd/httpd-2.2.9-win32-src.zip
+ WGET http://www.apache.org/dist/httpd/httpd-2.2.10-win32-src.zip
  }}}
  
- Open httpd-2.2.9-win32-src.zip and extract it, creating a httpd-2.2.9 directory
+ Open httpd-2.2.10-win32-src.zip and extract it, creating a httpd-2.2.10 directory
  
- ==== Download and extract the Zlib version 1.2.3 source into httpd-2.2.9\srclib\zlib ====
+ ==== Download and extract the Zlib version 1.2.3 source into httpd-2.2.10\srclib\zlib ====
  
  {{{
- CD   httpd-2.2.9\srclib
+ CD   httpd-2.2.10\srclib
  WGET http://www.zlib.net/zlib-1.2.3.tar.gz
  GZIP -d  zlib-1.2.3.tar.gz
  TAR  xf  zlib-1.2.3.tar
  RENAME   zlib-1.2.3   zlib
  }}}
  
- ==== Download and extract the OpenSSL version 0.9.8h source, into httpd-2.2.9\srclib\openssl ====
+ ==== Download and extract the OpenSSL version 0.9.8i source, into httpd-2.2.10\srclib\openssl ====
  {{{
- CD   httpd-2.2.9\srclib
+ CD   httpd-2.2.10\srclib
- WGET http://www.openssl.org/source/openssl-0.9.8h.tar.gz
+ WGET http://www.openssl.org/source/openssl-0.9.8i.tar.gz
- GZIP -d  openssl-0.9.8h.tar.gz
+ GZIP -d  openssl-0.9.8i.tar.gz
- TAR  xf  openssl-0.9.8h.tar
+ TAR  xf  openssl-0.9.8i.tar
- RENAME   openssl-0.9.8h   openssl
+ RENAME   openssl-0.9.8i   openssl
  }}}
  
  == Build Zlib ==
  
  {{{
- CD  httpd-2.2.9\srclib\zlib
+ CD  httpd-2.2.10\srclib\zlib
  ML /coff /Zi /c contrib\masm686\match.asm
  NMAKE -f win32\Makefile.msc  LOC="-D_CRT_SECURE_NO_DEPRECATE /wd4996 -DASMV" OBJA="match.obj"
  MT -manifest zlib1.dll.manifest -outputresource:zlib1.dll;2
@@ -75, +75 @@

  == Build OpenSSL ==
  
  
-    '''For OpenSSL version 0.9.8h ONLY: '''
+    '''For OpenSSL version 0.9.8h & version 0.9.8i ONLY: '''
-    ''Edit the file httpd-2.2.9\srclib\openssl\crypto\perlasm\x86ms.pl and remove line 273. Line 273 contains the single word "$extra". This is a known problem with OpenSSL 0.9.8h, and should be fixed in future versions. ref: OpenSSL bug 1681, described [http://www.mail-archive.com/openssl-dev@openssl.org/msg24058.html here] and [http://groups.google.com/group/mailing.openssl.dev/browse_thread/thread/0919a6ec791206a2 here]''
+    ''Edit the file httpd-2.2.10\srclib\openssl\crypto\perlasm\x86ms.pl and remove line 273. Line 273 contains the single word "$extra". This is a known problem with OpenSSL 0.9.8h and 0.9.8i, and should be fixed in future versions. ref: OpenSSL bug 1681, described [http://www.mail-archive.com/openssl-dev@openssl.org/msg24058.html here] and [http://groups.google.com/group/mailing.openssl.dev/browse_thread/thread/0919a6ec791206a2 here]''
  
  {{{
- CD  httpd-2.2.9\srclib\openssl
+ CD  httpd-2.2.10\srclib\openssl
  PERL Configure VC-WIN32  enable-camellia  disable-idea
  ms\do_masm
  NMAKE -f ms\ntdll.mak
@@ -87, +87 @@

  
  '''Note:''' The IDEA algorithm is disabled because it is built by default with OpenSSL 0.9.8.  [http://www.mediacrypt.com/_contents/10_idea/101030_ea_pi.asp The IDEA algorithm is patented] for commercial use.  Camellia and the other OpenSSL 0.9.8 algorithms which are built by default are not ''(or are no longer)'' encumbered by patents.
  
- '''Note:''' There are significant restrictions and prohibitions on the use and distribution of strong cryptography throughout the world.  OpenSSL includes strong cryptography controlled by both export regulations and domestic law.
+ '''Note:''' There remain restrictions and prohibitions on the use and distribution of strong cryptography in some parts of the world.  OpenSSL includes strong cryptography which may be restricted by export regulations and domestic law.
  
  
  == Build and install Apache httpd ==
  
  {{{
- CD  httpd-2.2.9
+ CD  httpd-2.2.10
  NMAKE -f Makefile.win installr
  }}}
- This installs Apache 2.2.9 into C:\Apache22.  You can add  {{{INSTDIR=directory}}} to the NMAKE command to choose a different installation directory.  For example:  {{{NMAKE -f Makefile.win  INSTDIR=D:\Apache2  installr}}}
+ This installs Apache 2.2.10 into C:\Apache22.  You can add  {{{INSTDIR=directory}}} to the NMAKE command to choose a different installation directory.  For example:  {{{NMAKE -f Makefile.win  INSTDIR=D:\Apache2  installr}}}
  
  If you copy Apache to another machine, remember to install the [http://www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF Microsoft Visual C++ 2008 Redistributable Package] before running it.