Subject: | Package not installing correctly on Strawberry Perl |
Date: | Wed, 5 Apr 2017 16:01:42 +0000 |
To: | "bug-XML-CanonicalizeXML [...] rt.cpan.org" <bug-XML-CanonicalizeXML [...] rt.cpan.org> |
From: | "Fernandez, Mauricio (EG SC Quality PM)" <fernandez-fernandez [...] hpe.com> |
Hi,
I tried several things to install this libary, which is a dependency for a library I must use, every time I get the same error.
Methods Used:
cpan install XML::CanonicalizeXML
cpan notest install XML::CanonicalizeXML
cpanm XML::CanonicalizeXML
cpanm --force XML::CanonicalizeXML
Relevant information:
Seems like there is a problem with the c code (type mismatch), this is what I see,
CanonicalizeXML.xs: In function 'XS_XML__CanonicalizeXML_canonicalize':
CanonicalizeXML.xs:28:82: warning: passing argument 6 of 'canonicalize' from incompatible pointer type
error = canonicalize(xml,xpath,namespace,exclusive,with_comments,&output);
^
In file included from CanonicalizeXML.xs:8:0:
canon/canon.h:2:12: note: expected 'char *' but argument is of type 'xmlChar **'
extern int canonicalize (char *xmlString, char *xpathString, char *nameSpace, int exc, int comm, char *output);
^
Please Find attached the log file from cpanm with no force.
Message body not shown because it is not plain text.