Net::SSH::Perl under Win 2000
am 17.05.2006 19:35:07 von Graham DrabbleHi,
I'm trying to install the Net::SSH::Perl module to run under ActivePerl
on Win2K. When I try and write the Makefile I get:
Warning: prerequisite Convert::PEM 0.05 not found.
Warning: prerequisite Crypt::DES 0 not found.
Warning: prerequisite Crypt::DH 0.01 not found.
Warning: prerequisite Crypt::DSA 0.11 not found.
Warning: prerequisite Crypt::IDEA 0 not found.
Warning: prerequisite Math::Pari 2.001804 not found.
Writing Makefile for Net::SSH::Perl
Running nmake test (nmake is a Win clone of make) gives
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t\01-compile.t t\02-buffer.t t\03-packet.t t\04-config.t
t\05-cipher.t t\06-circular.t
t\01-compile.....ok
t\02-buffer......Can't locate Math/GMP.pm in @INC (@INC contains: C:\temp\Net-SS
H-Perl-1.30\blib\lib C:\temp\Net-SSH-Perl-1.30\blib\arch C:/Perl/lib C:/Perl/sit
e/lib .) at t\02-buffer.t line 9.
BEGIN failed--compilation aborted at t\02-buffer.t line 9.
t\02-buffer......dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-19
Failed 19/19 tests, 0.00% okay
t\03-packet......skipped
all skipped: Can't do packet tests without String::CRC32
t\04-config......ok 1/25The getpwuid function is unimplemented at C:\temp\Net-SS
H-Perl-1.30\blib\lib/Net/SSH/Perl.pm line 110.
# Looks like you planned 25 tests but only ran 14.
# Looks like your test died just after 14.
t\04-config......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 15-25
Failed 11/25 tests, 56.00% okay
t\05-cipher......ok
t\06-circular....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ -------------------
t\02-buffer.t 2 512 19 38 200.00% 1-19
t\04-config.t 255 65280 25 22 88.00% 15-25
1 test skipped.
Failed 2/6 test scripts, 66.67% okay. 30/58 subtests failed, 48.28% okay.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff'
Stop.
The two interesting lines as far as I can tell are
Can't locate Math/GMP.pm in @INC as this isn't in the problems given by
makefile and
The getpwuid function is unimplemented at C:\temp\Net-SS
H-Perl-1.30\blib\lib/Net/SSH/Perl.pm line 110.
which I guess means that Net::SSH is relying on unix system calls.
Does anyone have any advice on how to proceed (confirmation from someone
who's done it that it's possible would be great!).
Alternatively any other suggestions on how to get Perl to talk set up
and ssh connection from Win 2K would be greatly appreciated.
Thanks,
--
Graham Drabble
http://www.drabble.me.uk/