Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 101944
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: Marek.Rouchal [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.0117
Fixed in: (no value)



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
On Thu Feb 05 05:14:36 2015, MAREKR wrote: Show quoted text
> 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! >
Thanks for the report. I applied a modified patch (with ".=" instead of "=") to the Makefile.PL in version 2.0118 which was now uploaded to CPAN. RESOLVING. Regards, -- Shlomi Fish