Skip to content

Automatically probe for library location #9

Open

Description

@grr

Previously requested 12 years ago: https://rt.cpan.org/Public/Bug/Display.html?id=70277

Use ExtUtils::PkgConfig, Devel::CheckLib, etc. to probe for the location of BerkeleyDB inc/lib locations.

Activity

  1. self-assigned this
    on Oct 14, 2024
  2. rjbs commented on Dec 30, 2025

    @rjbs

    @pmqs It looks like you're at least kinda active. If I had a patch to make this work, would you apply and ship it?

  3. pmqs commented on Dec 31, 2025

    @pmqs
    Owner

    @pmqs It looks like you're at least kinda active. If I had a patch to make this work, would you apply and ship it?

    Hey @rjbs

    Crikey, I didn't think anyone was still using this code!

    In principle I have no problem with a patch.

    A few things to be aware of

    • the current build supports really old versions of the Berkeley DB library.

      Probably ok for you to ignore this as long as the existing configuration process is still available.

    • the other thing that used to happen quite frequently is where someone had multiple versions of the Berkeley DB library on their system and would try to build the code with version "A" of db.h and version "B" of the library. Then bad things would happen.

      Do the automated configuration toolsets cope with this scenario?

    As long as the option is still available to use the crusty manual method I've put in place I image it should be ok.

  4. rjbs commented on Jan 6, 2026

    @rjbs

    I don't actually use it, but wanted to try out some "serve pod as a web page" thing for potential internal use, and it relies on this, and "there's almost a patch to make it go" felt like maybe worth pursuing… :)

  5. pmqs commented on Jan 6, 2026

    @pmqs
    Owner

    I don't actually use it, but wanted to try out some "serve pod as a web page" thing for potential internal use, and it relies on this, and "there's almost a patch to make it go" felt like maybe worth pursuing… :)

    Go for it!

  6. rjbs commented on Sep 26, 2026

    @rjbs

    Bad news for prospects of me doing this: I worked around the problem locally and all motivation for this is now gone!

  7. pmqs commented on Sep 30, 2026

    @pmqs
    Owner

    Bad news for prospects of me doing this: I worked around the problem locally and all motivation for this is now gone!

    No worries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions