I'm using OS X, 10.8.4 and I'm having trouble with CPAN. It doesn't seem to matter what I install, I get errors and can't build anything. I've tried to re-install it and, just in case I was missing something, used this as a guide. I moved ~/.cpan (/var/root/.cpan) to /var/root/.cpan-bak) and tried running cpan, but whatever I've done it never asks for any configuration issue.

While I've done work in C++ and Java, that was a while ago and I've had to do very little in terms of using make or building programs, so that's a skill I lack.

It seems to me that if things are working, if I start without the configuration directory, that when I build and install CPAN, on the first run it should be asking me for configuration information, but it doesn't - and I think the reason I'm having trouble installing anything is probably because of configuration issues, probably from when I upgraded the OS at one point.

What can I do to force a clean install of CPAN and force it to reconfigure?


In reply to CPAN Useless on OS X by HalNineThousand

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.