abhishes has asked for the wisdom of the Perl Monks concerning the following question:

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.

Replies are listed 'Best First'.
Re: XML-DOM installation on Windows
by Solo (Deacon) on Feb 23, 2003 at 18:37 UTC
    Have you tried the PPM distributions from http://theoryx5.uwinnipeg.ca/? Thank god for Randy Kobes and whoever else keeps those up to date!

    --Solo

    --
    Well, I suppose I could hotwire this thing.

      Yes I have been to this repository.. (http://theoryx5.uwinnipeg.ca/ppmpackages/x86/) but unlike others who give one zip file which contains everything, this one contained one ppd and I had to go inside the x86 directory and get the XML-LibXML.tar.gz file.

      But the result was the same
      Error: no suitable installation target found for package XML-LibXML

      regards,
      Abhishek
        I think you're in the 6xx builds directory. Have you seen the 8xx builds in http://theoryx5.uwinnipeg.ca/ppms/?

        --
        Uh... had a slight weapons malfunction. But, uh, everything's perfectly all right now. We're fine. We're all fine here, now, thank you. How are you?