... se Re: use XML::LibXML; is causing compile error
Yes, XML-LibXML has quite a few dependencies - anyone wanting to install the uwinnipeg ppm for perl-5.8 would be well advised to first add it to the list of repo's (unless it's already there):
ppm repo add http://theoryx5.uwinnipeg.ca/ppms/
Then it's just a matter of:
C:\_32>ppm install http://theoryx5.uwinnipeg.ca/ppms/XML-LibXML.ppd
Downloading XML-LibXML-1.64...done
Downloading XML-SAX-0.96...done
Downloading XML-NamespaceSupport-1.09...done
Downloading XML-LibXML-Common-0.13...done
Unpacking XML-LibXML-1.64...done
Unpacking XML-SAX-0.96...done
Unpacking XML-NamespaceSupport-1.09...done
Unpacking XML-LibXML-Common-0.13...done
Generating HTML for XML-LibXML-1.64...done
Generating HTML for XML-SAX-0.96...done
Generating HTML for XML-NamespaceSupport-1.09...done
Generating HTML for XML-LibXML-Common-0.13...done
Updating files in site area...done
Downloading XML-LibXML-Common-0.13 install script...done
Running XML-LibXML-Common-0.13 install script...Set up gcc environment
+ - 3.4.5
mingw-vista special r3)
The library libxml2.dll is needed to complete the installation,
and should be placed in a directory somewhere in your PATH
environment variable. I can fetch and install this for you,
if you don't already have it.
Fetch libxml2.dll? [yes]
Fetching http://theoryx5.uwinnipeg.ca/ppms/scripts/libxml2.dll ... do
+ne!
Where should libxml2.dll be placed? [C:\_32\ap824\bin]
libxml2.dll has been successfully installed to C:/_32/ap824/bin
done
Downloading XML-LibXML-1.64 install script...done
Running XML-LibXML-1.64 install script...Set up gcc environment - 3.4.
+5 (mingw-
ista special r3)
Do you want to alter ParserDetails.ini? [yes]
C:\_32\ap824\bin\perl.exe -MXML::SAX -e "XML::SAX->add_parser(q(XML::L
+ibXML::SA
::Parser))->save_parsers()"
C:\_32\ap824\bin\perl.exe -MXML::SAX -e "XML::SAX->add_parser(q(XML::L
+ibXML::SA
))->save_parsers()"
done
103 files installed
C:\_32>perl -le "use XML::LibXML; print $XML::LibXML::VERSION"
1.64
(Where prompted, I just accepted the default.)
Still no toFH via package XML::LibXML::Document but. (I checked.)
Cheers, Rob |