Solved

Installing XML-LibXML-1.70

Posted on 2011-02-25
2
612 Views
Last Modified: 2012-05-11
Hi,
I am trying to install the library LibXML-1.70 on my unix account.
I tried two methods, both unsuccessful.

method 1: using
perl -MCPAN -e "install 'XML::LibXML'"
the result; is always unsuccessful at the CPAN site (result below).

I attached the output as code

method 2:
I downloaded the .gz
http://search.cpan.org/~pajas/XML-LibXML-1.70/LibXML.pod
XML/LibXML17.70.tar.gz
I unzip when i execute  perl Makefile.PL
the output complain it cannot find libxml2 not found and ot get libxml2 from
http://xmlsoft.org/
I downloaded libxml2-2.7.8-5mdv2011.0.src.rpm and libxml2-devel-2.7.8-5mdv2011.0.i586.rpm
but still it cannot find them..

Can you please give me comments/suggestions for both method 1 and method2.
Thank-you.

method 2 output:

cpan-output.txt
Makefile-output.txt
0
Comment
Question by:Johannne1
[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
  • 2
2 Comments
 
LVL 26

Assisted Solution

by:wilcoxon
wilcoxon earned 500 total points
ID: 34983304
Is the directory containing the libxml library (likely libxml2.so or something similar) in your LD_LIBRARY_PATH?  If not, it may still be picked up (depending what the dir is and how your compiler is built) but you can try to manually add it to LD_LIBRARY_PATH.

Is the directory containing the header (.h) files for libxml picked up by your C compiler?  You can try to manually include it by setting CPPFLAGS to include -I/dir/to/header/files.
0
 
LVL 26

Accepted Solution

by:
wilcoxon earned 500 total points
ID: 34983322
The CPAN failure looks like a firewall problem.  ftp is failing to connect.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

627 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