perl - Why does installing Number::Format on Win 64 fail? -
i'm trying install number::format use padre on windows:
cpanm number::format i following error. how can fix this?
cpanm (app::cpanminus) 1.7034 on perl 5.020002 built mswin32-x86-multi-thread-64int work directory c:\users\admin/.cpanm/work/1433356714.11300 have make c:\strawb~1\c\bin\dmake.exe have lwp 6.08 falling archive::tar 2.04 searching number::format () on cpanmetadb ... --> working on number::format fetching http://www.cpan.org/authors/id/w/wr/wrw/number-format-1.73.tar.gz -> ok unpacking number-format-1.73.tar.gz entering number-format-1.73 checking configure dependencies meta.yml configuring number-format-1.73 running makefile.pl checking if kit complete... looks generating dmake-style makefile writing makefile number::format writing mymeta.yml , mymeta.json -> ok checking dependencies mymeta.json ... checking if have posix 0 ... yes (1.38_03) checking if have extutils::makemaker 0 ... yes (6.98) checking if have test::more 0 ... yes (1.001014) checking if have carp 0 ... yes (1.3301) building , testing number-format-1.73 cp format.pm blib\lib\number\format.pm c:\perl\bin\perl.exe "-mextutils::command::mm" "-mtest::harness" "-e" "undef *test::harness::switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/format_bytes.t ..... ok t/format_negative.t .. ok t/format_number.t .... ok t/format_picture.t ... ok t/format_price.t ..... ok invalid sep_by_space value @ t/locale.t line 77. # looks test exited 255 after 5. t/locale.t ........... dubious, test returned 255 (wstat 65280, 0xff00) 5 subtests passed (less 3 skipped subtests: 2 okay) t/object.t ........... ok t/round.t ............ ok t/unformat_number.t .. ok test summary report ------------------- t/locale.t (wstat: 65280 tests: 5 failed: 0) non-zero exit status: 255 files=9, tests=147, 1 wallclock secs ( 0.11 usr + 0.03 sys = 0.14 cpu) result: fail failed 1/9 test programs. 0/147 subtests failed. dmake.exe: error code 255, while making 'test_dynamic' -> fail installing number::format failed. see c:\users\admin\.cpanm\work\1433356714.11300\build.log details. retry --force force install it.
there's bug report this. issue hasn't been fixed yet, uploaded patch can try:
reason seems posix module, returns many "-1" values number::format->new() expects missing hash keys... able test , install using attached patch workaround. might smarter fix problem in posix module.
any time module fails build, should check cpan testers report. tests failing perl 5.20.0 on window x64, it's not you.
Comments
Post a Comment