#45951 closed defect (fixed)
p5-perl-critic: installs but does not run because of missing dependencies
Reported by: | becker@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.2 |
Keywords: | Cc: | kurthindenburg (Kurt Hindenburg) | |
Port: | p5-perl-critic |
Description
At least 3 additional packages need to be installed by hand
port install p5-email-address p5-ppix-utilities p5-lingua-en-inflect
But even then, perl-critic fails to run because of further missing dependencies
$ perlcritic-5.16 some_program.pl Couldn't require Perl::Critic::Policy::Documentation::PodSpelling : Can't locate File/ShareDir/ProjectDistDir.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.16.3/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.16.3 /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.16.3 /opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level /opt/local/lib/perl5/5.16.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.16.3/Pod/Wordlist.pm line 6. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.16.3/Pod/Wordlist.pm line 6. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.16.3/Pod/Spell.pm line 10. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.16.3/Pod/Spell.pm line 10. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic/Policy/Documentation/PodSpelling.pm line 14. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic/Policy/Documentation/PodSpelling.pm line 14. Compilation failed in require at (eval 272) line 2. at /opt/local/lib/perl5/vendor_perl/5.16.3/Module/Pluggable.pm line 32. Can't locate PPIx/Regexp.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.16.3/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.16.3 /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.16.3 /opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level /opt/local/lib/perl5/5.16.3 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl .) at /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic/Document.pm line 21. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic/Document.pm line 21. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic.pm line 19. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic.pm line 19. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.16.3/Perl/Critic/Command.pm line 230.
Installing the p5-file-sharedir port does not fix the problem.
Change History (8)
comment:1 Changed 10 years ago by becker@…
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | p5-perl-critic added |
---|---|
Summary: | perl-critic: installs but does not run because of missing dependencies → p5-perl-critic: installs but does not run because of missing dependencies |
This port has no maintainer, so someone will have to volunteer to fix this. Can you provide a patch to fix the problem?
comment:3 Changed 10 years ago by becker@…
It looks to me that it's not a matter of a simple patch to p5-perl-critic, as it depends on perl modules that are not yet available in MacPorts. Unfortunately I can't estimate how easily they could be added. At least I wanted to report, that the package seems unusable in it's current state.
comment:5 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
added the ones that are already in macports r128835
comment:6 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | new → closed |
it should work now r128873
Note: See
TracTickets for help on using
tickets.
Installing File::ShareDir::ProjectDistDir and PPIx::Regexp for instance trough cpanm solves the problem.