marvi has asked for the wisdom of the Perl Monks concerning the following question:

Solved it! I had some old environment variables for Perl libraries.

Hi, it feels strange coming back to Perlmonks after all these years, but also very fun to see what I remember from my Perl days.

I'm trying to install Catalyst::Devel 1.39 on my Mac. I just installed Perlbrew (very nice change from last time fighting with dependencies in vendor Perl install) and cpanm.

perlbrew install perl-5.18.4 perlbrew switch perl-5.18.4 perlbrew install-cpanm cpanm Catalyst::Devel
I get a bunch of failed dependencies:
! Installing the dependencies failed: Module 'Module::Install' is not +installed, Module 'Catalyst::Plugin::Static::Simple' is not installed +, Module 'MooseX::Emulate::Class::Accessor::Fast' is not installed, M +odule 'Catalyst::Action::RenderView' is not installed, Module 'Cataly +st::Plugin::ConfigLoader' is not installed, Module 'MooseX::Daemonize +' is not installed, Module 'Starman' is not installed, Module 'Test:: +Fatal' is not installed, Module 'Template' is not installed, Module ' +namespace::clean' is not installed, Module 'Config::General' is not i +nstalled, Module 'namespace::autoclean' is not installed, Module 'Fil +e::ShareDir' is not installed, Module 'File::Copy::Recursive' is not +installed, Module 'Path::Class' is not installed, Module 'Catalyst' i +s not installed, Module 'File::ChangeNotify' is not installed, Module + 'Moose' is not installed ! Bailing out the installation for Catalyst-Devel-1.39. 46 distributions installed
Anyone know what might be the issue?

Replies are listed 'Best First'.
Re: Installing Catalyst::Devel
by jeffa (Bishop) on Sep 23, 2015 at 17:15 UTC

    Is this a brand new perlbrew intsall? Did you source the config file and/or ensure it is in your .bashrc or .bash_profile?

    source ~/perl5/perlbrew/etc/bashrc

    I was unable to recreate your issue, but i can only test on Ubuntu right now, not Mac:
    Building Catalyst-Devel-1.39 ... OK Successfully installed Catalyst-Devel-1.39 90 distributions installed
    That is one heck of a tool chain! :)

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)
    

      Brand new and yes, I sourced.

Re: Installing Catalyst::Devel
by Anonymous Monk on Sep 23, 2015 at 22:09 UTC

    Anyone know what might be the issue?

    You have to read the build log to find out, what you posted is merely a summary of things that didn't get installed

      It was very confusing. One line said something like "Module Foo::Bar installed successfully" and the next line was "missing module Foo::Bar".

      Turns out I had some old variables in my env I needed to remove. Back to coding.