Subject: | Unable to build on Mac OS X 10.7 |
Unable to build this module on Mac OS. Does not compile. (Runs fine on Linux however)
Fails with CPAN or building from source. I've tried building .6 and .10.
Here are the results of make:
$ make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'inc', 'blib/lib', 'blib/arch')" t/01_basic.t
t/01_basic.t .. 1/28
# Failed test 'use MooseX::Types::DateTimeX;'
# at t/01_basic.t line 14.
# Tried to use 'MooseX::Types::DateTimeX'.
# Error: Bareword "MooseX::Types::DateTime::ButMaintained::DateTime" not allowed while
"strict subs" in use at /usr/local/src/MooseX-Types-DateTimeX-
0.10/blib/lib/MooseX/Types/DateTimeX.pm line 18.
# Bareword "MooseX::Types::DateTime::ButMaintained::Duration" not allowed while "strict subs"
in use at /usr/local/src/MooseX-Types-DateTimeX-
0.10/blib/lib/MooseX/Types/DateTimeX.pm line 24.
# Compilation failed in require at (eval 911) line 2.
# BEGIN failed--compilation aborted at (eval 911) line 2.
Attempt to reload MooseX/Types/DateTimeX.pm aborted.
Compilation failed in require at t/01_basic.t line 40.
BEGIN failed--compilation aborted at t/01_basic.t line 40.
# 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
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.
Files=1, Tests=1, 16 wallclock secs ( 0.03 usr 0.01 sys + 0.82 cusr 0.11 csys = 0.97 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
make: *** [test_dynamic] Error 255