[Python-checkins] CVS: python/dist/src/Doc/lib libbsddb.tex,1.4,1.5

Fred L. Drake python-dev@python.org
Fri, 15 Sep 2000 08:19:38 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv27861

Modified Files:
	libbsddb.tex 
Log Message:

Update comments in the second paragraph, discussing versioning issues
related to the BSD DB library.  Based on comments from Mark Summerfield
<summer@netcraft.com>.


Index: libbsddb.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libbsddb.tex,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** libbsddb.tex	2000/04/03 20:13:52	1.4
--- libbsddb.tex	2000/09/15 15:19:35	1.5
***************
*** 15,28 ****
  serialize them somehow, typically using marshal.dumps or pickle.dumps.
  
! The \module{bsddb} module is only available on \UNIX{} systems, so it
! is not built by default in the standard Python distribution.  Also,
! there are two incompatible versions of the underlying library.
  Version 1.85 is widely available, but has some known bugs.  Version 2
  is not quite as widely used, but does offer some improvements.  The
! \module{bsddb} module uses the 1.85 interface.  Users wishing to use
! version 2 of the Berkeley DB library will have to modify the source
! for the module to include \file{db_185.h} instead of
! \file{db.h} (\file{db_185.h} contains the version 1.85 compatibility
! interface).
  
  The \module{bsddb} module defines the following functions that create
--- 15,29 ----
  serialize them somehow, typically using marshal.dumps or pickle.dumps.
  
! There are two incompatible versions of the underlying library.
  Version 1.85 is widely available, but has some known bugs.  Version 2
  is not quite as widely used, but does offer some improvements.  The
! \module{bsddb} module uses the 1.85 interface.  Starting with Python
! 2.0, the \program{configure} script can usually determine the
! version of the library which is available and build it correctly.  If
! you have difficulty getting \program{configure} to do the right thing,
! run it with the \longprogramopt{help} option to get information about
! additional options that can help.  On Windows, you will need to define
! the \code{HAVE_DB_185_H} macro if you are building Python from source
! and using version 2 of the DB library.
  
  The \module{bsddb} module defines the following functions that create