[Python-checkins] python/dist/src README,1.170,1.171

montanaro@users.sourceforge.net montanaro@users.sourceforge.net
Fri, 02 May 2003 08:28:06 -0700


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

Modified Files:
	README 
Log Message:
add note about building with bsddb185 and making it appear as bsddb.


Index: README
===================================================================
RCS file: /cvsroot/python/python/dist/src/README,v
retrieving revision 1.170
retrieving revision 1.171
diff -C2 -d -r1.170 -r1.171
*** README	25 Apr 2003 19:19:51 -0000	1.170
--- README	2 May 2003 15:27:59 -0000	1.171
***************
*** 256,259 ****
--- 256,274 ----
  above) so we can remove them!)
  
+ Unix platforms: If your vendor still ships (and you still use) Berkeley DB
+ 	1.85 you will need to edit Modules/Setup to build the bsddb185
+ 	module and add a line to sitecustomize.py which makes it the
+ 	default.  In Modules/Setup a line like
+ 
+ 	    bsddb185 bsddbmodule.c
+ 
+ 	should work.  (You may need to add -I, -L or -l flags to direct the
+ 	compiler and linker to your include files and libraries.)  You can
+ 	then force it to be the version people import by adding
+ 
+ 	    import bsddb185 as bsddb
+ 
+ 	in sitecustomize.py.
+ 
  64-bit platforms: The modules audioop, imageop and rgbimg don't work.
  	The setup.py script disables them on 64-bit installations.