[Patches] [ python-Patches-764612 ] building bsddb3 on FreeBSD

SourceForge.net noreply@sourceforge.net
Thu, 10 Jul 2003 05:50:40 -0700


Patches item #764612, was opened at 2003-07-03 00:19
Message generated for change (Comment added) made by aimacintyre
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=764612&group_id=5470

Category: Modules
Group: Python 2.3
>Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Andrew I MacIntyre (aimacintyre)
Assigned to: Andrew I MacIntyre (aimacintyre)
Summary: building bsddb3 on FreeBSD

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Andrew I MacIntyre (aimacintyre)
Date: 2003-07-10 22:50

Message:
Logged In: YES 
user_id=250749

v3 checked in as setup.py v1.171.

----------------------------------------------------------------------

Comment By: Andrew I MacIntyre (aimacintyre)
Date: 2003-07-06 20:29

Message:
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.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-07-06 02:00

Message:
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).

----------------------------------------------------------------------

Comment By: Andrew I MacIntyre (aimacintyre)
Date: 2003-07-03 23:10

Message:
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.

----------------------------------------------------------------------

Comment By: Andrew I MacIntyre (aimacintyre)
Date: 2003-07-03 00:29

Message:
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).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=764612&group_id=5470