Subject: | Missing Object::Role - also not in dependency requirements |
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Object::Stash
Writing MYMETA.yml and MYMETA.json
$ make
cp lib/Object/Stash.pm blib/lib/Object/Stash.pm
cp lib/Object/Stash/Util.pm blib/lib/Object/Stash/Util.pm
Manifying blib/man3/Object::Stash.3
Manifying blib/man3/Object::Stash::Util.3
$ make test
PERL_DL_NONLAZY=1 /pro/bin/perl5.20.0 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basic.t ........... 1/1
# Failed test 'use Object::Stash;'
# at t/01basic.t line 2.
# Tried to use 'Object::Stash'.
# Error: Base class package "Object::Role" is empty.
# (Perhaps you need to 'use' the module which defines that package first,
# or make that module available in @INC (@INC contains: /home/merijn/.cpan/build/Object-Stash-0.006-f_P_aB/blib/lib /home/merijn/.cpan/build/Object-Stash-0.006-f_P_aB/blib/arch /pro/lib/perl5/site_perl/5.20.0/x86_64-linux-thread-multi-ld /pro/lib/perl5/site_perl/5.20.0 /pro/lib/perl5/5.20.0/x86_64-linux-thread-multi-ld /pro/lib/perl5/5.20.0 .).
# at /home/merijn/.cpan/build/Object-Stash-0.006-f_P_aB/blib/lib/Object/Stash.pm line 12.
# BEGIN failed--compilation aborted at /home/merijn/.cpan/build/Object-Stash-0.006-f_P_aB/blib/lib/Object/Stash.pm line 12.
# Compilation failed in require at t/01basic.t line 2.
# BEGIN failed--compilation aborted at t/01basic.t line 2.
# Looks like you failed 1 test of 1.
t/01basic.t ........... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
$ ack -w Role
lib/Object/Stash.pm
12:use base qw/Object::Role/;
lib/Object/Stash/Util.pm
16: require Object::Role;
22:use base qw/Exporter Object::Role/;
$ grep Role *
grep: blib: Is a directory
grep: lib: Is a directory
grep: t: Is a directory
$ cpan Object::Role
CPAN: Term::ANSIColor loaded ok (v4.03)
CPAN: CPAN::SQLite loaded ok (v0.204)
CPAN: YAML::Syck loaded ok (v1.27)
Reading 3 yaml files from /home/merijn/.cpan/build/
DONE
Restored the state of none (in 0.0020 secs)
Database was generated on Fri, 12 Sep 2014 06:18:26 GMT
Warning: Cannot install Object::Role, don't know what it is.
Try the command
i /Object::Role/
to find objects with matching identifiers.