in reply to Moose failed to install on mac 10.6.7

Thanks. I think I have to install the developer tools.
  • Comment on Re: Moose failed to install on mac 10.6.7

Replies are listed 'Best First'.
Re^2: Moose failed to install on mac 10.6.7
by marto (Cardinal) on Jun 16, 2011 at 11:15 UTC

    Yes it's shipped with the developer tools, which I believe will is a huge download these days. fink may be an alternative worth investigating if you only want specific packages.

Re^2: Moose failed to install on mac 10.6.7
by Khen1950fx (Canon) on Jun 16, 2011 at 10:02 UTC
    After you install the developer tools, you can check your cpan configuration for make.
    cpan> o conf make
    On my system, it returns
    make [/usr/bin/make]
    Make sure that it's the correct path to make.

    As regards configure_requires, it's a META.yml field used by the most recent perls. Moose uses it but in a META.json format. Using Dist::CheckConflicts, it checks whether the prerequisites are installed and are uptodate. Here's the script that you need to run before you try to install Moose:

    #!/usr/bin/perl use strict; use warnings; use Dist::CheckConflicts -dist => 'Moose', -conflicts => { 'Catalyst' => '5.80028', 'Devel::REPL' => '1.003008', 'Fey' => '0.36', 'Fey::ORM' => '0.34', 'File::ChangeNotify' => '0.15', 'KiokuDB' => '0.49', 'Markdent' => '0.16', 'MooseX::Aliases' => '0.07', 'MooseX::AlwaysCoerce' => '0.05', 'MooseX::Attribute::Deflator' => '1.130000', 'MooseX::Attribute::Dependent' => '1.0.0', 'MooseX::Attribute::Prototype' => '0.10', 'MooseX::AttributeHelpers' => '0.22', 'MooseX::AttributeInflate' => '0.02', 'MooseX::ClassAttribute' => '0.17', 'MooseX::FollowPBP' => '0.02', 'MooseX::HasDefaults' => '0.02', 'MooseX::InstanceTracking' => '0.04', 'MooseX::LazyRequire' => '0.05', 'MooseX::MethodAttributes' => '0.22', 'MooseX::NonMoose' => '0.15', 'MooseX::POE' => '0.205', 'MooseX::Params::Validate' => '0.05', 'MooseX::Role::Cmd' => '0.06', 'MooseX::Role::WithOverloading' => '0.07', 'MooseX::SemiAffordanceAccessor' => '0.05', 'MooseX::Singleton' => '0.24', 'MooseX::StrictConstructor' => '0.08', 'MooseX::Types' => '0.19', 'MooseX::UndefTolerant' => '0.04', 'Pod::Elemental' => '0.093280', 'namespace::autoclean' => '0.08', }, -also => [ qw( Data::OptList Devel::GlobalDestruction Eval::Closure List::MoreUtils MRO::Compat Package::DeprecationManager Package::Stash Package::Stash::XS Params::Util Scalar::Util Sub::Exporter Sub::Name Task::Weaken Try::Tiny ) ]; __PACKAGE__->check_conflicts;