I'm trying to work with a specific application and getting hung up with an error I don't understand. While I am waiting for the app author to get back to me, I'd like to further my own understanding by getting an idea of what's going on.

I'm trying to run Postgrey (http://isg.ee.ethz.ch/tools/postgrey/) on FreeBSD 4.10, with Posfix 2.1.1 and perl 5.6.1 and BerkeleyDB-0.25.

when I try to run Postgrey I get the following error:

Your vendor has not defined BerkeleyDB macro DB_AUTO_COMMIT, used at /usr/local/bin/postgrey line 178

Looking at the source to BerkeleyDB.pm, I can't say I understand what's going on. Seems like DB_AUTO_COMMIT is exported but never declared. Perhaps I'm demonstrating how little I understand about perl, but that's why I'm asking a question.

Can anyone explain what's wrong, or point me to a document that will enlighten me?


In reply to Errors with BerkeleyDB by wmoran

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.