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? > > >
XML::Parser is the name of a perl module you need to install. I usually do that via a program called cpan -- named thusly, because it accesses the "Comprehensive Perl Archive Network" which is a well stocked and capable set of repositories (perl's biggest pearl, so to speak). You must have the cpan program installed This is a Fedora system? rpm -q perl-CPAN yum install perl-CPAN On Ubuntu, it may just be part of the main perl package To use it, type (as root) cpan install XML::Parser cpan will resolve dependencies, sometimes a lot of them it seems, and works quite well most of the time. If there are problems, you sometimes have to fetch a tarball and do the make and install by hand -- but that's somewhat rare (YMMV). The very first time you run cpan, you probably have to answer a series of questions. For all of them (except 1), you can accept the default. The _one_ is telling cpan which repository (-ies) to search. I always pick 2 or 3. I look for anything with ibiblio in the name, and maybe just guess at something that looke nearby. Good luck, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
