[CentOS] why type "perl -MCPAN -e shell" -> "install XML::Simple" on CentOS 5?
Rogelio
scubacuda at gmail.com
Tue Oct 30 19:54:45 UTC 2007
On 10/30/07, Jim Perrin <jperrin at gmail.com> wrote:
> On 10/30/07, Rogelio <scubacuda at 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)
More information about the CentOS
mailing list