I've been having trouble installing modules from the CPAN via the command-line interface. Specifically, I tried to install the module called "GMail::IMAPD". I typed "install GMail::IMAPD" , the install process begins, it tells me the following:
Warning (usually harmless): 'YAML' not installed, will not store pers +istent state Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Could not read '/Users/stevenrodriguez/.cpan/build/Crypt-SSLeay-0.57-o +B0Ycw/META.yml'. Falling back to other methods to determine prerequis +ites Failed during this command: MINCUS/Mail-Webmail-Gmail-1.09.tar.gz : make NO KRS/GMail-IMAPD-0.94.tar.gz : make NO DLAND/Crypt-SSLeay-0.57.tar.gz : writemakefile NO '/usr +/bin/perl Makefile.PL' returned status 512
Another example is what happened when I tried to install "Twitter::Shell"
Warning: Prerequisite 'Config::Any => 0' for 'D/DM/DMAKI/Twitter-Shel +l-0.03.tar.gz' failed when processing 'B/BR/BRICAS/Config-Any-0.17.ta +r.gz' with 'make => NO'. Continuing, but chances to succeed are limit +ed. Warning: Prerequisite 'Net::Twitter => 0' for 'D/DM/DMAKI/Twitter-Shel +l-0.03.tar.gz' failed when processing 'M/MM/MMIMS/Net-Twitter-3.08000 +.tar.gz' with 'make => NO'. Continuing, but chances to succeed are li +mited. Warning: Prerequisite 'Term::Shell => 0' for 'D/DM/DMAKI/Twitter-Shell +-0.03.tar.gz' failed when processing 'N/NE/NEILW/Term-Shell-0.02.tar. +gz' with 'make => NO'. Continuing, but chances to succeed are limited +. Can't exec "make": No such file or directory at /System/Library/Perl/5 +.10.0/CPAN.pm line 7698. DMAKI/Twitter-Shell-0.03.tar.gz make -- NOT OK Warning (usually harmless): 'YAML' not installed, will not store persi +stent state Prepending /Users/stevenrodriguez/.cpan/build/Net-OAuth-0.19-Q3TYp0/bl +ib/arch /Users/stevenrodriguez/.cpan/build/Net-OAuth-0.19-Q3TYp0/blib +/lib /Users/stevenrodriguez/.cpan/build/Test-MockObject-1.09-XocbR6/b +lib/arch /Users/stevenrodriguez/.cpan/build/Test-MockObject-1.09-Xocb +R6/blib/lib /Users/stevenrodriguez/.cpan/build/UNIVERSAL-can-1.15-eAJ +5xH/blib/arch /Users/stevenrodriguez/.cpan/build/UNIVERSAL-can-1.15-e +AJ5xH/blib/lib /Users/stevenrodriguez/.cpan/build/UNIVERSAL-isa-1.03- +wR8v1l/blib/arch /Users/stevenrodriguez/.cpan/build/UNIVERSAL-isa-1.0 +3-wR8v1l/blib/lib to PERL5LIB for 'test' Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: BRICAS/Config-Any-0.17.tar.gz : make NO NEILW/Term-Shell-0.02.tar.gz : make NO DROLSKY/Params-Validate-0.92.tar.gz : make NO DROLSKY/DateTime-Locale-0.44.tar.gz : make_test NO ABW/Class-Singleton-1.4.tar.gz : make NO DROLSKY/DateTime-0.51.tar.gz : make NO DROLSKY/DateTime-TimeZone-1.04.tar.gz : make_test NO NUFFIN/Tie-ToObject-0.03.tar.gz : make NO ADAMK/Task-Weaken-1.03.tar.gz : make NO AUDREYT/Test-use-ok-0.02.tar.gz : make NO FLORA/MRO-Compat-0.11.tar.gz : make NO MSCHWERN/Test-Simple-0.94.tar.gz : make NO XMATH/Sub-Name-0.04.tar.gz : make NO CHOCOLATE/Scope-Guard-0.03.tar.gz : make NO ADAMK/Params-Util-1.00.tar.gz : make NO RJBS/Data-OptList-0.104.tar.gz : make NO NUFFIN/Devel-GlobalDestruction-0.02.tar.gz : make NO NUFFIN/Try-Tiny-0.02.tar.gz : make NO DROLSKY/Moose-0.92.tar.gz : make NO RJBS/Sub-Install-0.925.tar.gz : make NO DROLSKY/Class-MOP-0.94.tar.gz : make NO RJBS/Sub-Exporter-0.982.tar.gz : make NO CHROMATIC/UNIVERSAL-isa-1.03.tar.gz : install NO CHROMATIC/UNIVERSAL-can-1.15.tar.gz : install NO CHROMATIC/Test-MockObject-1.09.tar.gz : install NO FLORA/namespace-clean-0.11.tar.gz : make NO NUFFIN/Data-Visitor-0.26.tar.gz : make NO FLORA/B-Hooks-EndOfScope-0.08.tar.gz : make NO VPIT/Variable-Magic-0.38.tar.gz : make NO RICKM/DateTime-Format-Strptime-1.1000.tgz : make NO KGRENNAN/Net-OAuth-0.19.tar.gz : install NO MLEHMANN/common-sense-2.02.tar.gz : make NO MLEHMANN/JSON-XS-2.26.tar.gz : make NO DOWENS/JSON-DWIW-0.39.tar.gz : make NO MAKAMAKA/JSON-2.16.tar.gz : make NO PERIGRIN/JSON-Any-1.22.tar.gz : make NO FLORA/namespace-autoclean-0.09.tar.gz : make NO GAAS/URI-1.40.tar.gz : make NO DROLSKY/MooseX-AttributeHelpers-0.22.tar.gz : make NO FRODWITH/MooseX-MultiInitArg-0.01.tar.gz : make NO MMIMS/Net-Twitter-3.08000.tar.gz : make NO DMAKI/Twitter-Shell-0.03.tar.gz : make NO
I'm thinking that the issue may be that this module depends on other modules which I do not have installed, but I've had problems with other modules as well. In fact, when I try and update the CPAN interface itself by typing "install CPAN" the install fails. Help would be very much appreciated. Thanks.

In reply to Problems installing modules via CPAN terminal interface by optionshiftk

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.