Hello All,

this may be silly, but here's my issue:
I need the module 'GDBM_File' for a script somebody wrote. Hwever, the script doews not find the module. This module is supposed come with Perl-5-8-6 (I have that installed). Any attempt to get said module results in attempting to download perl all over again.

I wonder if there is a way to use the source posted in CPAN?? I can't seem to find any docs on how to install the module from source.

Any help would be appreciated.

-steven

----Here is the std output-----

Can't locate GDBM_File.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6 .) at ./abc123.pl line 47.

Update:
I found the module. I upgraded my perl from the ports collection. Now I'm looking into putting this path in the right place to let perl find it!

peek# find . -name GDBM_File.pm -print
./usr/src/contrib/perl5/ext/GDBM_File/GDBM_File.pm


In reply to Installing Module from source.... by stevenrh

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.