나는 HTML 파서-3.64 설치하려고하고 make test
을 실행하는 동안 나는 보고서를 다음 얻을 :Perl 5.6에 HTML-Parser-3.64를 어떻게 설치합니까?
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'
내가 Perl 버전 5.6.1이 있습니다. Solaris 8의 Parser 3.64 버전을 사용하고 있습니다. 다음과 유사한 오류가 인터넷에있는 다른 사람 (http://www.cpantesters.org/cpan/report/6653478)에 의해보고 된 바 있습니다. 그러나 그것에 대한 답변이나 해결책을 찾을 수 없었습니다.
I CPAN 명령 행에서
'5.8.9'로 업그레이드 할 때라고 말하고있다. –
@Silence 하늘에서 위대한 녹색 정원은 ServerFault와 관련이 있습니까? 5.6.1에서 유니 코드 지원이 부족하여 테스트에 실패했습니다. –
아마도 유니 코드가 아닙니다. 이 테스트에서 "라틴어 1 추가됨"이 필요하다고 판단되는 경우 http://cpansearch.perl.org/src/GAAS/HTML-Parser-3.64/t/entities.t를 참조하십시오.이 경우 5.6.1 관련 문제가 아닙니다. . – mob