2016-12-02 46 views
1

我不能在Windows上安裝IPC::Run 10 64:SIGBREAK在安裝IPC ::在Windows 10的x64運行

cpan> install IPC::Run 
Running install for module 'IPC::Run' 
Fetching with LWP: 
http://ppm.activestate.com/CPAN/authors/id/T/TO/TODDR/CHECKSUMS 
Checksum for E:\Perl\cpan\sources\authors\id\T\TO\TODDR\IPC-Run-0.94.tar.gz ok 
IPC-Run-0.94/ 
IPC-Run-0.94/abuse/ 
IPC-Run-0.94/Changes 
IPC-Run-0.94/eg/ 
IPC-Run-0.94/lib/ 
IPC-Run-0.94/LICENSE 
IPC-Run-0.94/Makefile.PL 
IPC-Run-0.94/MANIFEST 
IPC-Run-0.94/META.json 
IPC-Run-0.94/META.yml 
IPC-Run-0.94/README 
IPC-Run-0.94/t/ 
IPC-Run-0.94/TODO 
IPC-Run-0.94/t/97_meta.t 
IPC-Run-0.94/t/98_pod.t 
IPC-Run-0.94/t/98_pod_coverage.t 
IPC-Run-0.94/t/99_perl_minimum_version.t 
IPC-Run-0.94/t/adopt.t 
IPC-Run-0.94/t/binmode.t 
IPC-Run-0.94/t/bogus.t 
IPC-Run-0.94/t/filter.t 
IPC-Run-0.94/t/harness.t 
IPC-Run-0.94/t/io.t 
IPC-Run-0.94/t/kill_kill.t 
IPC-Run-0.94/t/lib/ 
IPC-Run-0.94/t/parallel.t 
IPC-Run-0.94/t/pty.t 
IPC-Run-0.94/t/pump.t 
IPC-Run-0.94/t/run.t 
IPC-Run-0.94/t/signal.t 
IPC-Run-0.94/t/timeout.t 
IPC-Run-0.94/t/timer.t 
IPC-Run-0.94/t/win32_compile.t 
IPC-Run-0.94/t/windows_search_path.t 
IPC-Run-0.94/t/lib/Test.pm 
IPC-Run-0.94/lib/IPC/ 
IPC-Run-0.94/lib/IPC/Run/ 
IPC-Run-0.94/lib/IPC/Run.pm 
IPC-Run-0.94/lib/IPC/Run/Debug.pm 
IPC-Run-0.94/lib/IPC/Run/IO.pm 
IPC-Run-0.94/lib/IPC/Run/Timer.pm 
IPC-Run-0.94/lib/IPC/Run/Win32Helper.pm 
IPC-Run-0.94/lib/IPC/Run/Win32IO.pm 
IPC-Run-0.94/lib/IPC/Run/Win32Pump.pm 
IPC-Run-0.94/eg/factorial 
IPC-Run-0.94/eg/factorial_pipe 
IPC-Run-0.94/eg/factorial_scalar 
IPC-Run-0.94/eg/run_daemon 
IPC-Run-0.94/eg/runsh 
IPC-Run-0.94/eg/runsu 
IPC-Run-0.94/eg/synopsis_scripting 
IPC-Run-0.94/abuse/blocking_debug_with_sub_coprocess 
IPC-Run-0.94/abuse/blocking_writes 
IPC-Run-0.94/abuse/broken_pipe_on_bad_executable_name 
IPC-Run-0.94/abuse/timers 
Configuring T/TO/TODDR/IPC-Run-0.94.tar.gz with Makefile.PL 
Checking if your kit is complete... 
Looks good 
Generating a dmake-style Makefile 
Writing Makefile for IPC::Run 
Writing MYMETA.yml and MYMETA.json 
    TODDR/IPC-Run-0.94.tar.gz 
    E:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- OK 
Running make for T/TO/TODDR/IPC-Run-0.94.tar.gz 
cp lib/IPC/Run/Win32IO.pm blib\lib\IPC\Run\Win32IO.pm 
cp lib/IPC/Run/Win32Helper.pm blib\lib\IPC\Run\Win32Helper.pm 
cp lib/IPC/Run/Debug.pm blib\lib\IPC\Run\Debug.pm 
cp lib/IPC/Run/Win32Pump.pm blib\lib\IPC\Run\Win32Pump.pm 
cp lib/IPC/Run.pm blib\lib\IPC\Run.pm 
cp lib/IPC/Run/IO.pm blib\lib\IPC\Run\IO.pm 
cp lib/IPC/Run/Timer.pm blib\lib\IPC\Run\Timer.pm 
    TODDR/IPC-Run-0.94.tar.gz 
    E:\BIOINF~1\perl\site\bin\dmake.exe -- OK 
Running make test 
E:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t 
t/97_meta.t .................. skipped: Author tests not required for installation 
t/98_pod.t ................... skipped: Author tests not required for installation 
t/98_pod_coverage.t .......... skipped: Author tests not required for installation 
t/99_perl_minimum_version.t .. skipped: Author tests not required for installation 
t/adopt.t .................... skipped: adopt not implemented yet 
t/binmode.t .................. ok 
t/bogus.t .................... ok 
t/filter.t ................... ok 
t/harness.t .................. ok 
t/io.t ....................... ok 
t/kill_kill.t ................ skipped: Temporarily ignoring test failure on Win32 
t/parallel.t ................. skipped: Parallel tests are dangerous on MSWin32 
t/pty.t ...................... skipped: IO::Pty not installed 
t/pump.t ..................... ok 
t/run.t ...................... ok 
t/signal.t ................... skipped: Skipping on Win32 
t/timeout.t .................. 9/26 Terminating on signal SIGBREAK(21) 
Terminating on signal SIGBREAK(21) 
Terminating on signal SIGBREAK(21) 
Terminating on signal SIGBREAK(21) 
Terminating on signal SIGBREAK(21) 
Terminating on signal SIGBREAK(21) 

然後介紹了我一個提示...

Terminate batch job (Y/N)? N 

...之後它(明顯)終止。它看起來像我在安裝過程中按Ctrl-Break幾次,但我沒有。行爲是可重複的。有沒有人知道發生了什麼事?

+0

有在Windows 8.1 x64的同樣的問題。 – zb226

回答

3

這是一個錯誤,而且它

an outstanding ticket我建議你正義的力量與

cpan> force install IPC::Run 

的安裝,這將導致它運行的測試,但忽略結果,並繼續前進並完成安裝

或者,您可以按perlmodinstall中所述手動運行安裝,但跳過測試階段

cpan> look IPC::Run 
C:\strawberry\cpan\build\IPC-Run-0.94-0>perl Makefile.PL 
C:\strawberry\cpan\build\IPC-Run-0.94-0>dmake 
C:\strawberry\cpan\build\IPC-Run-0.94-0>dmake install 

這假定您正在運行Strawberry Perl。您可能需要使用不同的使工具的activeperl

+0

是的,我注意到bug報告。但我仍然無法使用「強制安裝」進行安裝。它顯示了同樣的事情。 – c11cc

+0

非常感謝。我使用ActivePerl,它的工作。我曾嘗試過手動安裝,但當時我沒有錯過'dmake test'。我對這些很新,所以我想知道在這個過程中需要'dmake test'嗎? – c11cc

+0

@ c11cc:這不是安裝模塊的必要組成部分,但僅僅將模塊放到系統上而不運行測試,這樣可以確保它可以正常工作,這是愚蠢的。在這種情況下,無論如何你已經運行了多次測試,並且失敗的測試'timeout.t'在套件的最後三次測試中,所以模塊已經通過了大部分測試。 'force install'會有效地做同樣的事情,但是在這種情況下,測試對整個安裝過程是致命的,所以最後的'install'步驟從來沒有達到過。 – Borodin