Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Trouble installing libxml2 on Windows...

by biswanath_c (Beadle)
on Oct 14, 2009 at 15:05 UTC ( [id://801107]=perlquestion: print w/replies, xml ) Need Help??

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


Hi,


I am trying to install libxml2 on my Windows machine. I had to go to this step bcos without libxml2, XML::LibXML would not install!

But I am having trouble installing libxml2! i downloaded a zip file but all it has is .h files. What do i do with them?

Would be really great if someone can give me clear stpes on how to install libxml2 on Windows machine


  • Comment on Trouble installing libxml2 on Windows...

Replies are listed 'Best First'.
Re: Trouble installing libxml2 on Windows...
by thunders (Priest) on Oct 14, 2009 at 17:41 UTC

    Did the package you downloaded also include a /lib and /bin, as well as the /include directory? In that case it's probably a binary distribution like this one.

    If you have a c compiler and a make program( you should have both if you are using Strawberry Perl) You can find a source package here. Here's a direct link to libxml2.

    Which version you go with is up to you, but either way, I think on windows the libxml2.dll needs to be installed somewhere in your PATH.

Re: Trouble installing libxml2 on Windows...
by thunders (Priest) on Oct 14, 2009 at 17:52 UTC

    If you are using ActiveState perl instead, you may want to try a pre compiled PPM instead. First use "perl -v" to find out which version you are running.

    For perl 5.8.*:

    C:\> ppm ppm> set repository theoryx http://theoryx5.uwinnipeg.ca/ppms/ ppm> install XML-LibXML

    For perl 5.10.*:

    C:\> ppm ppm> set repository theoryx http://cpan.uwinnipeg.ca/PPMPackages/10xx/ ppm> install XML-LibXML

      This was very helpful and it worked like a charm!! I have been breaking my head on this since yesterday along with a couple of my friends who could not resolve this too!


      Thank you very much! That was VERY helpful!

      Thank you as well! Worked great! :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://801107]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2024-04-18 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found