Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mouse CPAN distribution.

Report information
The Basics
Id: 42953
Status: resolved
Priority: 0/
Queue: Mouse

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

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



Subject: missing dependency in Mouse 0.14
Date: Sun, 1 Feb 2009 19:44:54 +0200
To: bug-Mouse [...] rt.cpan.org
From: Heikki Lehvaslaiho <heikki.lehvaslaiho [...] gmail.com>
Download (untitled) / with headers
text/plain 849b
I just installed Mouse 0.14 using CPAN on a system without Moose. When I tried to use Mouse::Role, I got this error message: Can't locate Class/Method/Modifiers.pm in @INC (@INC contains: /home/heikki/src/bioperl-live /home/heikki/src/bioperl-run /home/heikki/src/bioperl-db pedigree /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.10.0/Mouse/Meta/Class.pm line 186. Show quoted text
cpan> install Class::Method::Modifiers
fix it. Looks like simple missing dependency in Mouse to me. This is perl, v5.10.0 built for i486-linux-gnu-thread-multi Linux cetus 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux Ubuntu 08.10 Cheers, -- -Heikki Heikki Lehvaslaiho - heikki lehvaslaiho gmail com
Subject: Re: [rt.cpan.org #42953] AutoReply: missing dependency in Mouse 0.14
Date: Sun, 1 Feb 2009 20:54:04 +0200
To: bug-Mouse [...] rt.cpan.org
From: Heikki Lehvaslaiho <heikki.lehvaslaiho [...] gmail.com>
OK. Sorry. After reading a bit more of the documentation, I understand that you intentionally left out Class::Method::Modifiers from the dependencies and that you want to do that to keep dependencies as small as possible. I am not quite sure I agree with this. Either include the Class::Method::Modifiers module by default or catch the error to report something else than the default "Can't locate ...", please. -Heikki 2009/2/1 Bugs in Mouse via RT <bug-Mouse@rt.cpan.org>: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "missing dependency in Mouse 0.14", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #42953]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=42953 > > Please include the string: > > [rt.cpan.org #42953] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Mouse@rt.cpan.org > > ------------------------------------------------------------------------- > I just installed Mouse 0.14 using CPAN on a system without Moose. When > I tried to use Mouse::Role, I got this error message: > > Can't locate Class/Method/Modifiers.pm in @INC (@INC contains: > /home/heikki/src/bioperl-live /home/heikki/src/bioperl-run > /home/heikki/src/bioperl-db pedigree /etc/perl > /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 > /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 > /usr/local/lib/site_perl .) at > /usr/local/share/perl/5.10.0/Mouse/Meta/Class.pm line 186. > >
> cpan> install Class::Method::Modifiers
> > fix it. > > > Looks like simple missing dependency in Mouse to me. > > > This is perl, v5.10.0 built for i486-linux-gnu-thread-multi > Linux cetus 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux > Ubuntu 08.10 > > > Cheers, > -- > -Heikki > Heikki Lehvaslaiho - heikki lehvaslaiho gmail com >
Download (untitled) / with headers
text/plain 620b
Hi Heikki, On Sun Feb 01 13:54:50 2009, heikki.lehvaslaiho@gmail.com wrote: Show quoted text
> After reading a bit more of the documentation, I understand that you > intentionally left out Class::Method::Modifiers from the dependencies > and that you want to do that to keep dependencies as small as > possible. > > I am not quite sure I agree with this. Either include the > Class::Method::Modifiers module by default or catch the error to > report something else than the default "Can't locate ...", please.
I've made the error message more informative in Mouse 0.16 since it's easy to forget to list the dependency. Thanks! Shawn


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.