Hello Perl Monks

I've been trying to install some perl packages via CPAN but its failing, see the examples below for your reference. Can you please advise how can I successfully install these packages?

[~]$ cpan -f -i Device::SerialPort Going to read '/home/emarwja/.cpan/Metadata' Database was generated on Thu, 22 Jun 2017 02:17:02 GMT Running install for module 'Device::SerialPort' Running make for C/CO/COOK/Device-SerialPort-1.04.tar.gz Checksum for /home/emarwja/.cpan/sources/authors/id/C/CO/COOK/Device-S +erialPort-1.04.tar.gz ok CPAN.pm: Going to build C/CO/COOK/Device-SerialPort-1.04.tar.gz To enable serial port tests, use: perl Makefile.PL TESTPORT=<DEVICE> where <DEVICE> is a specific port or 'auto' to autodetect. Running ./configure ... checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. The 'configure' script didn't like something. It should have told you what went wrong, but you can check 'config.log' for more details. Warning: No success on command[/usr/bin/perl Makefile.PL] COOK/Device-SerialPort-1.04.tar.gz /usr/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read metadata file. Falling back to other methods to determi +ne prerequisites [~]$

[~]$ cpan -f -i NET:TELNET Going to read '/home/emarwja/.cpan/Metadata' Database was generated on Thu, 22 Jun 2017 02:17:02 GMT Warning: Cannot install NET:TELNET, don't know what it is. Try the command i /NET:TELNET/ to find objects with matching identifiers. [~]$ [~]$ cpan -f -i NET:SSH Going to read '/home/emarwja/.cpan/Metadata' Database was generated on Thu, 22 Jun 2017 02:17:02 GMT Warning: Cannot install NET:SSH, don't know what it is. Try the command i /NET:SSH/ to find objects with matching identifiers. [~]$

In reply to CPAN Installation of Perl Packages Fails by m_jaser

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.