Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

A few questions for you first ... Do you have `make` installed, a compiler, and the "BSD subsystem"? (I assume MacOS is still calling it that .. I'm not running 10.8.x). If you install Xcode through a regular package (not as an app), it should prompt you for what components you want to install. You must select 'BSD subsystem' or you won't have a perl.h and other important header files. You'd still be able to install pure perl programs (assuming you have `make`, or they're using Module::Build, but the majority of modules will fail).

The only way that I know to ensure that CPAN is truly clean is to clear out the installed libraries, and start over. (it had been /Library/Perl, but I think they've moved it in either 10.7 or 10.8). You can force a reconfigure from the cpan shell with `o conf init`.

Personally, I'd advise *against* messing with the system perl too much. I'd had a few times where Apple's patches screwed up one of the libraries that I needed, and I wasted way too much time trying to figure out what had gone wrong. Apple packages such outdated versions of perl that you're really better off just installing a fresh perl in /opt/ or /usr/local/, and keeping your libraries separate from what Apple distributes.


In reply to Re: CPAN Useless on OS X by jhourcle
in thread 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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others scrutinizing the Monastery: (9)
    As of 2019-05-22 20:38 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Do you enjoy 3D movies?



      Results (140 votes). Check out past polls.

      Notices?
      • (Sep 10, 2018 at 22:53 UTC) Welcome new users!