matts 2003/02/08 05:48:39
Modified: . Makefile.PL
Log:
Don't make if XML::LibXML version is 1.53
Revision Changes Path
1.15 +18 -1 xml-axkit/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/xml-axkit/Makefile.PL,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Makefile.PL 4 Feb 2003 22:03:34 -0000 1.14
+++ Makefile.PL 8 Feb 2003 13:48:39 -0000 1.15
@@ -180,6 +180,23 @@
REASON
}
+if (eval { require XML::LibXML }) {
+ if (XML::LibXML->VERSION eq '1.53') {
+ die <<"REASON";
+
+***** ERROR *****
+
+XML::LibXML 1.53 found. This version does not work with AxKit and
+has serious bugs which mean we cannot recommend it.
+
+Please either upgrade to 1.54_03 (available on CPAN via a manual
+download), downgrade to 1.52 which is stable, or upgrade to a higher
+version when they are released.
+
+REASON
+ }
+}
+
$config{INC} .= ' ' . Apache::src->new->inc;
if ($DEBUG) {