Solved

Perl(LWP) needed on FC9

Posted on 2009-03-31
8
1,159 Views
Last Modified: 2013-12-16
Attempting to install gtksourceview-1.6.0 on Fedora Core 9.   Need XML Parser.
XML Parser install fails with

error: Failed dependencies:
      perl(LWP) is needed by perl-XML-Parser-2.36-3.fc9.i386

However, Perl and perl-devel-5.10.0-20.fc9.i386 already installed and latest version
are already installed on my system.  

Why is LWP.pm not installed? And how can I put it on?

Respectfully,

Brian P.
0
Comment
Question by:pendell2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 40

Accepted Solution

by:
mrjoltcola earned 90 total points
ID: 24029611
Have you tried, as root:

perl -MCPAN -e shell
cpan> install LWP
0
 
LVL 39

Assisted Solution

by:Adam314
Adam314 earned 35 total points
ID: 24030195
This does the same thing, as root:
    cpan LWP
0
 

Author Comment

by:pendell2
ID: 24048931
Negative, Gentles. The solution did not work. Received error message

Can't locate CPAN.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /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_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .).


This is a brand new Fedora Core 9 just out of the box. My guess is that the pre-installed PERL is missing some features.  
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:pendell2
ID: 24050236
Problem solved.  I copied over CPAM.pm and the CPAM directory from the directory /usr/lib/perl5/5.8.8 on a FC5 machine.  This allowed me to use CPAM. I then used CPAM as described above by mrjoltcola and Adam314 to install LWP.pm.

However, the installation was still incomplete. I had to copy the following over from my FC5 box as well before the installation would work.: Test/More.PM, Test/Builder.PM, Test/Builder/*

Not pretty, but it did work.

0
 

Author Closing Comment

by:pendell2
ID: 31564850
While we did not answer the question completely, it did give me enough understanding of the problem to solve it the rest of the way. Thank you both.
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24050335
I think I found the root cause. It is odd, and I feel a poor choice on the behalf of the RPM packagers. Apparently there is a separate package perl-core, it includes a lot of libs along with CPAN

You can install it with:

yum install perl-core


I think every Perl hacker who builds his own Perl distro expects CPAN to be included by default, but the Fedora team decided to split it up that way, or maybe its wider than Fedora, I do not know. I either build my own Perl, or use ActiveState.
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24050346
Even though you found the workaround, I encourage you to install the package I described, so your whole distro is consistent and is likely why you are missing LWP in the first place.
0
 

Author Comment

by:pendell2
ID: 24058680
An excellent idea;  I have installed perl-core and it seems to function; However, I will have to build a new box before we can determine whether it completely solves the problems used by the work around. I will try to remember but that will probably take place some time in the indefinite future.

0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question