On 05/09/2013 02:54 AM, Shlomi Fish wrote:
Hi Shmuel,
On Thu, 9 May 2013 16:44:10 +0900
Shmuel Fomberg <shmuelfomb...@gmail.com> wrote:
On Thu, May 9, 2013 at 4:11 PM, Shlomi Fish wrote:
These failures should not be happening, and they are likely caused by old
versions of libxml2 and/or libxslt. Now, one option would be to require
only
the latest version in XML::LibXML and XML::LibXSLT, but this may
inconvenience
some users of older systems.
Is there a better alternative?
So... you want to use some features that new versions libxml2 have, but
want XML::LibXML support any version of libxml2.
No, the new features are not the problem. The problem is that newer versions of
libxml2 and libxslt contain some bug fixes, and with older versions without
these bug fixes, the tests fail.
Since you already detect the library version I would print an initial
warning, that this system library version will fail with these bugs ...
Users who are not able to update libxml2 and libxslt by themselves can
either bother their admin with your message. But the default is to skip
the installation because the tests fail. Good.
Users who are able to update libxml2 and libxslt by themselves can do
so, with knowing why.
--
Reini
Working towards a true Modern Perl.
Slim, functional, unbloated, compile-time optimizable