http://perl-users.jp/articles/advent-calendar/2009/casual/16.html
上サイトを参考にAlgorithm-SVMLight-0.09をインストールしようとしているのですが、
perl Build testを行った際にテストが失敗し、以下のようなエラーが出てしまいます。
エラーの理由を教えてください
Failed test 'use Algorithm::SVMLight;'
at t/01-basic.t line 5.
Tried to use 'Algorithm::SVMLight'.
Error: Perl API version v5.16.0 of CODE(0x7f92620639f0) does not match v5.18.0 at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 217.
Compilation failed in require at (eval 4) line 2.
BEGIN failed--compilation aborted at (eval 4) line 2.
Can't locate object method "_xs_init" via package "Algorithm::SVMLight" at /users/sugimotonoriya/Algorithm-SVMLight-0.09/blib/lib/Algorithm/SVMLight.pm line 20.
Looks like you planned 28 tests but ran 1.
Looks like you failed 1 test of 1 run.
Looks like your test exited with 255 just after 1.
t/01-basic.t ... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 28/28 subtests
t/02-custom.t .. Failed 4/4 subtests
Test Summary Report
t/01-basic.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 28 tests but ran 1.
回答1件
あなたの回答
tips
プレビュー