[Python-Dev] bsddb3 test hang

Detlef Lannert lannert@uni-duesseldorf.de
Wed, 23 Jul 2003 16:34:50 +0200


Tim Peters:
> [Zooko]
> > I wanted to see this bsddb3 explosion for myself, so I tried to build
> > the module, but couldn't figure out how to do it.  So I opened a bug
> > report under the Build category:
> >
> > [ 775850 ] pybsddb build fails
> >
> > http://www.python.org/sf/775850
> 
> You should probably add detailed info to that bug report about the flavor
> and version of Linux you're using, since nobody on Python-Dev has reported
> problems building 2.3.

This is maybe not the same problem that Zooko had, but bsddb doesn't
build on my Linux 2.4.10 (SuSE 7.3) box either where Sleepycat
db-4.1.25 was installed from the sources.  It puts db.h under
/usr/local/include per default where Python's setup.py doesn't find it.

It used to be sufficient for me to add this directory to the db4 incdirs
(see patch below) until 2.3c1 -- but this doesn't work for the CVS version
any more.

And yes, test_time fails with "AssertionError: AEST", too.  For 2.3c1 as
well as for current CVS.

  Detlef

*** setup.py.orig       Thu Jul 10 14:48:39 2003
--- setup.py    Wed Jul 23 14:38:43 2003
***************
*** 490,495 ****
--- 490,496 ----
                                  '/opt/sfw/include/db4',
                                  '/sw/include/db4',
                                  '/usr/include/db4',
+                                 '/usr/local/include',
                                  )},
              'db3': {'libs': ('db-3.3', 'db-3.2', 'db-3.1', 'db3',),
                      'libdirs': ('/usr/local/BerkeleyDB.3.3/lib',