after installing axkit 1.7 and trying to run the demo XML::LibXSLT (the first
link in the demo page), I got the following error in my apache error log:
Error occured
while processing Error XML: Can't use string ("XML::LibXSLT") as a HASH
ref while "strict refs" in use at
/usr/local/apache1/lib/perl5/site_perl/5.8.8/i686-linux/XML/LibXSLT.pm line
184.\n .
I was told this was because of something that broke as a result of the new
XML::LibXML/XML::LibXSLT just releasted yesterday (8/2/2006)
The fellows pointed me to a patch (found, among other places, here:
http://paste.husk.org/6420 )
I applied it to the AxKit source but didn't get a smooth result. Here it is:
....
+lib/Apache/AxKit/LibXML.pm
lib/Apache/AxKit/Makefile.PL
lib/Apache/AxKit/MediaChooser/WAPCheck.pm
lib/Apache/AxKit/Plugin/Fragment.pm
patching file lib/Apache/AxKit/Language/HtmlDoc.pm
patching file lib/Apache/AxKit/Language/XSP.pm
Hunk #2 succeeded at 1073 (offset -7 lines).
Hunk #4 succeeded at 1100 (offset -7 lines).
patching file lib/Apache/AxKit/Language/LibXSLT.pm
Hunk #2 FAILED at 63.
Hunk #4 FAILED at 108.
Hunk #5 FAILED at 118.
3 out of 5 hunks FAILED -- saving rejects to file
lib/Apache/AxKit/Language/LibXSLT.pm.rej
patching file lib/Apache/AxKit/LibXMLSupport.pm
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 1.
File lib/Apache/AxKit/LibXMLSupport.pm is not empty after patch, as expected
1 out of 1 hunk FAILED -- saving rejects to file
lib/Apache/AxKit/LibXMLSupport.pm.rej
patching file lib/Apache/AxKit/LibXML.pm
patching file lib/Apache/AxKit/LibXMLCallbacks.pm
patching file lib/Apache/AxKit/Provider.pm
Hunk #2 FAILED at 83.
Hunk #3 FAILED at 164.
Hunk #5 FAILED at 272.
3 out of 7 hunks FAILED -- saving rejects to file
lib/Apache/AxKit/Provider.pm.rej
patching file MANIFEST
[EMAIL PROTECTED] AxKit-1.7]$
answering yes to the "patch detected! Assume -R? [n] " didn't seem to work
either.
Thanks in advance for any thoughts on the matter.
Yuval