这是 getpwuid 的问题,测试脚本没考虑到 windows 上的安装,可以考虑 force install 这个模块.

2009/11/6 Zhang JiaQiang <[email protected]>

>
> 失败信息如下,有人成功过么?
>
> cpan> install Net::SSH::Perl
> Running install for module 'Net::SSH::Perl'
> Running make for T/TU/TURNSTEP/Net-SSH-Perl-1.34.tar.gz
> Checksum for C:\strawberry\cpan\sources\authors\id\T\TU\TURNSTEP\Net-
> SSH-Perl-1.
> 34.tar.gz ok
>
>  CPAN.pm: Going to build T/TU/TURNSTEP/Net-SSH-Perl-1.34.tar.gz
>
> This is Net::SSH::Perl.
>
> As of version 1.00, Net::SSH::Perl supports both the SSH1 and
> SSH2 protocols natively. The two protocols have different
> module prerequisitives, so you need to decide which protocol(s)
> you plan to use. If you use one or the other, only those modules
> for your chosen protocol will be installed; if you choose both,
> all of the supporting modules will be installed. Please choose
> the protocols you'd like to use from the following list ("Both"
> is the default).
>
>    [1] SSH1
>    [2] SSH2
>    [3] Both SSH1 and SSH2
>
> Which protocol(s) do you plan to use? [3]
>
> Some of the Net::SSH::Perl ciphers depend on a Crypt:: module from
> CPAN. You may already have the necessary modules installed, in which
> case you don't need to bother with this step. Otherwise you'll need
> to install at least one cipher to use Net::SSH::Perl. Please choose
> at least one from the following list (Crypt::IDEA is the default).
>
>    [1] IDEA
>    [2] DES
>    [3] DES3
>    [4] Blowfish
>    [5] RC4
>
> Enter your choices, separated by spaces: [1]
>
> Checking for optional modules
>
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Net::SSH::Perl
> cp lib/Net/SSH/Perl/Agent.pm blib\lib\Net\SSH\Perl\Agent.pm
> cp lib/Net/SSH/Perl/Auth/KeyboardInt.pm blib\lib\Net\SSH\Perl\Auth
> \KeyboardInt.p
> m
> cp lib/Net/SSH/Perl/Util/RSA.pm blib\lib\Net\SSH\Perl\Util\RSA.pm
> cp lib/Net/SSH/Perl/AuthMgr.pm blib\lib\Net\SSH\Perl\AuthMgr.pm
> cp lib/Net/SSH/Perl/Auth/Rhosts.pm blib\lib\Net\SSH\Perl\Auth
> \Rhosts.pm
> cp lib/Net/SSH/Perl/Cipher/IDEA.pm blib\lib\Net\SSH\Perl\Cipher
> \IDEA.pm
> cp lib/Net/SSH/Perl/Util/Authfile.pm blib\lib\Net\SSH\Perl\Util
> \Authfile.pm
> cp lib/Net/SSH/Perl/Handle/SSH2.pm blib\lib\Net\SSH\Perl\Handle
> \SSH2.pm
> cp lib/Net/SSH/Perl/Util/SSH1MP.pm blib\lib\Net\SSH\Perl\Util
> \SSH1MP.pm
> cp lib/Net/SSH/Perl/Util/Hosts.pm blib\lib\Net\SSH\Perl\Util\Hosts.pm
> cp lib/Net/SSH/Perl/Auth.pm blib\lib\Net\SSH\Perl\Auth.pm
> cp lib/Net/SSH/Perl/Util/Term.pm blib\lib\Net\SSH\Perl\Util\Term.pm
> cp lib/Net/SSH/Perl/Handle/SSH1.pm blib\lib\Net\SSH\Perl\Handle
> \SSH1.pm
> cp lib/Net/SSH/Perl/Cipher/CBC.pm blib\lib\Net\SSH\Perl\Cipher\CBC.pm
> cp lib/Net/SSH/Perl/Comp.pm blib\lib\Net\SSH\Perl\Comp.pm
> cp lib/Net/SSH/Perl/Auth/PublicKey.pm blib\lib\Net\SSH\Perl\Auth
> \PublicKey.pm
> cp lib/Net/SSH/Perl/Subsystem/Client.pm blib\lib\Net\SSH\Perl\Subsystem
> \Client.p
> m
> cp lib/Net/SSH/Perl/Kex.pm blib\lib\Net\SSH\Perl\Kex.pm
> cp lib/Net/SSH/Perl/Auth/Password.pm blib\lib\Net\SSH\Perl\Auth
> \Password.pm
> cp lib/Net/SSH/Perl/Cipher/Blowfish.pm blib\lib\Net\SSH\Perl\Cipher
> \Blowfish.pm
> cp lib/Net/SSH/Perl/Auth/Rhosts_RSA.pm blib\lib\Net\SSH\Perl\Auth
> \Rhosts_RSA.pm
> cp lib/Net/SSH/Perl/Key/RSA1.pm blib\lib\Net\SSH\Perl\Key\RSA1.pm
> cp lib/Net/SSH/Perl/Key.pm blib\lib\Net\SSH\Perl\Key.pm
> cp lib/Net/SSH/Perl/Buffer.pm blib\lib\Net\SSH\Perl\Buffer.pm
> cp lib/Net/SSH/Perl/Key/DSA.pm blib\lib\Net\SSH\Perl\Key\DSA.pm
> cp lib/Net/SSH/Perl/Cipher/DES3.pm blib\lib\Net\SSH\Perl\Cipher
> \DES3.pm
> cp lib/Net/SSH/Perl/Cipher/RC4.pm blib\lib\Net\SSH\Perl\Cipher\RC4.pm
> cp lib/Net/SSH/Perl/Cipher.pm blib\lib\Net\SSH\Perl\Cipher.pm
> cp lib/Net/SSH/Perl/Constants.pm blib\lib\Net\SSH\Perl\Constants.pm
> cp lib/Net/SSH/Perl/ChannelMgr.pm blib\lib\Net\SSH\Perl\ChannelMgr.pm
> cp lib/Net/SSH/Perl/Auth/RSA.pm blib\lib\Net\SSH\Perl\Auth\RSA.pm
> cp lib/Net/SSH/Perl/Cipher/CFB.pm blib\lib\Net\SSH\Perl\Cipher\CFB.pm
> cp lib/Net/SSH/Perl/Util/SSH1Misc.pm blib\lib\Net\SSH\Perl\Util
> \SSH1Misc.pm
> cp lib/Net/SSH/Perl/Comp/Zlib.pm blib\lib\Net\SSH\Perl\Comp\Zlib.pm
> cp lib/Net/SSH/Perl/Mac.pm blib\lib\Net\SSH\Perl\Mac.pm
> cp lib/Net/SSH/Perl/Kex/DH1.pm blib\lib\Net\SSH\Perl\Kex\DH1.pm
> cp lib/Net/SSH/Perl/SSH2.pm blib\lib\Net\SSH\Perl\SSH2.pm
> cp lib/Net/SSH/Perl/Config.pm blib\lib\Net\SSH\Perl\Config.pm
> cp lib/Net/SSH/Perl/Subsystem/Server.pm blib\lib\Net\SSH\Perl\Subsystem
> \Server.p
> m
> cp lib/Net/SSH/Perl/Util.pm blib\lib\Net\SSH\Perl\Util.pm
> cp lib/Net/SSH/Perl/Handle.pm blib\lib\Net\SSH\Perl\Handle.pm
> cp lib/Net/SSH/Perl/Util/SSH2MP.pm blib\lib\Net\SSH\Perl\Util
> \SSH2MP.pm
> cp lib/Net/SSH/Perl.pm blib\lib\Net\SSH\Perl.pm
> cp lib/Net/SSH/Perl/Auth/ChallengeResponse.pm blib\lib\Net\SSH\Perl
> \Auth\Challen
> geResponse.pm
> cp lib/Net/SSH/Perl/Channel.pm blib\lib\Net\SSH\Perl\Channel.pm
> cp lib/Net/SSH/Perl/SSH1.pm blib\lib\Net\SSH\Perl\SSH1.pm
> cp lib/Net/SSH/Perl/Cipher/DES.pm blib\lib\Net\SSH\Perl\Cipher\DES.pm
> cp lib/Net/SSH/Perl/Packet.pm blib\lib\Net\SSH\Perl\Packet.pm
> cp lib/Net/SSH/Perl/Key/RSA.pm blib\lib\Net\SSH\Perl\Key\RSA.pm
>  TURNSTEP/Net-SSH-Perl-1.34.tar.gz
>  C:\strawberry\c\bin\dmake.EXE -- OK
> Running make test
> C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
> "test_harness(0,
> 'blib\lib', 'blib\arch')" t/*.t
> t/00-signature.t ... skipped: Set the environment variable
> TEST_SIGNATURE to ena
> ble this test
> t/01-compile.t ..... ok
> t/02-buffer.t ...... ok
> t/03-packet.t ...... Use of uninitialized value $ENV{"HOME"} in
> concatenation (.
> ) or string at C:\strawberry\cpan\build\Net-SSH-Perl-1.34-q3FdXz\blib
> \lib/Net/SS
> H/Perl.pm line 108.
> The getpwuid function is unimplemented at C:\strawberry\cpan\build\Net-
> SSH-Perl-
> 1.34-q3FdXz\blib\lib/Net/SSH/Perl/SSH1.pm line 30.
> # Looks like your test exited with 9 before it could output anything.
> t/03-packet.t ...... Dubious, test returned 9 (wstat 2304, 0x900)
> Failed 10/10 subtests
> t/04-config.t ...... 1/25 Use of uninitialized value $ENV{"HOME"} in
> concatenati
> on (.) or string at C:\strawberry\cpan\build\Net-SSH-Perl-1.34-q3FdXz
> \blib\lib/N
> et/SSH/Perl.pm line 108.
> t/04-config.t ...... ok
> t/05-cipher.t ...... ok
> t/06-auth.t ........ skipped: Test not enabled yet
> t/06-circular.t .... ok
> t/99-perlcritic.t .. skipped: Set the environment variable TEST_CRITIC
> to enable
>  this test
> t/99-pod.t ......... skipped: Test not ready yet.
> t/99-spellcheck.t .. skipped: Set the environment variable TEST_SPELL
> to enable
> this test
> t/99-yaml.t ........ skipped: Set the environment variable TEST_AUTHOR
> to enable
>  this test
>
> Test Summary Report
> -------------------
> t/03-packet.t    (Wstat: 2304 Tests: 0 Failed: 0)
>  Non-zero exit status: 9
>  Parse errors: Bad plan.  You planned 10 tests but ran 0.
> Files=12, Tests=106,  6 wallclock secs ( 0.16 usr +  0.14 sys =  0.30
> CPU)
> Result: FAIL
> Failed 1/12 test programs. 0/106 subtests failed.
> dmake.EXE:  Error code 255, while making 'test_dynamic'
>  TURNSTEP/Net-SSH-Perl-1.34.tar.gz
>  C:\strawberry\c\bin\dmake.EXE test -- NOT OK
> //hint// to see the cpan-testers results for installing this module,
> try:
>  reports TURNSTEP/Net-SSH-Perl-1.34.tar.gz
> Running make install
>  make test had returned bad status, won't install without force
> Failed during this command:
>  TURNSTEP/Net-SSH-Perl-1.34.tar.gz            : make_test NO
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛“PerlChina Mongers 讨论组”论坛。
 要在此论坛发帖,请发电子邮件到 [email protected]
 要退订此论坛,请发邮件至 [email protected]
 更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

回复