Intrepid has asked for the wisdom of the Perl Monks concerning the following question:
Good Monday* Monks and Nuns. Over the weekend I sought to install the Dist::Zilla module and of course its dependencies. Previously I had tried to create a stack of the necessary modules using Pinto (and that's another story)
The message emitted by cpanm looks approximately like this ("approximately" because I tidied it up in vim):
! Installing the dependencies failed: Module 'Moose' is not installed Module 'Config::MVP::Assembler' is not installed Module 'Test::File::ShareDir' is not installed Module 'MooseX::Types' is not installed Module 'DateTime' is not installed Module 'MooseX::Types::Perl' is not installed Module 'Perl::PrereqScanner' is not installed Module 'Config::MVP::Assembler::WithBundles' is not installed Module 'Config::MVP::Reader' is not installed Module 'Config::MVP' is not installed Module 'CPAN::Uploader' is not installed Module 'MooseX::Role::Parameterized' is not installed Module 'Sub::Exporter::ForMethods' is not installed Module 'Log::Dispatchouli' is not installed Module 'namespace::autoclean' is not installed Module 'Moose::Role' is not installed Module 'File::Copy::Recursive' is not installed Module 'MooseX::Types::Moose' is not installed Module 'App::Cmd::Tester::CaptureExternal' is not installed Module 'MooseX::LazyRequire' is not installed Module 'Config::MVP::Reader::INI' is not installed Module 'Test::Fatal' is not installed Module 'Config::MVP::Reader::Finder' is not installed Module 'Moose::Util::TypeConstraints' is not installed Module 'MooseX::SetOnce' is not installed Module 'Config::MVP::Reader::Findable::ByExtension' is not installed Module 'Config::MVP::Section' is not installed Module 'App::Cmd::Command::version' is not installed Module 'App::Cmd::Tester' is not installed Module 'App::Cmd::Setup' is not installed ! Bailing out the installation for Dist-Zilla-6.037.
cpanm was invoked like this:
cpanm -v -L ~/Repositories_Perl/Dist-Zilla --self-contained Dist::Zilla
The system has these characteristics:
{flyboi linux - 6.1.0-42-686 {LMDE 6 (faye)} i686} sys data courtesy this newly-installed CPAN module
Perl is running like this:
perl-5.42.0
Built under linux
Compiled at Aug 11 2025 15:34:31
%ENV:
PERL5LIB=""
PERLBREW_HOME="/home/somian/.perlbrew"
PERLBREW_MANPATH="/home/somian/perl5/perlbrew/perls/perl-5.42.0/man"
PERLBREW_PATH="/home/somian/perl5/perlbrew/bin:/home/somian/perl5/perlbrew/perls/perl-5.42.0/bin"
PERLBREW_PERL="perl-5.42.0"
PERLBREW_ROOT="/home/somian/perl5/perlbrew"
PERLBREW_SHELLRC_VERSION="1.02"
PERLBREW_VERSION="1.02"
PERL_CPANM_OPT="--verbose --with-recommends --with-suggests --no-man-pages --cascade-search --wget --mirror http://192.168.1.7/mincpan --mirror https://cpan.metacpan.org/"
@INC:
/home/somian/perl5/perlbrew/perls/perl-5.42.0/lib/site_perl/5.42.0/i686-linux-thread-multi-64int
/home/somian/perl5/perlbrew/perls/perl-5.42.0/lib/site_perl/5.42.0
/home/somian/perl5/perlbrew/perls/perl-5.42.0/lib/5.42.0/i686-linux-thread-multi-64int
/home/somian/perl5/perlbrew/perls/perl-5.42.0/lib/5.42.0
Feb 09, 2026 at 18:05 UTC
* Monday for many but not all of you
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cpanm under PerlBrew instance chokes trying to install all these
by ikegami (Patriarch) on Feb 09, 2026 at 19:48 UTC | |
by Intrepid (Curate) on Feb 11, 2026 at 18:38 UTC | |
by ikegami (Patriarch) on Feb 12, 2026 at 03:21 UTC | |
by marto (Cardinal) on Feb 12, 2026 at 06:47 UTC |