Strawberry Perl - Net::Server 测试在安装过程中挂起
安装 Net::Server 时,测试挂在 4/5,并且安装会阻塞,直到我发送中断信号。我尝试过谷歌搜索,但找不到任何相关内容。
我在 Windows XP 上使用 Strawberry Perl 5.12.2
安装输出:
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)
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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
测试正在使用alarm 存在可移植性问题一个>。 Net::Server 根本没有在 Windows 上成功测试。
作者应该以可移植的方式编写测试。 提交错误并附上问题描述。
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.