Dear Wiki user,

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

The "BuildTcNativeWin" page has been changed by markt:
https://wiki.apache.org/tomcat/BuildTcNativeWin?action=diff&rev1=21&rev2=22

Comment:
Version updates as used in 1.1.32 build

     * ''1600x1200 screen resolution''
     * ''UTC timezone''
     * Install VMware Tools
+    * ''Apply all updates''
   1. Others TBD
  
  == Build tools ==
@@ -41, +42 @@

     * Install Perl as per <cmsc-root>/tools/README.txt
    * TortoiseSVN (http://tortoisesvn.net/) 1.8.7 64-bit
    * 7-Zip 9.20 64-bit
-   * JDK 1.7.0_60 64-bit
+   * JDK 1.7.0_71 64-bit
   2. Others TBD
  
  == Building ==
@@ -55, +56 @@

  cd tomcat-native-1.1.x\native\srclib\apr
  }}}
  
- Unpack APR 1.4.8 source distribution in this directory 
({{{C:\tomcat-native-1.1.x\native\srclib\apr}}}). (Note that APR 1.4.8 source 
is not the current default. Visiting the APR project's page will steer you 
towards APR 1.5.1 which requires a slightly different patch. The effect is the 
same, but the line numbers are sufficiently different that the patch included 
in the tcnative sources will not apply at all.)
+ Unpack APR 1.5.1 source distribution in this directory 
({{{C:\tomcat-native-1.1.x\native\srclib\apr}}}).
  
- Apply the apr-enable-ipv6.patch.
+ Apply the apr-enable-ipv6.patch. Note that the patch was originally written 
for 1.4.8 so it will apply, but with an offset of ~6 lines.
  {{{
  c:\cmsc\setenv.bat /x86
  nmake -f NMAKEMakefile BUILD_CPU=x86 APR_DECLARE_STATIC=1
@@ -70, +71 @@

  
  cd ..\openssl
  }}}
- Unpack the OpenSSL 1.0.1h source distribution in this directory 
({{{C:\tomcat-native-1.1.x\native\srclib\openssl}}}).
+ Unpack the OpenSSL 1.0.1j source distribution in this directory 
({{{C:\tomcat-native-1.1.x\native\srclib\openssl}}}).
  
  Apply openssl-msvcrt.patch
  {{{
@@ -100, +101 @@

  {{{
  cd ..
  
- mkdir \deps-x86\apr-1.4.8\include
+ mkdir \deps-x86\apr-1.5.1\include
- mkdir \deps-x86\apr-1.4.8\lib
+ mkdir \deps-x86\apr-1.5.1\lib
- mkdir \deps-x86\openssl-1.0.1h\include
+ mkdir \deps-x86\openssl-1.0.1j\include
- mkdir \deps-x86\openssl-1.0.1h\lib
+ mkdir \deps-x86\openssl-1.0.1j\lib
  xcopy /E \deps-x86 \deps-x64\
  xcopy /E \deps-x86 \deps-i64\
  
- xcopy /E apr\include \deps-x86\apr-1.4.8\include\
+ xcopy /E apr\include \deps-x86\apr-1.5.1\include\
- xcopy /E apr\include \deps-x64\apr-1.4.8\include\
+ xcopy /E apr\include \deps-x64\apr-1.5.1\include\
- xcopy /E apr\include \deps-i64\apr-1.4.8\include\
+ xcopy /E apr\include \deps-i64\apr-1.5.1\include\
  
- copy apr\WINXP_X86_LIB_RELEASE\apr-1.lib \deps-x86\apr-1.4.8\lib
+ copy apr\WINXP_X86_LIB_RELEASE\apr-1.lib \deps-x86\apr-1.5.1\lib
- copy apr\WINXP_X64_LIB_RELEASE\apr-1.lib \deps-x64\apr-1.4.8\lib
+ copy apr\WINXP_X64_LIB_RELEASE\apr-1.lib \deps-x64\apr-1.5.1\lib
- copy apr\WINXP_I64_LIB_RELEASE\apr-1.lib \deps-i64\apr-1.4.8\lib
+ copy apr\WINXP_I64_LIB_RELEASE\apr-1.lib \deps-i64\apr-1.5.1\lib
  
- xcopy /E openssl\inc32 \deps-x86\openssl-1.0.1h\include\
+ xcopy /E openssl\inc32 \deps-x86\openssl-1.0.1j\include\
- xcopy /E openssl\inc32 \deps-x64\openssl-1.0.1h\include\
+ xcopy /E openssl\inc32 \deps-x64\openssl-1.0.1j\include\
- xcopy /E openssl\inc32 \deps-i64\openssl-1.0.1h\include\
+ xcopy /E openssl\inc32 \deps-i64\openssl-1.0.1j\include\
  
- copy openssl\out32-x86\*.lib \deps-x86\openssl-1.0.1h\lib\
+ copy openssl\out32-x86\*.lib \deps-x86\openssl-1.0.1j\lib\
- copy openssl\out32-x64\*.lib \deps-x64\openssl-1.0.1h\lib\
+ copy openssl\out32-x64\*.lib \deps-x64\openssl-1.0.1j\lib\
- copy openssl\out32-i64\*.lib \deps-i64\openssl-1.0.1h\lib\
+ copy openssl\out32-i64\*.lib \deps-i64\openssl-1.0.1j\lib\
  
  cd ..
  SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_60
  
  c:\cmsc\setenv.bat /x86
- nmake -f NMAKEMakefile WITH_APR=C:\deps-x86\apr-1.4.8 
WITH_OPENSSL=C:\deps-x86\openssl-1.0.1h APR_DECLARE_STATIC=1 ENABLE_OCSP=1
+ nmake -f NMAKEMakefile WITH_APR=C:\deps-x86\apr-1.5.1 
WITH_OPENSSL=C:\deps-x86\openssl-1.0.1j APR_DECLARE_STATIC=1 ENABLE_OCSP=1
  move WINXP_X86_DLL_RELEASE WINXP_X86_OCSP_DLL_RELEASE
- nmake -f NMAKEMakefile WITH_APR=C:\deps-x86\apr-1.4.8 
WITH_OPENSSL=C:\deps-x86\openssl-1.0.1h APR_DECLARE_STATIC=1
+ nmake -f NMAKEMakefile WITH_APR=C:\deps-x86\apr-1.5.1 
WITH_OPENSSL=C:\deps-x86\openssl-1.0.1j APR_DECLARE_STATIC=1
  
  c:\cmsc\setenv.bat /x64
- nmake -f NMAKEMakefile WITH_APR=C:\deps-x64\apr-1.4.8 
WITH_OPENSSL=C:\deps-x64\openssl-1.0.1h APR_DECLARE_STATIC=1 ENABLE_OCSP=1
+ nmake -f NMAKEMakefile WITH_APR=C:\deps-x64\apr-1.5.1 
WITH_OPENSSL=C:\deps-x64\openssl-1.0.1j APR_DECLARE_STATIC=1 ENABLE_OCSP=1
  move WINXP_X64_DLL_RELEASE WINXP_X64_OCSP_DLL_RELEASE
- nmake -f NMAKEMakefile WITH_APR=C:\deps-x64\apr-1.4.8 
WITH_OPENSSL=C:\deps-x64\openssl-1.0.1h APR_DECLARE_STATIC=1
+ nmake -f NMAKEMakefile WITH_APR=C:\deps-x64\apr-1.5.1 
WITH_OPENSSL=C:\deps-x64\openssl-1.0.1j APR_DECLARE_STATIC=1
  
  c:\cmsc\setenv.bat /i64
- nmake -f NMAKEMakefile WITH_APR=C:\deps-i64\apr-1.4.8 
WITH_OPENSSL=C:\deps-i64\openssl-1.0.1h APR_DECLARE_STATIC=1 ENABLE_OCSP=1
+ nmake -f NMAKEMakefile WITH_APR=C:\deps-i64\apr-1.5.1 
WITH_OPENSSL=C:\deps-i64\openssl-1.0.1j APR_DECLARE_STATIC=1 ENABLE_OCSP=1
  move WINXP_I64_DLL_RELEASE WINXP_I64_OCSP_DLL_RELEASE
- nmake -f NMAKEMakefile WITH_APR=C:\deps-i64\apr-1.4.8 
WITH_OPENSSL=C:\deps-i64\openssl-1.0.1h APR_DECLARE_STATIC=1
+ nmake -f NMAKEMakefile WITH_APR=C:\deps-i64\apr-1.5.1 
WITH_OPENSSL=C:\deps-i64\openssl-1.0.1j APR_DECLARE_STATIC=1
  }}}
  Tomcat Native Connector DLLs may then be found in 
C:\tomcat-native-1.1.x\native\WINXP_*_[OCSP_]DLL_RELEASE
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to