Re: perl error on CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Rogelio wrote:
> when i type 'perl perlscript.pl, I get the following error
> 
> Can't locate version.pm in @INC (@INC contains:

[root@shutdown result]# yum provides "version.pm"
perl-version.x86_64                      0.74-1.el5.rf          rpmforge        
Matched from:
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/version.pm

Looks like it is in rpmforge (see
<http://wiki.centos.org/Repositories>).

> What do I need to do to configure my perl environment?  I typed in CPAN and
> "install Bundles::CPAN" and it seemed to install everything, but on line 29
> of the perl script, it has a problem with the line

Using CPAN isn't quite as good of an idea as it seems - it tends to a)
install newer versions of perl and b) the packaging system has no idea
about files installed via CPAN.

The rpmforge repository (see above) has packaged quite a few perl
modules, so I'd suggest to use that:

[angenenr@shutdown ~]$yum --disablerepo=\* --enablerepo=rpmforge list "perl*"|wc -l
2179

Cheers,

Ralph

Attachment: pgp59ILgcmywU.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux