Subject: | missing dependency? |
Date: | Sun, 28 Aug 2011 12:38:41 -0400 |
To: | bug-Linux-Proc-Cpuinfo [...] rt.cpan.org |
From: | Tim Heaney <theaney [...] gmail.com> |
Hi. There seems to be an undocumented dependency in
Linux-Proc-Cpuinfo-0.01. After I installed Devel::CheckLib,
Linux::Proc::Cpuinfo installed fine.
$ sudo cpanm Linux::Proc::Cpuinfo
...
Can't locate Devel/CheckLib.pm
$ sudo cpanm Devel::CheckLib
...
$ sudo cpanm Linux::Proc::Cpuinfo
...
$ perl -MLinux::Proc::Cpuinfo -E 'say
Linux::Proc::Cpuinfo->new->architecture'
Intel(R) Core(TM)2 CPU T5300 @ 1.73GHz
Here is some system info, in case it matters.
$ perl -v
This is perl 5, version 14, subversion 1 (v5.14.1) built for x86_64-linux
Copyright 1987-2011, Larry Wall
Perl may be copied only under the terms of either the Artistic
License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
$ uname -a
Linux spiff 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55
UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Tim