问题
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