求助:安装Net::SSH::Expect出错
adminsinx
|
1#
adminsinx 发表于 2008-12-23 18:33
求助:安装Net::SSH::Expect出错
cpan> install Net::SSH::Expect
Running install for module Net::SSH::Expect Running make for B/BN/BNEGRAO/Net-SSH-Expect-1.09.tar.gz Is already unwrapped into directory /root/.cpan/build/Net-SSH-Expect-1.09 Has already been processed within this session Running make test ---- Unsatisfied dependencies detected during [B/BN/BNEGRAO/Net-SSH-Expect-1.09.tar.gz] ----- Expect Shall I follow them and prepend them to the queue of modules we are processing right now? [yes] Running make install make test had returned bad status, won't install without force Delayed until after prerequisites Running install for module Expect Running make for R/RG/RGIERSIG/Expect-1.21.tar.gz Is already unwrapped into directory /root/.cpan/build/Expect-1.21 Has already been processed within this session Running make test ---- Unsatisfied dependencies detected during [R/RG/RGIERSIG/Expect-1.21.tar.gz] ----- IO:ty IO::Tty Shall I follow them and prepend them to the queue of modules we are processing right now? [yes] Running make install make test had returned bad status, won't install without force Delayed until after prerequisites Running install for module IO:ty Running make for R/RG/RGIERSIG/IO-Tty-1.07.tar.gz Is already unwrapped into directory /root/.cpan/build/IO-Tty-1.07 Makefile.PL returned status 6400 Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install Running install for module IO::Tty Running make for R/RG/RGIERSIG/IO-Tty-1.07.tar.gz Is already unwrapped into directory /root/.cpan/build/IO-Tty-1.07 Makefile.PL returned status 6400 Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install Running make for R/RG/RGIERSIG/Expect-1.21.tar.gz Is already unwrapped into directory /root/.cpan/build/Expect-1.21 Has already been processed within this session Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..42 Can't locate IO/Pty.pm in @INC (@INC contains: blib/lib blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at blib/lib/Expect.pm line 22. BEGIN failed--compilation aborted at blib/lib/Expect.pm line 22. Compilation failed in require at test.pl line 27. BEGIN failed--compilation aborted at test.pl line 27. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Running make for B/BN/BNEGRAO/Net-SSH-Expect-1.09.tar.gz Is already unwrapped into directory /root/.cpan/build/Net-SSH-Expect-1.09 Has already been processed within this session Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Net-SSH-Expect....1/1 # Failed test 'use Net::SSH::Expect;' # at t/Net-SSH-Expect.t line 9. # Tried to use 'Net::SSH::Expect'. # Error: Can't locate Expect.pm in @INC (@INC contains: /root/.cpan/build/Net-SSH-Expect-1.09/blib/lib /root/.cpan/build/Net-SSH-Expect-1.09/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /root/.cpan/build/Net-SSH-Expect-1.09/blib/lib/Net/SSH/Expect.pm line 10. # BEGIN failed--compilation aborted at /root/.cpan/build/Net-SSH-Expect-1.09/blib/lib/Net/SSH/Expect.pm line 10. # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at (eval 3) line 2. # Looks like you failed 1 test of 1. t/Net-SSH-Expect.... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- t/Net-SSH-Expect (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=1, Tests=1, 0 wallclock secs ( 0.00 usr 0.04 sys + 0.00 cusr 0.04 csys = 0.08 CPU) Result: FAIL Failed 1/1 test programs. 1/1 subtests failed. make: *** [test_dynamic] Error 1 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force cpan> |