Solved

Installing XML-LibXML-1.70

Posted on 2011-02-25
2
569 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
Comment Utility
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
Comment Utility
The CPAN failure looks like a firewall problem.  ftp is failing to connect.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now