Subject: | Build fails on CentOS Release 4.4 (due to libxslt version) |
The build fails on CentOS 4.4 which is used on some servers here. In
fact, the problem is more directly due to version checking and
dependencies in Makefile.PL and LibXSLT.xs
Version of libxslt is /usr/lib/libxslt.so.1.1.11
LibXSLT.xs calls the function xsltRegisterLocalRVT. However, this
routine did not exist in libxslt until version 1.1.18, I believe. It
replaces the function xsltRegisterTmpRVT which is documented as obsolete.
I'm able to get the module to compile and install if I modify the
version check and revert the calls to xsltRegisterLocalRVT to
xsltRegisterTmpRVT.
a) I'm not sure if this is a good solution on my part. An alternative
would be to not call xsltRegister*RVT
b) It would be nice if XML::LibXSLT figured this out as part of
Makefile.PL rather than breaking compatibility.
Would a patch be accepted for this?
Thanks.