Strawberry Perl - Net::Server test hangs during install

百般思念 提交于 2019-12-23 15:53:25

问题


While installing Net::Server, the tests hang on 4/5, and the install blocks until I send a break signal. I've tried googling, but haven't been able to find anything relevant.

I'm using Strawberry Perl 5.12.2 on Windows XP

Install output:

cpan> install Net::Server
Running install for module 'Net::Server'
Running make for R/RH/RHANDOM/Net-Server-0.99.tar.gz
  Has already been unwrapped into directory C:\strawberry\cpan\build\Net-Server-
0.99-lExqFv
  Has already been made
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch')" t/*.t
t/Options.t ............... ok
t/Port_Configuration.t .... ok
t/Server_BASE.t ........... ok
t/Server_Fork.t ........... ok
t/Server_http.t ........... 4/5 Terminating on signal SIGINT(2)

回答1:


The test is using alarm which has portability problems. Net::Server was not at all successfully tested on Windows.

The author should write the test in a portable way. File a bug with the problem description.



来源:https://stackoverflow.com/questions/5888429/strawberry-perl-netserver-test-hangs-during-install

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!