Subject: | LibXML.xs uses undefined Newx() |
Hello,
XML::LibXML 1.62 doesn't compile on Perl 5.8 because LibXML.xs uses
the Newx() macro, which isn't to be available in maint-5.8.
LibXML.xs: In function 'XS_XML__LibXML__Reader__preservePattern':
LibXML.xs:8167: error: syntax error before 'xmlChar'
The line 8167 being:
Newx(namespaces, last+2, xmlChar*);
I've checked that Newx() isn't present in my Perl headers, nor in
the ppport.h included in XML::LibXML 1.62 distribution. It is defined
in more recent versions though, so you just need to update the ppport.h
of your distribution.
Having said that, I don't understand how this version compile on some
CPAN testers machines as P5Porters have confirmed that Newx() isn't
available in maint-5.8.
» http://cpantesters.perl.org/show/XML-LibXML.html#XML-LibXML-1.62
Regards,
--
Close the world, txEn eht nepO.