Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/perl/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Perl 5.6上安装HTML-Parser-3.64?_Perl_Html Parser - Fatal编程技术网

如何在Perl 5.6上安装HTML-Parser-3.64?

如何在Perl 5.6上安装HTML-Parser-3.64?,perl,html-parser,Perl,Html Parser,我正在尝试安装HTML-Parser-3.64,在运行make test时收到以下报告: ERL_DL_NONLAZY=1 /home/Perl/bin/perl -Iblib/arch -Iblib/lib -I/home/Perl/5.6.1-nothread/lib/perl5/5.6.1/sun4.SVR4 -I/home/Perl/5.6.1-nothread/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $

我正在尝试安装HTML-Parser-3.64,在运行
make test
时收到以下报告:

ERL_DL_NONLAZY=1 /home/Perl/bin/perl -Iblib/arch -Iblib/lib -I/home/Perl/5.6.1-nothread/lib/perl5/5.6.1/sun4.SVR4 -I/home/Perl/5.6.1-nothread/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/api_version........ok t/argspec-bad........ok t/argspec............ok t/argspec2...........ok t/attr-encoded.......ok t/callback...........ok t/case-sensitive.....ok t/cases..............ok t/comment............ok t/crashme............ok t/declaration........ok t/default............ok t/document...........ok t/dtext..............ok t/entities...........ok 1/17 t/entities...........NOK 17# Failed test (t/entities.t at line 74) # got: 'Attention Homeοωnөrs...1ѕt Tімe Eνөг' # expected: 'Attention HomeοÏnÓ©rs...1Ñt TÑмe Eνөг' # Looks like you failed 1 test of 17. t/entities...........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 17 Failed 1/17 tests, 94.12% okay t/entities2..........ok t/filter-methods.....ok t/filter.............ok t/handler-eof........ok t/handler............ok t/headparser-http....ok t/headparser.........ok 4/15 skipped: Need Unicode support t/ignore.............ok t/largetags..........ok t/linkextor-base.....ok t/linkextor-rel......ok t/magic..............ok t/marked-sect........ok t/msie-compat........ok t/offset.............ok t/options............ok t/parsefile..........ok t/parser.............ok t/plaintext..........ok t/pod................skipped all skipped: Test::Pod 1.00 required for testing POD t/process............ok t/pullparser.........ok t/script.............ok t/skipped-text.......ok t/stack-realloc......ok t/textarea...........ok t/threads............skipped all skipped: Not configured for threads t/tokeparser.........ok t/uentities..........ok 1/26# Looks like you planned 26 tests but ran 1 extra. t/uentities..........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 27 Failed 1/26 tests, 96.15% okay (less 27 skipped tests: -2 okay, -7.69%) t/unbroken-text......ok t/unicode-bom........ok 2/2 skipped: This perl does not support Unicode t/unicode............skipped all skipped: This perl does not support Unicode t/xml-mode...........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/entities.t 1 256 17 1 5.88% 17 t/uentities.t 1 256 26 1 3.85% 27 3 tests and 33 subtests skipped. Failed 2/48 test scripts, 95.83% okay. 0/338 subtests failed, 100.00% okay. *** Error code 11 make: Fatal error: Command failed for target `test_dynamic' ERL_DL_NONLAZY=1/home/Perl/bin/Perl-Iblib/arch-Iblib/lib-I/home/Perl/5.6.1-nothread/lib/perl5/5.6.1/sun4.SVR4-I/home/Perl/5.6.1-nothread/lib/perl5/5.6.1-e'use Test::harnese qw(&runtests$verbose)$详细=0;运行测试@ARGV;'t/*.t t/api_版本…….正常 t/argspec不正确…….正常 t/argspec…………正常 t/argspec2……….正常 t/attr编码…….正常 t/回拨…………好的 t/区分大小写…..好的 t/箱…………好的 t/评论…………好的 t/crashme…………好的 t/声明……好的 t/默认值…………正常 t/文件……….确定 t/dtext………..正常 t/实体……….正常1/17 t/entities……….NOK 17#测试失败(t/entities.t在第74行) #获得:“关注家园οωnөrs…1ѕtімeνөг” #预期:“关注家庭”rs…1尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼特尼 #看起来你17次考试中有1次没通过。 t/实体…………可疑 测试返回状态1(wstat 256,0x100) 死亡。未通过测试17 1/17测试失败,94.12%正常 t/实体2…………好的 t/过滤器方法…正常 t/过滤器…………正常 t/处理程序eof…….正常 t/handler…………好的 t/headparser http…好的 t/headparser………好的 已跳过4/15:需要Unicode支持 t/忽略…………好的 t/largetags…………好的 t/linkextor基…好的 t/linkextor相关……正常 t/魔术…………好的 t/标记的截面…….正常 t/msie兼容……好的 t/偏移量…………正常 t/选项…………好的 t/parsefile……….确定 t/语法分析器…………好的 t/纯文本…………好的 t/pod…………跳过 所有跳过:测试::测试吊舱需要吊舱1.00 t/工艺…………正常 t/pullparser………好的 t/脚本…………好的 t/跳过的文本…….确定 t/stack realloc……正常 t/textarea……….正常 t/螺纹…………跳过 所有已跳过:未为线程配置 t/t……好的 t/t………好的1/26#看起来您计划了26次测试,但额外运行了1次。 可疑 测试返回状态1(wstat 256,0x100) 死亡。测试失败27 26次测试中有1次失败,96.15%正常(减去27次跳过的测试:-2次正常,-7.69%) 完整的文本……好的 t/unicode bom……好的 跳过2/2:此perl不支持Unicode t/unicode…………跳过 全部跳过:此perl不支持Unicode t/xml模式……….确定 失败的测试状态Wstat总失败失败失败列表失败 ------------------------------------------------------------------------------- t/entities.T1256171 5.88%17 t/t.t12562613.85%27 跳过了3个测试和33个子测试。 失败的2/48测试脚本,95.83%正常。0/338子测试失败,100.00%正常。 ***错误代码11 make:致命错误:目标'test_dynamic'的命令失败 我有Perl版本5.6.1。Solaris 8上的解析器的3.64版本。 我在网上看到了另一个人在上报告的类似错误。但是看不到对此的任何答复或解决方案。

您需要向报告。CPantester结果只是报告,在许多情况下是自动的,所以为了引起作者的注意,您需要使用bug跟踪器

另一方面,升级也是一个好主意(如果您在这方面没有问题的话)——Perl在9年内从5.6.1版起发生了很大的变化。

您需要向我们报告。CPantester结果只是报告,在许多情况下是自动的,所以为了引起作者的注意,您需要使用bug跟踪器

附言
 $ perl -MCPAN -e 'force install HTML::Parser'
cpan> force install HTML::Parser
mv t/entities.t t/entities.tt
mv t/uentities.t t/uentities.tt
make install