Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 225357 - CPANPLUS needs Module::Pluggable for configuration
Summary: CPANPLUS needs Module::Pluggable for configuration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-CPANPLUS
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Steven Pritchard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-30 03:01 UTC by Ian Burrell
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-30 16:10:47 UTC


Attachments (Terms of Use)

Description Ian Burrell 2007-01-30 03:01:19 UTC
The current version (0.076-1) of perl-CPANPLUS needs Module::Pluggable for the
initial configuration.  After just installing perl-CPANPLUS, I get following
error message when running "cpanp".

Can't locate Module/Pluggable.pm in @INC (@INC contains: /root/.cpanplus/lib
/usr/lib/perl5/site
_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/
lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thre
ad-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/
5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i
386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/v
endor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-mult
i /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5
.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux
-thread-multi /usr/lib/perl5/5.8.8 .) at
/usr/lib/perl5/vendor_perl/5.8.8/CPANPLUS/Configure.pm 
line 135.
BEGIN failed--compilation aborted at /usr/bin/cpanp line 14.

It looks like Module::Pluggable is loaded dynamically which is why it isn't
included in the automatic requires list.  My impression is that this is only
needed for initial configuration.  If CPANPLUS is already configured, it works
fine.  Since Module::Pluggable is available in Extras, it would probably be best
to add an explicit Requires.

Comment 1 Steven Pritchard 2007-01-30 15:41:28 UTC
I'm building now with that and a couple of other missing explicit dependencies 
added.


Note You need to log in before you can comment on or make changes to this bug.