On Tue, Dec 11, 2007 at 09:45:56PM -0800, Gregory K. Ruiz-Ade wrote: > On Dec 11, 2007, at 9:15 PM, Ralph Shumaker wrote: > >> I'm having trouble with ./configure,. First, it couldn't find a C >> compiler. I went into configure.log and saw that one of the compilers it >> searched for was gcc. I yum installed that, but now it wants an >> XML::Parser perl module. 'yum list all | grep [Pp]arser | grep XML' shows >> a few possibilities. But how do I know which one to install? > > Assuming redhat/fedora/centos, you probably want something like > "perl-XML-Parser". RH and derivatives name perl modules thusly: > > XXX::YYY[::ZZZ] == perl-XXX-YYY[-ZZZ] > > So: > > $ sudo yum list available | grep -i "xml.*parser" > Password: > perl-XML-Parser.i386 2.34-6.1.2.2.1 base
Perl RPM packages also list all the modules they provide, just in case what you need isn't the top-level module. $ yum provides 'perl(XML::Parser)' perl-XML-Parser.i386 : A low level Perl module for parsing XML either via trees or streaming The install command also works with provides. $ sudo yum install 'perl(XML::Parser)' Setting up Install Process Parsing package install arguments Requested dep: perl(XML::Parser) is provided by installed package Nothing to do
pgpLv6d2EaOaq.pgp
Description: PGP signature
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
