On Wed, Dec 27, 2006 at 12:46:46AM +1030, Tim wrote: > Tim: > > > > Anyway, the fix for this one is simple, install perl-Archive-Tar. > > Hmm, well that fixes the installation on FC5. FC6 has a different > error: > > Can't locate LWP/UserAgent.pm in @INC (@INC > contains: /usr/lib/perl5/vendor_perl /5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/s ite_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux -thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/pe rl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/ lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_per l/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thr ead-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl 5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7 /us r/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/ve ndor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/bin/sa-update line 92. > BEGIN failed--compilation aborted at /usr/bin/sa-update line 92. > > How do you work out what package it wants to fulfill its needs? It says, "Can't locate LWP/UserAgent.pm in @INC..." So it's looking for a perl module called "LWP::UserAgent" somewhere in the list of directories that constitute the array @INC (short for "include"). A quick look at line 92 of sa-update shows that it says: eval { use LWP::UserAgent; }; And the comment just above indicates that the reason the author used the eval trick was to bypass RPM dependency checking. Next question: do you really need it? I don't have it installed, and sa-update runs and gets updates without complaining. But I don't see how sa-update can get updates without it. Another question is, how do you get it? A bit of checking with yum indicates that it isn't available from core, extras or livna. So you need cpan2rpm so you can pull it in from cpan.org and RPM-ize it for installation. -- Charles Curley /"\ ASCII Ribbon Campaign Looking for fine software \ / Respect for open standards and/or writing? X No HTML/RTF in email http://www.charlescurley.com / \ No M$ Word docs in email Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
Attachment:
pgp3lWOZoudzL.pgp
Description: PGP signature