[pybsddb] a bug in py-bsddb3

wen heping wenheping at gmail.com
Tue Jan 25 11:22:15 CET 2011


Hi,


    I found a bug a py-bsddb3's setup2.py:


@@ -138,7 +135,7 @@
             '/sw/include/db3',
         ]
         # 4.x minor number specific paths
-        for x in range(max_db_ver[1]+1):
+        for x in range(min_db_ver[1],9):
             db_inc_paths.append('/usr/include/db4%d' % x)
             db_inc_paths.append('/usr/local/BerkeleyDB.4.%d/include' % x)

    without this patch , py-bsddb3 could not build with 4.2-4.8.

   Is it right ?


Regards,
wen


More information about the pybsddb mailing list