Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: randomcoder1 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: dependency to namespace::clean inside Makefile.PL needs a version
Hi, So I just had some problems installing Devel::REPL. I fixed the problem on my system by installing namespace::clean 0.20 (the latest on CPAN at the time of writing this), it seems that I had a previous version and that caused some problems, let me explain. Devel/REPL.pm has a 2 lines of code like: use Moose; use namespace::clean -except => [ qw(meta) ]; this would basically remove the with/has subs which were implemented in Moose. Currently Devel::REPL's Makefile.PL has requires 'namespace::clean'; I would suggest that this be changed to requires 'namespace::clean' => '0.20' ; That's all. -- Your bugs , they are afraid of me.
Thanks for investigating.  I took a look at my working
Devel::REPL install and I was using namespace::clean
version 0.17.  I think the issue here may instead be
connected to some of the other dependencies and their
prerequisites as compared with those specific
to Devel::REPL.

I've had issues myself with installing Devel::REPL
via cpan and they were almost always fixed by hand
installs of the required dependencies.  Other than
finding it frustrating, I'm not sure how to go about
fixing the problems with so many module prereqs.

Maybe others with more experience will chime in.

--Chris

On Thu Apr 28 07:19:41 2011, WSDOOKADR wrote:
Show quoted text
>
> So I just had some problems installing Devel::REPL.
> I fixed the problem on my system by installing namespace::clean 0.20
> (the latest on CPAN at the time of writing this), it seems that I had a
> previous version and that caused some problems, let me explain.
>
> Devel/REPL.pm has a 2 lines of code like:
>
> use Moose;
> use namespace::clean -except => [ qw(meta) ];
>
> this would basically remove the with/has subs which were implemented in
> Moose.
>
> Currently Devel::REPL's Makefile.PL has
>
> requires 'namespace::clean';
>
> I would suggest that this be changed to
>
> requires 'namespace::clean' => '0.20' ;
>
> That's all.


An additional note of caution: I upgraded to namespace::clean
version 0.20 to check this out.  The cpan shell pulled in/updated
some other prerequisites which somehow pulled in the newest
version of Moose.  That failed tests.

I tried to revert but the packaging has changed for Class::MOP
(it is now in the Moose distribution) and it took quite a while
to find a consistent set of the older releases that would let
things work again!  It would have been simpler if there were
a way to search BackPAN by module names.

On Thu Apr 28 17:30:05 2011, CHM wrote:
Show quoted text
> Thanks for investigating. I took a look at my working
> Devel::REPL install and I was using namespace::clean
> version 0.17. I think the issue here may instead be
> connected to some of the other dependencies and their
> prerequisites as compared with those specific
> to Devel::REPL.
>
> I've had issues myself with installing Devel::REPL
> via cpan and they were almost always fixed by hand
> installs of the required dependencies. Other than
> finding it frustrating, I'm not sure how to go about
> fixing the problems with so many module prereqs.
>
> Maybe others with more experience will chime in.
>
> --Chris
>
> On Thu Apr 28 07:19:41 2011, WSDOOKADR wrote:
> >
> > So I just had some problems installing Devel::REPL.
> > I fixed the problem on my system by installing namespace::clean 0.20
> > (the latest on CPAN at the time of writing this), it seems that I had a
> > previous version and that caused some problems, let me explain.
> >
> > Devel/REPL.pm has a 2 lines of code like:
> >
> > use Moose;
> > use namespace::clean -except => [ qw(meta) ];
> >
> > this would basically remove the with/has subs which were implemented in
> > Moose.
> >
> > Currently Devel::REPL's Makefile.PL has
> >
> > requires 'namespace::clean';
> >
> > I would suggest that this be changed to
> >
> > requires 'namespace::clean' => '0.20' ;
> >
> > That's all.


We're now using namespace::autoclean; this should be fixed now.