View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007417||CentOS-7||perl-CPAN-Meta-Requirements||public||2014-07-22 14:42||2014-07-23 05:49|
|Summary||0007417: Missing perl-Time-HiRes requirement|
|Description||perl-Time-HiRes seems to be a missing requirement when configuring cpan for the first time.|
[root@centos7 ~]# cpan
Sorry, we have to rerun the configuration dialog for CPAN.pm due to
some missing parameters. Configuration will be written to
CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.
Would you like to configure as much as possible automatically? [yes]
Warning: You do not have write permission for Perl library directories.
To install modules, you need to configure a local Perl library directory or
escalate your privileges. CPAN can help you by bootstrapping the local::lib
module or by configuring itself to use 'sudo' (if available). You may also
resolve this problem manually if you need to customize your setup.
What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
Autoconfigured everything but 'urllist'.
Now you need to choose your CPAN mirror sites. You can let me
pick mirrors for you, you can select them from a list or you
can enter them by hand.
Would you like me to automatically choose some CPAN mirror
sites for you? (This means connecting to the Internet) [yes]
Looking for CPAN mirrors near you (please be patient)
Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /root) at /usr/share/perl5/Net/Ping.pm line 313.
|Steps To Reproduce||1) Install a minimal CentOS 7 from the DVD installer|
2) Run yum install perl-YAML perl-CPAN-DistnameInfo perl-Test-Mock-LWP gcc-c++ cpan (only an example, but this is what I was running)
3) Run the "cpan" command from the shell
4) Accept all defaults; this the pasted output from the description
|Tags||No tags attached.|
|I've been able to duplicate the problem myself. Please be as kind as to go to bugzilla.redhat.com and file a bug over there, crosslinking it to this bug ( 7417). CentOS simply replicates bug-for-bug what RHEL ships so we cannot fix this before RH fixes it.|
|Done, it is filed under https://bugzilla.redhat.com/show_bug.cgi?id=1122368|