Forgive me first off for such a beginner question. I am trying to run a perl script that someone else wrote. He calls out "use Net::SSH::Perl::Subsystem::Client". To my dismay when I run this my IDE can't find this module in my @INC. I tried to install this module using cpanp using the "i module Net::SSH::Perl::Subsystem::Client". This looks good all the way up to the point where it looks to install the Math::GMP module. Where it fails miserably because it can't find the library. So I tried to install that module separately. It still fails and throws this to the log:

[MSG] [Thu Mar 15 21:43:26 2012] Trying to get 'ftp://ftp.cpan.org/pub +/CPAN/authors/id/T/TU/TURNSTEP/Math-GMP-2.06.tar.gz' [MSG] [Thu Mar 15 21:43:36 2012] Using cached file '/Users/Chris/.cpan +plus/authors/id/T/TU/TURNSTEP/CHECKSUMS' on disk; ttl (3600s) is not +exceeded [MSG] [Thu Mar 15 21:43:36 2012] Checksum matches for 'Math-GMP-2.06.t +ar.gz' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/.perlcriticr +c' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/README' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/Changes' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/Makefile.PL' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/GMP.xs' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/t/' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/t/01_gmppm.t +' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/t/99_yaml.t' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/t/00_signatu +re.t' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/t/99_pod.t' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/t/99_spellch +eck.t' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/t/99_perlcri +tic.t' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/INSTALL' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/META.yml' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/lib/' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/lib/Math/' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/lib/Math/GMP +.pm' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/MANIFEST' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/SIGNATURE' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/typemap' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/MANIFEST.SKI +P' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/COPYING.LIB' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math-GMP-2.06/LICENSE' [MSG] [Thu Mar 15 21:43:36 2012] Extracted 'Math::GMP' to '/Users/Chri +s/.cpanplus/5.12.3/build/Math-GMP-2.06' [ERROR] [Thu Mar 15 21:43:36 2012] Could not run '/usr/bin/perl Makefi +le.PL': Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lgmp Writing Makefile for Math::GMP Writing MYMETA.yml and MYMETA.json Removing (Makefile) ========================================================== WARNING! No GMP libraries were detected! Please see the INSTALL file. =========================================================== -- cannot continue [ERROR] [Thu Mar 15 21:43:36 2012] Unable to create a new distribution + object for 'Math::GMP' -- cannot continue

I am almost willing to buy a clue at this point. Any help would greatly be appreciated.


In reply to Newbie question about Modules by CLRCode

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.