[Python-checkins] python/dist/src/PCbuild readme.txt,1.44,1.45

loewis at users.sourceforge.net loewis at users.sourceforge.net
Fri Jan 2 16:13:30 EST 2004


Update of /cvsroot/python/python/dist/src/PCbuild
In directory sc8-pr-cvs1:/tmp/cvs-serv23202

Modified Files:
	readme.txt 
Log Message:
Update build procedure to VC 7.1 and newer versions of several packages.

Index: readme.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/PCbuild/readme.txt,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** readme.txt	20 Aug 2003 18:22:48 -0000	1.44
--- readme.txt	2 Jan 2004 21:13:28 -0000	1.45
***************
*** 1,11 ****
! Building Python using VC++ 6.0 or 5.0
  -------------------------------------
  This directory is used to build Python for Win32 platforms, e.g. Windows
! 95, 98 and NT.  It requires Microsoft Visual C++ 6.x or 5.x.
  (For other Windows platforms and compilers, see ../PC/readme.txt.)
  
! All you need to do is open the workspace "pcbuild.dsw" in MSVC++, select
! the Debug or Release setting (using Build -> Set Active Configuration...),
! and build the projects.
  
  The proper order to build subprojects:
--- 1,12 ----
! Building Python using VC++ 7.1
  -------------------------------------
  This directory is used to build Python for Win32 platforms, e.g. Windows
! 95, 98 and NT.  It requires Microsoft Visual C++ 7.1
! (a.k.a. Visual Studio .NET 2003).
  (For other Windows platforms and compilers, see ../PC/readme.txt.)
  
! All you need to do is open the workspace "pcbuild.sln" in MSVC++, select
! the Debug or Release setting (using "Solution Configuration" from
! the "Standard" toolbar"), and build the projects.
  
  The proper order to build subprojects:
***************
*** 25,29 ****
  
  When using the Debug setting, the output files have a _d added to
! their name:  python21_d.dll, python_d.exe, parser_d.pyd, and so on.
  
  SUBPROJECTS
--- 26,30 ----
  
  When using the Debug setting, the output files have a _d added to
! their name:  python24_d.dll, python_d.exe, parser_d.pyd, and so on.
  
  SUBPROJECTS
***************
*** 84,97 ****
          http://prdownloads.sourceforge.net/tcl/
      and download
!         tcl843-src.zip
!         tk843-src.zip
      Unzip into
!         dist\tcl8.4.3\
!         dist\tk8.4.3\
      respectively.
  
      Build Tcl first (done here w/ MSVC 6 on Win98SE)
      ---------------
!     cd dist\tcl8.4.3\win
      run vcvars32.bat [necessary even on Win2K]
      nmake -f makefile.vc
--- 85,98 ----
          http://prdownloads.sourceforge.net/tcl/
      and download
!         tcl845-src.zip
!         tk845-src.zip
      Unzip into
!         dist\tcl8.4.5\
!         dist\tk8.4.5\
      respectively.
  
      Build Tcl first (done here w/ MSVC 6 on Win98SE)
      ---------------
!     cd dist\tcl8.4.5\win
      run vcvars32.bat [necessary even on Win2K]
      nmake -f makefile.vc
***************
*** 108,114 ****
      Build Tk
      --------
!     cd dist\tk8.4.3\win
!     nmake -f makefile.vc TCLDIR=..\..\tcl8.4.3
!     nmake -f makefile.vc TCLDIR=..\..\tcl8.4.3 INSTALLDIR=..\..\tcl84 install
  
      XXX Should we compile with OPTS=threads?
--- 109,115 ----
      Build Tk
      --------
!     cd dist\tk8.4.5\win
!     nmake -f makefile.vc TCLDIR=..\..\tcl8.4.5
!     nmake -f makefile.vc TCLDIR=..\..\tcl8.4.5 INSTALLDIR=..\..\tcl84 install
  
      XXX Should we compile with OPTS=threads?
***************
*** 161,164 ****
--- 162,167 ----
      If FC finds differences, see the warning abou WinZip above (when I
      first tried it, sample3.ref failed due to CRLF conversion).
+     
+     # XXX: it fails with vc 7.1, so the tests are skipped for now.
  
      All of this managed to build bzip2-1.0.2\libbz2.lib, which the Python
***************
*** 170,185 ****
          http://www.sleepycat.com/download/
  
!     and download version 4.1.25.  The file name is db-4.1.25.NC.zip.
      XXX with or without strong cryptography?  I picked "without".
  
      Unpack into
!         dist\db-4.1.25
  
!     [If using WinZip to unpack the db-4.1.25.NC distro, that requires
       renaming the directory (to remove ".NC") after unpacking.
      ]
  
      Open
!         dist\db-4.1.25\docs\index.html
  
      and follow the Windows instructions for building the Sleepycat
--- 173,188 ----
          http://www.sleepycat.com/download/
  
!     and download version 4.2.42.  The file name is db-4.2.52.NC.zip.
      XXX with or without strong cryptography?  I picked "without".
  
      Unpack into
!         dist\db-4.2.52
  
!     [If using WinZip to unpack the db-4.2.52.NC distro, that requires
       renaming the directory (to remove ".NC") after unpacking.
      ]
  
      Open
!         dist\db-4.2.52\docs\index.html
  
      and follow the Windows instructions for building the Sleepycat
***************
*** 187,191 ****
      Build the Release version ("build_all -- Win32 Release").
  
!     XXX We're actually linking against Release_static\libdb41s.lib.
      XXX This yields the following warnings:
  """
--- 190,194 ----
      Build the Release version ("build_all -- Win32 Release").
  
!     XXX We're actually linking against Release_static\libdb42s.lib.
      XXX This yields the following warnings:
  """
***************
*** 194,202 ****
  Linking...
     Creating library ./_bsddb.lib and object ./_bsddb.exp
! LINK : warning LNK4049: locally defined symbol "_malloc" imported
! LINK : warning LNK4049: locally defined symbol "_free" imported
! LINK : warning LNK4049: locally defined symbol "_fclose" imported
! LINK : warning LNK4049: locally defined symbol "_fopen" imported
! _bsddb.pyd - 0 error(s), 4 warning(s)
  """
      XXX This isn't encouraging, but I don't know what to do about it.
--- 197,206 ----
  Linking...
     Creating library ./_bsddb.lib and object ./_bsddb.exp
! _bsddb.obj : warning LNK4217: locally defined symbol _malloc imported in function __db_associateCallback
! _bsddb.obj : warning LNK4217: locally defined symbol _free imported in function __DB_consume
! _bsddb.obj : warning LNK4217: locally defined symbol _fclose imported in function _DB_verify
! _bsddb.obj : warning LNK4217: locally defined symbol _fopen imported in function _DB_verify
! _bsddb.obj : warning LNK4217: locally defined symbol _strncpy imported in function _init_pybsddb
! __bsddb - 0 error(s), 5 warning(s)
  """
      XXX This isn't encouraging, but I don't know what to do about it.
***************
*** 239,245 ****
  
      You (probably) don't want the "engine" code.  For example, get
!         openssl-0.9.6g.tar.gz
      not
!         openssl-engine-0.9.6g.tar.gz
  
      Unpack into the "dist" directory, retaining the folder name from
--- 243,249 ----
  
      You (probably) don't want the "engine" code.  For example, get
!         openssl-0.9.7c.tar.gz
      not
!         openssl-engine-0.9.7c.tar.gz
  
      Unpack into the "dist" directory, retaining the folder name from
***************
*** 274,278 ****
      something like
  
!         C:\Code\openssl-0.9.6g>set OPTS=no-asm
          Out of environment space
  
--- 278,282 ----
      something like
  
!         C:\Code\openssl-0.9.7c>set OPTS=no-asm
          Out of environment space
  





More information about the Python-checkins mailing list