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

Hello Perl Monks,

I am trying to install XML::LibXML on my w2k machine. I have downloaded all the binaries for the libxml packages. I have the binaries for libxml2, iconv, openssl. I have set the lib directory of these 3 in my path env variable. I have set the xmlprefix to the directory where I have all the dlls and libs for libxml.

But still when I do a perl Makefile.PL I get an error message

looking for -lxml2... no looking for -llibxml2... 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. no

What can I do to install libxml?
regards,
Abhishek.

Replies are listed 'Best First'.
Re: install libxml on windows
by Steve_p (Priest) on Feb 20, 2003 at 18:40 UTC

    The way you are trying to set up XML::LibXML is not easy. For me, it has always been easier to set the -L flags in the Makefile.PL. Then, much like Activestate, I get the dlls as close to the Perl modules as I can. Win32 libpaths have always seemed a bit like voodoo to me.

    The easiest way to set up XML::LibXML is to install the package using ppm. You can find the most recent version at Randy Kobe's repository. Your repository settings will be a little different depending on whether you're using Perl 5.6 or 5.8. The for Perl 5.6, the repository address is http://theoryx5.uwinnipeg.ca/ppmpackages/. For Perl 5.8, the address is http://theoryx5.uwinnipeg.ca/ppms/.

    Good luck!

        Thanks for the info. I will update my repositories tonight!