diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-11-22 20:00:34 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-11-22 20:00:34 (GMT) |
commit | 78e35f931128d017d5955841eac8c397ff32595c (patch) | |
tree | e78cb4a442ab6a7c2604967a8099a6ecce7083c4 /PCbuild/readme.txt | |
parent | 26897bf138df1b9b66ab61462347f000e8d67be1 (diff) | |
download | cpython-78e35f931128d017d5955841eac8c397ff32595c.zip cpython-78e35f931128d017d5955841eac8c397ff32595c.tar.gz cpython-78e35f931128d017d5955841eac8c397ff32595c.tar.bz2 |
Move Windows Python away from bsddb 1.85 and toward Sleepycat's latest.
The bsddb subproject is gone.
The _bsddb subproject is new.
There are problems here, but I'm out of time to work on this now. If
anyone can address an XXX comment or two in readme.txt, please do!
Diffstat (limited to 'PCbuild/readme.txt')
-rw-r--r-- | PCbuild/readme.txt | 43 |
1 files changed, 31 insertions, 12 deletions
diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt index f6e8fcd..8771f03 100644 --- a/PCbuild/readme.txt +++ b/PCbuild/readme.txt @@ -160,19 +160,38 @@ bz2 project links in. +_bsddb + Go to Sleepycat's patches page: + http://www.sleepycat.com/update/index.html + and download + 4.0.14.zip + from the download page. The file name is db-4.0.14.zip. Unpack into + dist\db-4.0.14 + + Apply the patch file bsddb_patch.txt in this (PCbuild) directory + against the file + dist\db-4.0.14\db\db_reclaim.c + + Go to + http://www.sleepycat.com/docs/ref/build_win/intro.html + and follow the instructions for building the Sleepycat software. + Build the Release version. + + XXX You have to copy + XXX dist\db-4.0.14\build_win32\Release\libdb40.dll + XXX into PCbuild (or elsewhere on your path) before the tests + XXX will run. + + XXX A debug-mode build blows up when running this, presumably because + XXX I'm mixing debug-mode MS stuff with Sleepycat's release-mode + XXX DLL. This gives me a headache. I would *like* to, as the old + XXX bsddb 1.85 project apparently managed to do, link the Berkeley + XXX DLL into the guts of our _bsddb.pyd. I don't know how to. + + XXX The installer needs to be changed accordingly. -bsddb - Python wrapper for the BSD database 1.85. Requires db.1.85.win32.zip, - from the "bsd db" link at - http://www.nightmare.com/software.html - Unpack into dist\bsddb. - You then need to compile it: cd to dist\bsddb\Port\win32, and run - nmake -f makefile_nt.msc - This builds bsddb\Port\win32\db.lib, which the MSVC project links in. - Note that if you're running Win9X, you'll need to run vcvars32.bat - before running nmake (this batch file is in your MSVC installation). - TODO: make this work like zlib (in particular, MSVC runs the prelink - step in an enviroment that already has the correct envars set up). + XXX The Sleepycat release we use will probably change before + XXX 2.3a1. YOUR OWN EXTENSION DLLs |