Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building bsddb3 on FreeBSD #38774

Closed
aimacintyre mannequin opened this issue Jul 2, 2003 · 6 comments
Closed

building bsddb3 on FreeBSD #38774

aimacintyre mannequin opened this issue Jul 2, 2003 · 6 comments
Labels
extension-modules C modules in the Modules dir

Comments

@aimacintyre
Copy link
Mannequin

aimacintyre mannequin commented Jul 2, 2003

BPO 764612
Nosy @loewis
Files
  • setup.py.bsddb3.patch
  • setup.py.bsddb3.patch.v2: simplified version of original patch
  • setup.py.bsddb3.patch.v3: re-sorted library names & include dirs for latest versions first in all variations
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2003-07-10.12:50:40.000>
    created_at = <Date 2003-07-02.14:19:10.000>
    labels = ['extension-modules']
    title = 'building bsddb3 on FreeBSD'
    updated_at = <Date 2003-07-10.12:50:40.000>
    user = 'https://bugs.python.org/aimacintyre'

    bugs.python.org fields:

    activity = <Date 2003-07-10.12:50:40.000>
    actor = 'aimacintyre'
    assignee = 'aimacintyre'
    closed = True
    closed_date = None
    closer = None
    components = ['Extension Modules']
    creation = <Date 2003-07-02.14:19:10.000>
    creator = 'aimacintyre'
    dependencies = []
    files = ['5442', '5443', '5444']
    hgrepos = []
    issue_num = 764612
    keywords = ['patch']
    message_count = 6.0
    messages = ['44206', '44207', '44208', '44209', '44210', '44211']
    nosy_count = 2.0
    nosy_names = ['loewis', 'aimacintyre']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue764612'
    versions = ['Python 2.3']

    @aimacintyre
    Copy link
    Mannequin Author

    aimacintyre mannequin commented Jul 2, 2003

    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.

    @aimacintyre aimacintyre mannequin closed this as completed Jul 2, 2003
    @aimacintyre aimacintyre mannequin self-assigned this Jul 2, 2003
    @aimacintyre aimacintyre mannequin added the extension-modules C modules in the Modules dir label Jul 2, 2003
    @aimacintyre aimacintyre mannequin closed this as completed Jul 2, 2003
    @aimacintyre aimacintyre mannequin self-assigned this Jul 2, 2003
    @aimacintyre aimacintyre mannequin added the extension-modules C modules in the Modules dir label Jul 2, 2003
    @aimacintyre
    Copy link
    Mannequin Author

    aimacintyre mannequin commented Jul 2, 2003

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

    @aimacintyre
    Copy link
    Mannequin Author

    aimacintyre mannequin commented Jul 3, 2003

    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.

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Jul 5, 2003

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

    @aimacintyre
    Copy link
    Mannequin Author

    aimacintyre mannequin commented Jul 6, 2003

    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.

    @aimacintyre
    Copy link
    Mannequin Author

    aimacintyre mannequin commented Jul 10, 2003

    Logged In: YES
    user_id=250749

    v3 checked in as setup.py v1.171.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    extension-modules C modules in the Modules dir
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants