473,395 Members | 1,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

bsddb support for berkeley db 4.3?

It doesn't seem like the python 2.4(and the recent 2.4.1) support
berkeley db 4.3. (4.3 fixes some deadlock bugs I occasionally encounter
using 4.2.)

bsddb3(at pybsddb.sf.net) already supports 4.3 since last December(but
doesn't explicitly support win32 -- see the assert statement in
setup.py). I thought the bsddb3 project were merged into the python
project. Hasn't it?

Jul 18 '05 #1
4 1476
ja***********@hotmail.com wrote:
It doesn't seem like the python 2.4(and the recent 2.4.1) support
berkeley db 4.3.
What makes you say that? It builds fine for me.
bsddb3(at pybsddb.sf.net) already supports 4.3 since last December(but
doesn't explicitly support win32 -- see the assert statement in
setup.py). I thought the bsddb3 project were merged into the python
project. Hasn't it?


It certainly has. However, the authors of bsddb3 are free to release
new versions of their software whenever they wish to, independent of
any Python releases. They are encouraged to merge their changes into the
Python CVS, but they are requested to avoid adding new features to
Python 2.4.

Regards,
Martin
Jul 18 '05 #2
ja***********@hotmail.com wrote:
It doesn't seem like the python 2.4(and the recent 2.4.1) support
berkeley db 4.3. (4.3 fixes some deadlock bugs I occasionally encounter
using 4.2.)

bsddb3(at pybsddb.sf.net) already supports 4.3 since last December(but
doesn't explicitly support win32 -- see the assert statement in
setup.py). I thought the bsddb3 project were merged into the python
project. Hasn't it?


Yes it has, but which version of BSD DB gets used when the release team
builds the Win32 installer depends on the version installed on the
installer builder's machine.

If you can, I'd suggest posting a bug report on SF against 2.4 to see
whether you can encourage the installer builder to upgrade BSD DB -
though do be certain to check what's in 2.4.1c1 first.

-------------------------------------------------------------------------
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: an*****@bullseye.apana.org.au (pref) | Snail: PO Box 370
an*****@pcug.org.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
Jul 18 '05 #3
Martin v. Löwis wrote:
ja***********@hotmail.com wrote:
It doesn't seem like the python 2.4(and the recent 2.4.1) support
berkeley db 4.3.
What makes you say that? It builds fine for me.


Oh, it doesn't work with 2.4(I tried this one) but with 2.4.1
seemingly.

In the setup.py from 2.4 there is a line with:
'db4': {'libs': ('db-4.2', 'db42', 'db-4.1', 'db41',
'db-4.0', 'db4',),

But in 2.4.1 the setup.py from pybsddb project has been merged:
for x in (0,1,2,3):
db_inc_paths.append('/usr/include/db4%d' % x)

bsddb3(at pybsddb.sf.net) already supports 4.3 since last December(but doesn't explicitly support win32 -- see the assert statement in
setup.py). I thought the bsddb3 project were merged into the python
project. Hasn't it?
It certainly has. However, the authors of bsddb3 are free to release
new versions of their software whenever they wish to, independent of
any Python releases. They are encouraged to merge their changes into

the Python CVS, but they are requested to avoid adding new features to
Python 2.4.

Regards,
Martin

Thank you.

Jul 18 '05 #4
Andrew MacIntyre wrote:
If you can, I'd suggest posting a bug report on SF against 2.4 to see
whether you can encourage the installer builder to upgrade BSD DB -
though do be certain to check what's in 2.4.1c1 first.


It's 4.2.52, and I don't think I'm going to use anything else for 2.4.1.
In fact, I don't think I can update to 4.3 in the entire 2.4.x release
cycle. 4.3 adds a few new features, and new features are not acceptable
in 2.4.x. Also, 4.3 changes the format of the log file.

I should apply all the patches for 4.2.52, but I'm only lacking Patch 3,
and this applies to Java only, so it should be irrelevant.

Of course, if 4.3 would fix a serious bug that affects Python users,
it might be necessary to reconsider. From the huge change list of bug
fixes in 4.3, I cannot tell which of these fixes affect Python users.

Regards,
Martin
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Harry Pehkonen | last post by:
Stats: Python2.3 windows2000 professional If I have ``Full Control'' of a bsddb file, no problem: >>> import bsddb >>> a = bsddb.btopen("c:/sharedrw/db/npanxx2pseudo.db", "r") >>> a.close()...
1
by: Mike Moum | last post by:
Greetings all, I have some questions about the bsddb package that comes with Python 2.3 that I can't find answers for. I've googled and read the documentation. 1. Does the Berkeley database...
4
by: Michele Simionato | last post by:
I was browsing through the source tree of Python 2.4b2 and in Lib/bsddb/test I found a lot of interesting stuff. It seems that the support for the bsd database is much better than documented in the...
0
by: Barry | last post by:
I have python2.4.1 installed on two machines: -- one is Fedora core 1, where the bsddb module works fine -- one is Redhat ES 3.0, and I installed mysql 4.1 (and mysql-python2.1) after putting the...
0
by: Yi Qiang | last post by:
Hi guys, I am trying to compile python 2.5 on my OSX machine so it includes the bsddb module. Currently, when I type 'import bsddb' I get the following traceback: ...
1
by: BjornT | last post by:
Have a rather big problem with bsddb I can't figure out. I upgraded an Ubuntu machine from 7.05 to 7.10 which upgraded python to 2.5.1 I run a local website that uses bsddb, and suddenly I get a...
1
by: partofthething | last post by:
I've been struggling with this all day. I am trying to get Python 2.5 running with the BerkeleyDB bindings provided by bsddb. First, I downloaded the BerkeleyDB system (version 4.5) from...
2
by: cocobear | last post by:
How to deal with multiple databases in an file. I want to get the content of several databases. it's the code I wrote: $ python Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11) on linux2...
0
by: sconnoll | last post by:
import bsddb bsddb.btopen(file, flag='c', mode=438, btflags=0, cachesize=None, maxkeypage=None, minkeypage=None, pgsize=None, lorder=None) Can anyone help me with the values to use for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.