This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: building bsddb3 on FreeBSD
Type: Stage:
Components: Extension Modules Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: aimacintyre Nosy List: aimacintyre, loewis
Priority: normal Keywords: patch

Created on 2003-07-02 14:19 by aimacintyre, last changed 2022-04-10 16:09 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
setup.py.bsddb3.patch aimacintyre, 2003-07-02 14:19
setup.py.bsddb3.patch.v2 aimacintyre, 2003-07-03 13:10 simplified version of original patch
setup.py.bsddb3.patch.v3 aimacintyre, 2003-07-06 10:29 re-sorted library names & include dirs for latest versions first in all variations
Messages (6)
msg44206 - (view) Author: Andrew I MacIntyre (aimacintyre) * (Python triager) Date: 2003-07-02 14:19
FreeBSD's ports of the Sleepcat DB releases use
different naming conventions than currently catered for
in setup.py.
Additionally, the ports collection currently supports
having both DB 4.1 and DB 4.0 installed concurrently.

The current setup.py really only caters for 1 variation
of any major DB version.

The attached patch expands the support so that v4.1 has
the correct include directory on FreeBSD, and allows
for both 4.1 and 4.0 to be concurrently installed.  It
also adds support for DB3 (v3.3.11 in the Ports
collection) on FreeBSD.
msg44207 - (view) Author: Andrew I MacIntyre (aimacintyre) * (Python triager) Date: 2003-07-02 14:29
Logged In: YES 
user_id=250749

Martin, assigned to you as setup.py's history shows you had
a fair bit to do with the bsddb3 module machinery in there
(Skip and Barry have both also worked on this).
msg44208 - (view) Author: Andrew I MacIntyre (aimacintyre) * (Python triager) Date: 2003-07-03 13:10
Logged In: YES 
user_id=250749

I've concluded that the first version of this patch is
unnecessarily complicated.

I've uploaded a simplified second version, which gets the
essentials in place.
msg44209 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-07-05 16:00
Logged In: YES 
user_id=21627

The patch is fine in principle. However, please make sure
that it finds newer versions before it finds older ones,
i.e. 4.1 before 4.0 (so resort the strings accordingly).
msg44210 - (view) Author: Andrew I MacIntyre (aimacintyre) * (Python triager) Date: 2003-07-06 10:29
Logged In: YES 
user_id=250749

Revised version with resorted strings as requested.

v2 worked fine for me, finding v4.1 before 4.0 (on FreeBSD),
however there are enough variations in live installations
that re-sorting the strings is prudent.

If there are no objections to v3, I'll check it in later
this week.
msg44211 - (view) Author: Andrew I MacIntyre (aimacintyre) * (Python triager) Date: 2003-07-10 12:50
Logged In: YES 
user_id=250749

v3 checked in as setup.py v1.171.
History
Date User Action Args
2022-04-10 16:09:39adminsetgithub: 38774
2003-07-02 14:19:10aimacintyrecreate