I have an odd problem in teh configuration of my ubuntu system that seems to stem from a perl configuration issue. It is kind of basic but I don't find any clues by google and so on.

When I try to run tools like debconf, I get :

Can't locate Debconf/Db.pm in @INC ... and the listing of @INC, which is all dirs under /usr/local/lib/perl5

By searching, I see that this module is there - it's under /usr/share/perl5

Now I do recall that a long while back, I built perl from scratch. I guess that I screwed some of the configuration up? What do I do to reinstall the missing stuff? Do I have to recompile? I've tried "cpan Debconf/Db" but it doesn't actually seem to be a CPAN module. Can I somehow just add /usr/share/perl5 ... into @INC? Where do I even find documentation for this kind of issue?


In reply to perl configuration problem by danmcb

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.