Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Installing XML-LibXML-1.70

Posted on 2011-02-25
2
Medium Priority
?
618 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 27

Assisted Solution

by:wilcoxon
wilcoxon earned 2000 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 27

Accepted Solution

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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
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

670 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