in reply to Re: Perl script on networks.
in thread Perl script on networks.
1. I opened command promt and executed "cpan install Net::SSH::Perl" and got the following error.
Microsoft Windows [Version 6.2.9200] (c) 2012 Microsoft Corporation. All rights reserved. C:\Users\supriyas>sudo cpan Net::SSH 'sudo' is not recognized as an internal or external command, operable program or batch file. C:\Users\supriyas>cpan install Net::SSH::Perl It looks like you don't have a C compiler and make utility installed. + Trying to install dmake and the MinGW gcc compiler using the Perl Package Man +ager. This may take a a few minutes... Downloading ActiveState Package Repository packlist...failed 500 Can't + connect t o ppm4.activestate.com:80 (10061) ppm.bat install failed: Can't find any package that provides MinGW It looks like the installation of dmake and MinGW has failed. You wil +l not be able to run Makefile commands or compile C extension code. Please +check your internet connection and your proxy settings! CPAN: Term::ANSIColor loaded ok (v4.02) CPAN: Storable loaded ok (v2.45) CPAN: LWP::UserAgent loaded ok (v6.05) CPAN: Time::HiRes loaded ok (v1.9726) Fetching with LWP: http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz LWP failed with code[500] message[Can't connect to ppm.activestate.com +:80 (10061 )] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tm p8472'. Giving up on it. Fetching with LWP: http://cpan.perl.org/authors/01mailrc.txt.gz LWP failed with code[500] message[Can't connect to cpan.perl.org:80 (1 +0061)] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tm p8472'. Giving up on it. Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tm p8472'. Giving up on it. No external ftp command available Fetching with LWP: http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz LWP failed with code[500] message[Can't connect to ppm.activestate.com +:80 (10061 )] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tm p8472'. Giving up on it. Fetching with LWP: http://cpan.perl.org/authors/01mailrc.txt.gz LWP failed with code[500] message[Can't connect to cpan.perl.org:80 (1 +0061)] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tm p8472'. Giving up on it. Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tm p8472'. Giving up on it. No external ftp command available CPAN: YAML::XS loaded ok (v0.41) Please check, if the URLs I found in your configuration file (http://ppm.activestate.com/CPAN, http://cpan.perl.org) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch authors/01mailrc.txt.gz
2.and just gave "Cpan" so that it will enter to the capn promt where i can give "install Net::SSH::Perl" but giving Cpan alone is opening the capn GUI.
3. Got a Net::SSH::Perl pm file and saved it in perl/lib/Net but didn't work
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl script on networks.
by Corion (Patriarch) on Aug 18, 2014 at 07:11 UTC |