Skip to content

Instantly share code, notes, and snippets.

@grantm
Created July 13, 2012 11:49
Show Gist options
  • Save grantm/3104491 to your computer and use it in GitHub Desktop.
Save grantm/3104491 to your computer and use it in GitHub Desktop.
Test failure installing Pithub from CPAN
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/live/*.t
t/basic.t ............... 1/?
# Failed test 'use Pithub;'
# at t/basic.t line 8.
# Tried to use 'Pithub'.
# Error: Invalid default 0 at /usr/local/share/perl/5.10.1/Method/Generate/Accessor.pm line 49.
# Compilation failed in require at /home/grant/.cpan/build/Pithub-0.01012-akcvbg/blib/lib/Pithub/Base.pm line 14.
# BEGIN failed--compilation aborted at /home/grant/.cpan/build/Pithub-0.01012-akcvbg/blib/lib/Pithub/Base.pm line 14.
# Compilation failed in require at /usr/local/share/perl/5.10.1/Module/Runtime.pm line 317.
# Compilation failed in require at /home/grant/.cpan/build/Pithub-0.01012-akcvbg/blib/lib/Pithub.pm line 9.
# BEGIN failed--compilation aborted at /home/grant/.cpan/build/Pithub-0.01012-akcvbg/blib/lib/Pithub.pm line 9.
# Compilation failed in require at (eval 50) line 2.
# BEGIN failed--compilation aborted at (eval 50) line 2
@grantm
Copy link
Author

grantm commented Jul 13, 2012

Fix should be in next release of Pithub (0.01013).

Moo now requires defaults to be subs - this was changed after Pithub was released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment