Hi, I've been trying to install XML::LibXML but i have been having problems.
I saw some questions/answers that have been placed here but the problem maintains:
I'm trying to install LibXML on windows.
The Activestate 6** doesn't support the LibXML module (with ppm it doesn't find the ppd).
I've tryed to install by downloading and running perl Makefile.PL.
And it doesn't work:
enable native perl UTF8 looking for -lxml2... no looking for -llibxml2... libxml2 not found Try setting LIBS and INC values on the command line Or get libxml2 from http://www.libxml.org/ If you install via RPMs, make sure you also install the -devel RPMs, as this is where the headers (.h files) are. no

The CPAN documentation on how to install modules, refer to problems using perl makefile.pl on windows, and they say that the way to install is retrieving the .pm file and placing it on one of the paths on @INC.

I've tried this but perl complains that the LibXML::Common (required for LibXML). Doesn't have a loadable object:

Can't locate loadable object for module XML::LibXML::Common in @INC (@ +INC contai ns: C:/Perl/lib C:/Perl/site/lib .) at LibXML.pm line 11 Compilation failed in require at LibXML.pm line 11. BEGIN failed--compilation aborted at LibXML.pm line 11.

Why is this? Is this a problem of connecting to the libxml2.dll ? or is it a problem on perl?

In any case how do i solve this? The persons who complained of the same found a solution?

And finally: I need a XML module for a application that needs to have a document object, this object may be built at runtime, and must be compliant width a DTD. I saw some docs and decided to try out libxml, but if there is a module, simpler to install on windows, please tell me.

thank you!
(this is urgent)

Edited by BazB added code tags, minor cleanups.


In reply to Perl & XML & LibXML by paulacocacola

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.