Solved

Installing XML-LibXML-1.70

Posted on 2011-02-25
2
587 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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Optimum versions of Selenium Webdriver with Python On Windows 7 1 106
Adding Namespace to the second node of the xml 16 73
XSLT XML 4 19
ebay devID, appID, certID, userToken 2 26
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 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