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

Hi,
I am newbie to perl. I had to install XML::LibXML on my webserver. But when i try to install it, it says libxml2 is required. what does this mean?? where can i find libxml2?? and how to install it?? is it another module or something else?? Please advice.
Thanx in advance.

rgds,
chris

update (broquaint): added formatting

Replies are listed 'Best First'.
Re: How to install libxml2??
by gjb (Vicar) on Aug 28, 2003 at 11:11 UTC

    libxml2 is the Gnome XML library (i.e. C/C++ code). You can download it from xmlsoft.org (well, you will be able to as soon as they stop protesting software patents). Here you'll also find information and installation instructions.

    Hope this helps, -gjb-

      thanx for the advice.How do i go about installing it?? i am on a linux machine and dont have telnet access? is it possible to install using a perl script?? rgds, chris
        If you don't have telnet access, the odds are that you're not root on that box either, eh? If so, you'll need to ask the admin to install it. And as long as they're at it, they can install XML::LibXML as well, although you can install that in a local directory with some caveats.

        -- Randal L. Schwartz, Perl hacker
        Be sure to read my standard disclaimer if this is a reply.

        You go and install it, it's that simple -- download it, read the INSTALL file, follow instructions
Re: How to install libxml2??
by CombatSquirrel (Hermit) on Aug 28, 2003 at 11:13 UTC