droz578 has asked for the wisdom of the Perl Monks concerning the following question:
Currently I'm trying to get the files required for making this possible. I run perl -MCPAN -e shell, then run the install Net::SSH::W32Perl and say yes to all prompts and this is what I get:use Net::SSH::W32Perl; my $host = 'droz578.com'; my $ssh = new Net::SSH::W32Perl($host, [options]); $ssh->login('user', 'password'); my ($out, $err, $exit) = $ssh->cmd('touch /usr/local/create.txt');
Any help would be apperciated. thanks droz578# Running under perl version 5.008008 for MSWin32 # Win32::BuildNumber 819 # Current time local: Mon Oct 23 17:54:58 2006 # Current time GMT: Tue Oct 24 00:54:58 2006 # Using Test.pm version 1.25 Can't locate Net/SSH/Perl.pm in @INC (@INC contains: blib\lib blib\arc +h C:/Perl/ site/lib C:/Perl/lib .) at blib\lib/Net/SSH/W32Perl.pm line 8. BEGIN failed--compilation aborted at blib\lib/Net/SSH/W32Perl.pm line +8. Compilation failed in require at test.pl line 10. BEGIN failed--compilation aborted at test.pl line 10. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop. C:\WINDOWS\system32\nmake.EXE test -- NOT OK Running make install make test had returned bad status, won't install without force Failed during this command: VIPUL/Crypt-Random-1.25.tar.gz : make_test NO CHIPT/Math-GMP-2.04.tar.gz : make NO VIPUL/Crypt-RSA-1.57.tar.gz : make_test NO BTROTT/Crypt-DES_EDE3-0.01.tar.gz : make_test NO DPARIS/Crypt-Blowfish-2.10.tar.gz : make NO DPARIS/Crypt-IDEA-1.08.tar.gz : make NO DPARIS/Crypt-DES-2.05.tar.gz : make NO VIPUL/Crypt-Primes-0.50.tar.gz : make_test NO ILYAZ/modules/Math-Pari-2.010708.tar.gz : writemakefile NO 'C:\ +Perl\bin\p erl.exe Makefile.PL' returned status 2304 DBROBINS/Net-SSH-Perl-1.30.tar.gz : make_test NO SCOTTS/Net-SSH-W32Perl-0.05.tar.gz : make_test NO VIPUL/Tie-EncryptedHash-1.21.tar.gz : make_test NO BTROTT/Convert-PEM-0.07.tar.gz : make_test NO SOENKE/String-CRC32-1.4.tar.gz : make NO
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPAN Net::SSH::W32Perl Problem
by Khen1950fx (Canon) on Oct 24, 2006 at 15:30 UTC | |
|
Re: CPAN Net::SSH::W32Perl Problem
by erbo5212 (Initiate) on Oct 25, 2006 at 02:20 UTC |