Subject: | bug at line 117? |
Date: | Sat, 3 Aug 2013 18:08:20 -0400 |
To: | bug-Catalyst-Plugin-Static-Simple [...] rt.cpan.org |
From: | Alexander Paciorkowski <shuraski [...] gmail.com> |
Hello,
When attempting to install Catalyst::Plugin::Static::Simple on Slackware
14.0, Perl 5.16.1 via cpan I encounter this problem:
bash-4.2$ sudo perl -MCPAN -e 'install Catalyst::Plugin::Static::Simple'
Reading '/root/.cpan/Metadata'
Database was generated on Sat, 03 Aug 2013 14:17:03 GMT
Running install for module 'Catalyst::Plugin::Static::Simple'
Running make for A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple-0.30.tar.gz
Checksum for
/root/.cpan/sources/authors/id/A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple-0.30.tar.gz
ok
CPAN.pm: Building A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple-0.30.tar.gz
Cannot determine perl version info from lib/Catalyst/Plugin/Static/Simple.pm
*** Module::AutoInstall version 1.06
*** Checking for Perl dependencies...
*** Since we're running under CPAN, I'll just let it take care
of the dependency's installation later.
[Core Features]
- Test::More ...loaded. (0.98)
- Catalyst::Runtime ...loaded. (5.90042 >= 5.80008)
- MIME::Types ...loaded. (2.00 >= 1.25)
- Test::More ...loaded. (0.98)
- Moose ...loaded. (2.1004)
- MooseX::Types ...loaded. (0.36)
- namespace::autoclean ...loaded. (0.13)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for Catalyst::Plugin::Static::Simple
Writing MYMETA.yml and MYMETA.json
cp lib/Catalyst/Plugin/Static/Simple.pm
blib/lib/Catalyst/Plugin/Static/Simple.pm
Manifying blib/man3/Catalyst::Plugin::Static::Simple.3
ABRAXXA/Catalyst-Plugin-Static-Simple-0.30.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.16.1 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01use.t t/04static.t
t/05dirs.t t/06include_path.t t/07mime_types.t t/08subreq.t
t/09ignore_ext.t t/10ignore_dirs.t t/11serve_static.t
t/12check_error_scope.t t/20debug.t
t/01use.t ................ ok
t/04static.t ............. Can't locate object method "create_type_index"
via package "MIME::Types" at
/root/.cpan/build/Catalyst-Plugin-Static-Simple-0.30-yfZ4mJ/blib/lib/Catalyst/Plugin/Static/Simple.pm
line 117.
Compilation failed in require at /usr/local/share/perl5/Catalyst/Test.pm
line 154.
///
Line 117 reads:
$config->{mime_types_obj}->create_type_index;
///
It appears create_type_index cannot be evaluated. Is there another
dependency I might be missing? I have checked all dependencies of
Catalyst::Plugin::Static::Simple on CPAN, and all are up to date.
Regards,
ARP