m_jaser has asked for the wisdom of the Perl Monks concerning the following question:
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. [~]$
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPAN Installation of Perl Packages Fails
by kevbot (Vicar) on Jun 22, 2017 at 05:12 UTC | |
by afoken (Chancellor) on Jun 22, 2017 at 06:30 UTC | |
by m_jaser (Novice) on Jun 22, 2017 at 15:40 UTC | |
by afoken (Chancellor) on Jun 22, 2017 at 20:14 UTC | |
by dasgar (Priest) on Jun 22, 2017 at 21:24 UTC | |
|