I tried to build XML-LibXML 2.0117 on Strawberry Perl (Windows 7) in 32bit mode. The Makefile.PL failed to find the libxml2 installation in C:\strawberry\c\..., and in fact it was only because the include path was missing:
$ diff -u XML-LibXML-2.0117/Makefile.PL XML-LibXML-2.0117p1/Makefile.PL
--- XML-LibXML-2.0117/Makefile.PL 2014-10-26 17:29:03.000000000 +0100
+++ XML-LibXML-2.0117p1/Makefile.PL 2015-02-02 15:09:21.931240800 +0100
@@ -318,6 +318,7 @@
q/ -llibxml2 -lzlib -llibgettextlib.dll/
];
$config{LIBS} = $config_LIBS_alternatives->[-1];
+ $config{INC} = "-I$Config{incpath}";
}
}
else {
With that inserted, all tests passed OK. Thanks for the great module!
Cheers,
Marek