Home Forums OS X Server and Client Discussion Questions and Answers cannot locate Berkeley DB during ./configure

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #355133
    Anonymous
    Participant

    greetings
    I am trying to compile Squidguard ( a redirector for squid ) on a 10.2.3 server.

    during ./configure i recieve an error becuase it cannot locate the Berkeley DB.

    By default the configure script looks in /local/Berkeley DB so i must change the config line by adding: ./configure –with-db=DIR

    BUT,….i don’t know where the db directory is on OSX or is it even installed.
    any assistance would be helpfull.

    Thanks

    #355142
    Admin
    Participant

    Apple’s implementation is minimal-to-missing. I did a little digging around on this a while ago, and never successfully found an answer. I [i:e7c086c416]think[/i:e7c086c416] there are multiple versions of db support available (not just Berkeley DB 3 and 4), and that the db that Apple has is [i:e7c086c416]really[/i:e7c086c416] old.

    If you take a look in /usr/include/db.h, for example, you’ll see that the code dates from early 1994. I can’t tell from the code there which version—or implementation—of db/Berkeley DB it is, but I’m willing to bet it’s not v3 (and am pretty certain it isn’t v4!)

    Regardless, all we seem to have is the db.h header file, not the rest of the library.

    Be forewarned: if you install a Berkeley DB, you may lose functionality in other applications that have built, e.g., hash-table databases. This will be especially important if you use Postfix. I’m not saying it can’t be done, only that the last time I tried (admittedly, under Server 10.1.x) things got bollixed up.

    #355148
    Anonymous
    Participant

    ok i feel a ittle better now ( knowing that i couldn’t find it ).

    Anyhoo. i did install the DB in a local directory and things seem to be okay. Thanks for the heads up on the weirdness i may encounter.

    –jeff

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed