Skip Menu |

This queue is for tickets about the Devel-REPL CPAN distribution.

Report information
The Basics
Id: 88615
Status: resolved
Priority: 0/
Queue: Devel-REPL

People
Owner: ether [...] cpan.org
Requestors: abraxxa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.003022
Fixed in: 1.003023



Subject: missing dependencies
Just installed Devel::REPL on my Perl 5.18.1 and had the following issues: Failed to load role: Devel::REPL::Plugin::LexEnv Can't locate Lexical/Persistence.pm in @INC After installing it: Failed to load role: Devel::REPL::Plugin::DDS Can't locate Data/Dump/Streamer.pm in @INC After installing that it worked fine. Might be a problem with the fixes from the last version.
On 2013-09-11 09:38:04, ABRAXXA wrote: Show quoted text
> Just installed Devel::REPL on my Perl 5.18.1 and had the following > issues: > > Failed to load role: Devel::REPL::Plugin::LexEnv Can't locate > Lexical/Persistence.pm in @INC > > After installing it: > > Failed to load role: Devel::REPL::Plugin::DDS Can't locate > Data/Dump/Streamer.pm in @INC > > After installing that it worked fine. > > Might be a problem with the fixes from the last version.
Optional features are no longer installed by default, but if you install using 'cpanm --interactive ...' you will be prompted about installing support for these features. This was a necessary side effect of moving away from packaging the distribution with Module::Install, but this should be made more clear in the docs; I'll add a section about installing prereqs.
Am Mi 11. Sep 2013, 13:05:38, ETHER schrieb: Show quoted text
> On 2013-09-11 09:38:04, ABRAXXA wrote:
> > Just installed Devel::REPL on my Perl 5.18.1 and had the following > > issues: > > > > Failed to load role: Devel::REPL::Plugin::LexEnv Can't locate > > Lexical/Persistence.pm in @INC > > > > After installing it: > > > > Failed to load role: Devel::REPL::Plugin::DDS Can't locate > > Data/Dump/Streamer.pm in @INC > > > > After installing that it worked fine. > > > > Might be a problem with the fixes from the last version.
> > > Optional features are no longer installed by default, but if you > install using 'cpanm --interactive ...' you will be prompted about > installing support for these features. > > This was a necessary side effect of moving away from packaging the > distribution with Module::Install, but this should be made more clear > in the docs; I'll add a section about installing prereqs.
I installed using cpanm Devel::REPL. In case this doesn't install optional features, which is fine for me, why did re.pl fail with the posted errors?
Subject: Re: [rt.cpan.org #88615] missing dependencies
Date: Wed, 11 Sep 2013 11:54:56 -0700
To: Alexander Hartmaier via RT <bug-Devel-REPL [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Wed, Sep 11, 2013 at 02:12:37PM -0400, Alexander Hartmaier via RT wrote: Show quoted text
> I installed using cpanm Devel::REPL. In case this doesn't install optional features, which is fine for me, why did re.pl fail with the posted errors?
I assume you're not using a custom profile (you're not using the --profile option, or setting DEVEL_REPL_PROFILE)? It looks like the Default profile includes LexEnv, which isn't available without installing one of the optional features. Since LexEnv is quite useful, it probably makes more sense to make this plugin non-optional (which adds another prereq, Lexical::Persistence), rather than removing LexEnv from the Default profile. (Authors: please speak up if my assumption is wrong.) I'll push out another release tonight. thanks for the report!
[@Author::ETHER/UploadToCPAN] POSTing upload for Devel-REPL-1.003023.tar.gz to https://pause.perl.org/pause/authenquery [@Author::ETHER/UploadToCPAN] PAUSE add message sent ok [200]
To clarify -- the default profile is now 'Minimal', which does not require any optional features. The 'Default' profile, previously the default, is now called 'Standard' - you can use different profiles via an rc file, or setting an environment variable (or writing your own repl script that calls a different profile).