Text::MeCabのmake testでtest_dynamicエラー
Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t t/01-sanity..................ok t/99-pod-coverage............skipped all skipped: Enable TEST_POD environment variable to test POD t/99-pod.....................skipped all skipped: Enable TEST_POD environment variable to test POD t/node/01_load...............ok t/node/02_api................ok t/node/03_clone..............ok 1/28 # Failed test 'Deep clone node B OK' # in t/node/03_clone.t at line 33. # Failed test 'Deep clone node B isa OK isa Text::MeCab::Node::Cloned' # in t/node/03_clone.t at line 35. # Deep clone node B isa OK isn't defined Can't call method "surface" on an undefined value at t/node/03_clone.t line 38. # Looks like you planned 28 tests but only ran 17. # Looks like you failed 2 tests of 17 run. # Looks like your test died just after 17. t/node/03_clone..............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 15, 17-28 Failed 13/28 tests, 53.57% okay t/node/04_clone_free.........ok t/node/05_format.............ok t/regression/01_tomi_args....skipped all skipped: SWIG MeCab not available t/tagger/01_load.............ok t/tagger/02_api..............ok t/tagger/03_basic............ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/node/03_clone.t 255 65280 28 24 85.71% 15 17-28 3 tests skipped. Failed 1/12 test scripts, 91.67% okay. 13/984 subtests failed, 98.68% okay. make: *** [test_dynamic] エラー 255 /usr/bin/make test -- NOT OK
対応方法分からず、CPANから強制インストールしました。
cpan> force install Text::MeCab
Text::MeCab - Alternate Interface To libmecab - metacpan.org