Hello All,

I have been trying to install XML-DOM on my w2k machine for quite some days now.. but every effort to do so has failed.

I am using perl 5.8.0 from Active State.

1. Attempt 1:

I downloaded the XML-DOM.zip file from the following location
http://ppm.activestate.com/PPMPackages/zips/5xx-builds-only/
when I tried to install it, I got the error
Error: no suitable installation target found for package XML-DOM

2. Attempt 2:
Downloaded the XML-DOM.zip file from the location
http://ppm.activestate.com/PPMPackages/zips/6xx-builds-only/
and again got the error
Error: no suitable installation target found for package XML-DOM.

3. Attempt3
Downloaded the installation from
http://search.cpan.org/author/TJMATHER/XML-DOM-1.42/
and the readme told me to get dependent software for windows from http://www.zlatkovic.com/projects/libxml/index.html

Now I have a perl-xml directory on my machine and I have a bin subdirectory there I have iconv.dll, iconv.lib, iconv_a.lib, libxml2.dll, libxml2.lib, libxml2_a.lib

I have set the
INCLUDE=%INCLUDE%;c:\perl-xml\include;
LIB=%LIB%;c:\perl-xml\bin;
PATH=%PATH%;c:\perl-xml\bin;

Then I type the command perl Makefile.pl in the directory where I have unzipped the xmldom files and I get the error
enable native perl UTF8 looking for -lxml2... no looking for -llibxml2... no libxml2 not found
Try setting LIBS and INC values on the command line Or get libxml2 from http://xmlsoft.org/ If you install via RPMs, make sure you also install the -devel RPMs, as this is where the headers (.h files) are.

I also tried perl Makefile.pl LIB=%LIB% INC=%INCLUDE% but i still get the same error.

Has anyone tried to install XML::DOM on their w2k machine ... please tell me how can I get it installed on my w2k machine.

regards,
Abhishek.

In reply to XML-DOM installation on Windows by abhishes

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.