Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: chm [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.003010
  • 1.003011
Fixed in: (no value)



Subject: missing dependencies for Completion plugins: INC and Keywords
I just did a clean install with the cpan shell of Devel::REPL on a windows box under cygwin 1.7.5 and for strawberry perl portable 5.10.1.2. To my surprise, when I finished, I had failures on load of my Perldl2 profile due to two missing dependencies: File::Next used by CompletionDriver::INC B::Keywords used by CompletionDriver::Keywords After manually 'cpan File::Next B::Keywords' then everything works ok. The puzzle is that META.yml has both modules listed as requirements so I don't know why they weren't pulled in as missing dependencies. Haven't had time to look through the build configuration stuff but this needs to be resolved. I've added additional tests to the t/load_core.t for all the plugins and completions to catch this more formally.
I'm not familiar with Module::Install but it looks like the two dependencies are specified, I don't know why they weren't installed. Perhaps it is a bug in Module::Install. The version in Devel::REPL is 0.91 but CPAN shows version 0.99 available. Maybe the latest version has a fix.... On Thu Jun 10 13:43:01 2010, CHM wrote: Show quoted text
> I just did a clean install with the cpan shell > of Devel::REPL on a windows box under cygwin > 1.7.5 and for strawberry perl portable 5.10.1.2. > > To my surprise, when I finished, I had failures > on load of my Perldl2 profile due to two missing > dependencies: > > File::Next used by CompletionDriver::INC > B::Keywords used by CompletionDriver::Keywords
On Thu Jun 10 21:56:56 2010, CHM wrote: Show quoted text
> I'm not familiar with Module::Install but it looks > like the two dependencies are specified, I don't > know why they weren't installed. Perhaps it is a > bug in Module::Install. The version in Devel::REPL > is 0.91 but CPAN shows version 0.99 available. > Maybe the latest version has a fix....
Taking another look at the problem and it appears to be a result of the use of default settings for various plugins. This can be a surprise if one wishes to install Devel::REPL along with its plugins since, by default, it actually won't build or install all of the plugins. If you then try to load them later, you will discover that 'cpan Devel::REPL' did not. At the least this is a documentation bug in the INSTALL instructions. It would be nice if there were less surprising behavior from the Devel::REPL install process.
From: oylenshpeegul
I just had the same issue when installing Devel::REPL in Perl 5.16.0 on Linux. I installed File::Next and B::Keywords and now all is well.
On Tue May 22 04:34:05 2012, oylenshpeegul wrote: Show quoted text
> I just had the same issue when installing Devel::REPL in Perl 5.16.0 on > Linux. > > I installed File::Next and B::Keywords and now all is well.
$ perl -MDevel::REPL -E 'say Devel::REPL->VERSION' 1.003013
Fixed in 1.003015.