New submission from Eddie Stanley: Support for Berkeley DB up to 5.3 was introduced in Python 2.7.4 (see issue #17477) however I'm having problems with the detection code in setup.py.
I'm working on RHEL4, I've got Berkeley DB 4.7.25 installed in /opt/db-4.7.25 When I try and "make" Python, it can't build _bsddb because no suitable version of db.h was found. The function gen_db_minor_ver_nums(major) looks as though it's supposed to spit out all the minor versions for a given major, however it doesn't appear to work properly for 4.x - surely 4.3, 4.4, 4.5 ... all the way to 4.9 (or whatever) should be generated. It only generates minor version "3" though. The end result is that 4.3 is the only working version in the 4.x series. ---------- components: Build messages: 195120 nosy: Eddie.Stanley priority: normal severity: normal status: open title: Berkeley DB versions 4.4-4.9 are not discovered by setup.py type: compile error versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18734> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com