Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [CentOS] why type "perl -MCPAN -e shell" -> "install XML::Simple" on CentOS 5?

From: Rogelio <scubacuda(at)gmail.com>
Date: Tue Oct 30 2007 - 15:54:45 EDT


On 10/30/07, Jim Perrin <jperrin@gmail.com> wrote:
> On 10/30/07, Rogelio <scubacuda@gmail.com> wrote:
> > I'm running nmap2nagios.pl, and I notice that on CentOS 5, I had to
> > run the following to get it working (when I didn't have to do the same
> > on CentOS 4)
> >
> > perl -MCPAN -e shell
> > (answer questions)
> > > install XML::Simple
> >
> > Why is that?
>
> Because for some insane reason you chose to go about things the hard
> (and potentially dangerous) way instead of 'yum install
> perl-XML-Simple' from the base repository.

Actually, I did install it that way, and for whatever reason, it wasn't working, so I googled, and someone suggested doing it that way.

I'm wondering if perhaps this is because there was a package conflict when I enabled the DAG / RPMforge repository? When I did an "rpm -qa | grep perl", all of those packages were enabled. To be sure, I did a "yum install perl-*" and grabbed everything. Still nothing, so I did it manually.

(This is a test box, fortunately)



CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos Received on Tue Oct 30 15:55:17 2007

This archive was generated by hypermail 2.1.8 : Fri Jul 04 2008 - 01:15:55 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library