Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 29291
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: frag [...] ripco.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.076
Fixed in: 1.077



Subject: perl Makefile.PL dies in 1.076
I get this error, both in CPAN shell and command line: # perl Makefile.PL Can't locate Readonly.pm in @INC (@INC contains: [...snip...]) at lib/Perl/Critic/Utils.pm line 15. BEGIN failed--compilation aborted at lib/Perl/Critic/Utils.pm line 15. Compilation failed in require at Makefile.PL line 21. BEGIN failed--compilation aborted at Makefile.PL line 21. I [snipped] out the paths in @INC because Readonly.pm was indeed not on the system. But since the 'perl Makefile.PL' stage dies, the CPAN shell never even gets to running 'make', which would be the point where it would try to pull that module in as a prereq. So the problems is having the Makefile.PL do use Perl::Critic::Utils qw< :characters >; and having lib/Perl/Critic/Utils.pm do use Readonly; which causes the die. I've installed Readonly by hand, and the problem then goes away. This is perl 5.8.5 on RHEL4.
From: ELLIOTJS [...] cpan.org
Whoops. I'll put that into the build requirements.
On Mon Sep 10 22:42:50 2007, ELLIOTJS wrote: Show quoted text
> Whoops. I'll put that into the build requirements.
I'm seeing the same problem. Any chance this could be fixed? The version on CPAN won't install cleanly atm.
On Thu Sep 13 12:19:31 2007, MARKF wrote: Show quoted text
> On Mon Sep 10 22:42:50 2007, ELLIOTJS wrote:
> > Whoops. I'll put that into the build requirements.
While you're at it, you're missing B::Keywords as well.... Mark.
From: ELLIOTJS [...] cpan.org
All of this should be fixed in 1.077.
This is fixed in version 1.077