I know this has been asked recently but has anyone have any luck and/or hints installing BerkeleyDB.pm? Berkeley itself is installed correctly, (Installed both 3.3.11 and 4.0.14 and had the same problems installing the Modules for it)

Using the version provided with the distros I get
perl mkconsts pm BerkeleyDB.pm > BerkeleyDB.pm.tmp && mv BerkeleyDB.pm +.tmp BerkeleyDB.pm Can't locate ExtUtils/Constant.pm in @INC (@INC contains: /usr/local/l +ib/perl5/5.6.1/sparc64-linux \ /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sparc6 +4-linux \ /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl/5. +6.0/sparc64-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) + at mkconsts line 3. BEGIN failed--compilation aborted at mkconsts line 3. make: *** [BerkeleyDB.pm] Error 2
which looks like I'll have to go to 5.7.* to get this to work (I am under the impression you can't just update ExtUtils) or the CPAN way, which every test fails with
blah,blah,balh ............. Can't load 'blib/arch/auto/BerkeleyDB/Ber +keleyDB.so' \ for module BerkeleyDB: blib/arch/auto/BerkeleyDB/BerkeleyDB.so: undefi +ned symbol: db_create \ at /usr/local/lib/perl5/5.6.1/sparc64-linux/DynaLoader.pm line 206.
The docs say this indicates a missing or old db.h file. This isn't the case. Modified the makefile for it to point to it, then later changed every copy of it on the system to the newest db.h.

I've also replaced all the libdb.a * libdb.so files per the README to the newest versions without any luck.

Suggestions/Enlightenment welcome.

Thanks -Lee

"To be civilized is to deny one's nature."

In reply to Installing BerkeleyDB by shotgunefx

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.