xslate / p5-Mouse

Lightweight class builder for Perl, as a subset of Moose
https://metacpan.org/release/Mouse
Other
46 stars 32 forks source link

Mouse 2.4.5 does not install on Windows or RHEL6.5 #62

Closed janman27929 closed 7 years ago

janman27929 commented 8 years ago

This used to work but currently fails install with: Windows cpan Mouse ... all lines look more or less good ... the usual chatter all test pass but fails on the build with this message

t\900_mouse_bugs\017_issue29.t ................................. ok t\900_mouse_bugs\018_issue41.t ................................. ok t\900_mouse_bugs\RT75093.t ..................................... ok t\990_deprecated\001-export_to_level.t ......................... ok All tests successful.

Test Summary Report

t\040_type_constraints\018_custom_parameterized_types.t (Wstat: 0 Tests: 28 Failed: 0) TODO passed: 13, 19-20, 22 t\040_type_constraints\021_maybe_type_constraint.t (Wstat: 0 Tests: 36 Failed: 0) TODO passed: 27 Files=296, Tests=6114, 65 wallclock secs ( 1.09 usr + 0.76 sys = 1.86 CPU) Result: PASS SYOHEX/Mouse-v2.4.5.tar.gz C:\Strawberry\perl\bin\perl.exe ./Build test -- OK Running Build install '.' is not recognized as an internal or external command, operable program or batch file. SYOHEX/Mouse-v2.4.5.tar.gz ./Build install -- NOT OK

Using Strawberry Perl C:\Windows\system32>perl -v

This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32-x64-multi-thread

RHEL i got this error cp META.json MYMETA.json cp META.yml MYMETA.yml CPAN: Module::Build loaded ok (v0.4211) Building Mouse Generate Mouse::Tiny ... done. xs-src/MouseAccessor.xs => xs-src/MouseAccessor.c xs-src/MouseAttribute.xs => xs-src/MouseAttribute.c xs-src/MouseTypeConstraints.xs => xs-src/MouseTypeConstraints.c xs-src/MouseUtil.xs => xs-src/MouseUtil.c Can't locate object method "new" via package "IO::File" (perhaps you forgot to load "IO::File"?) at /usr/local/share/perl5/Module/Build/XSUtil.pm line 111. SYOHEX/Mouse-v2.4.5.tar.gz ./Build -- NOT OK Running Build test Can't test without successful make Running Build install Make had returned bad status, install seems impossible

Been using Mouse for years and needed to update for a training session

Thanks, Jan

syohex commented 8 years ago

I cannot reproduce this issue on my Linux machine(Ubuntu 16.04). Can you install Mouse via cpan or cpanm command instead of manually installing ? If you can, then I suppose it is dependency module's issue, not Mouse issue.

syohex commented 7 years ago

I cannot reproduce on Windows too.

KnowZero commented 5 years ago

@syohex I ran into this issue on CentOS 6.9 installing on CPAN. I think the problem was that Module::Build::XSUtil was version 0.06. When I updated to latest 0.19 version, it installed without issue. Probably should add it to dependency?