[CentOS] perl
David G. Miller
dave at davenjudy.org
Thu Aug 21 13:46:38 UTC 2008
"Mad Unix" <madunix at gmail.com> wrote:
> Am trying to install perl module "File::Find", but not able it gave the
> following
>
> cpan[1]> install File::Find
> CPAN: Storable loaded ok (v2.15)
> Going to read /root/.cpan/Metadata
> Database was generated on Thu, 21 Aug 2008 02:03:21 GMT
> Running install for module 'File::Find'
> The most recent version "1.12" of the module "File::Find"
> is part of the perl-5.10.0 distribution. To install that, you need to run
> force install File::Find --or--
> install R/RG/RGARCIA/perl-5.10.0.tar.gz
> CPAN: Time::HiRes loaded ok (v1.9715)
> Running make test
> Can't test without successful make
> Running make install
> Make had returned bad status, install seems impossible
> Failed during this command:
> RGARCIA/perl-5.10.0.tar.gz : make NO isa perl
>
>
> cpan[2]> quit
> Lockfile removed.
> [root at PowerEdge1 ftpsync-1.2.33]# perl -version
>
> This is perl, v5.8.8 built for x86_64-linux-thread-multi
>
> Copyright 1987-2006, 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.
That is just cpan's user friendly way of telling you that File:Find is
already installed:
[dave at bend ~]# rpm -q --whatprovides /usr/lib/perl5/5.8.8/File/Find.pm
perl-5.8.8-10.el5_2.3
The command "man File::Find" should succeed and provide you with the man
page.
Cheers,
Dave
--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce
More information about the CentOS
mailing list