Subject: | install_share broken, $self->module_name empty |
After upgrading to 0.73/74, install_share no longer completes, but
instead dies with this message:
include inc/Module/Install/Share.pm
For File::ShareDir::dist_dir to work, the module and distribution names
much match at /Library/Perl/5.8.6/Module/Install/Share.pm line 26.
Form the code, $name/$self->name is the name from Makefile.pl, but
$self->module_name is undefined after an all_from call.
Makefile.PL attached.
Subject: | Makefile.PL |
# $Id: /local/CPAN/Mango/Makefile.PL 1644 2008-06-02T01:46:53.055259Z claco $
use strict;
use warnings;
use inc::Module::Install 0.65;
use File::Spec;
name 'Mango';
license 'perl';
perl_version '5.008001';
all_from 'lib/Mango.pm';
requires 'Catalyst::Action::RenderView';
requires 'Catalyst::Action::REST' => '0.60';
requires 'Catalyst::Component::ACCEPT_CONTEXT' => '0.05';
requires 'Catalyst::Devel' => '1.02';
requires 'Catalyst::Plugin::Authentication' => '0.09999';
requires 'Catalyst::Plugin::Authentication::Credential::HTTP';
requires 'Catalyst::Plugin::Authorization::Roles';
requires 'Catalyst::Plugin::Cache';
requires 'Catalyst::Plugin::ConfigLoader';
requires 'Catalyst::Plugin::Session';
requires 'Catalyst::Plugin::Session::State::Cookie';
requires 'Catalyst::Plugin::Session::Store::File';
requires 'Catalyst::Plugin::Static::Simple';
requires 'Catalyst::Runtime' => '5.7012';
requires 'Catalyst::View::TT';
requires 'CGI::FormBuilder';
requires 'Class::Accessor::Grouped' => '0.06000';
requires 'Class::Inspector';
requires 'Class::Workflow';
requires 'Clone' => '0.27';
requires 'DateTime';
requires 'DBIx::Class' => '0.08008';
requires 'Error';
requires 'File::ShareDir';
requires 'FormValidator::Simple' => '0.17';
requires 'Handel' => '1.00011';
requires 'HTML::TagCloud::Sortable';
requires 'I18N::LangTags';
requires 'I18N::LangTags::Detect';
requires 'List::MoreUtils';
requires 'Locale::Maketext';
requires 'MIME::Types';
requires 'Module::Starter' => '1.42';
requires 'Path::Class';
requires 'Scalar::Util';
requires 'Set::Scalar';
requires 'SQL::Translator' => '0.08';
requires 'URI';
requires 'XML::Atom' => '0.27';
requires 'XML::Feed' => '0.12';
requires 'XML::RSS' => '1.31';
requires 'YAML';
build_requires 'Directory::Scratch';
test_requires 'Test::Class';
test_requires 'Test::More';
test_requires 'Test::WWW::Mechanize::Catalyst';
catalyst;
tests('t/*.t t/*/*.t');
clean_files('t/var');
install_script glob('script/*.pl');
install_share;
eval {
my $source = File::Spec->catfile('lib', 'Mango.pm');
system "pod2text $source > README";
};
auto_install;
WriteAll;