perl - Compiling Statistics::Basic on strawberry failed -
running tool, had install perl. well, i've installed strawberry-perl , modules fine. when make statistics::basic, fails.
the process make module:
perl makefile.pl
(ok)dmake test
(fail)
c:\perl\perl\lib\basic>dmake test c:\perl\perl\bin\perl.exe "-mextutils::command::mm" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/05_load_them.t ................... # test 1 got: "can't locate number/format.pm in @inc (you may need install number::format module ) (@inc contains: c:\perl\perl\lib\basic\blib\lib c:\perl\perl\lib\basic\blib\arch c:/perl/perl/site/lib c:/perl/perl/vendor/lib c:/perl/perl/lib .) @ c:\perl\perl\lib\basic\blib\lib/statistics/basic.pm line 8.\nbegin failed--compilation aborted @ c:\perl\pe rl\lib\basic\blib\lib/statistics/basic.pm line 8.\ncompilation failed in require @ c:\perl\perl\lib\basic\blib\lib/statistics/bas ic/_onevectorbase.pm line 7.\nbegin failed--compilation aborted @ c:\perl\perl\lib\basic\blib\lib/statistics/basic/_onevectorbase.pm line 7.\ncompilation failed in require @ (eval 1) line 2.\nbegin failed--compilation aborted @ (eval 1) line 2.\n" (t/05_load_them.t @ li ne 12) t/05_load_them.t ................... 1/12 # expected: "" # t/05_load_them.t line 12 is: ok($@, "");
. . .
i don't know perl , have no idea problem. how can install module?
the error message says
you may need install number::format module
so first. there more dependencies, it's better use tool automatically resolving dependencies, e.g. cpan.pm:
cpan statistics::basic
Comments
Post a Comment