[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
p5-XML-LibXSLT
textproc/p5-XML-LibXSLT is currently broken at build time.
Dropping the below patch into textproc/p5-XML-LibXSLT causes
it to build. It still wont work at run time because of the
following:
There is a bug in textproc/p5-XML-LibXML or textproc/libxml
which means the require line commented out below means that
attempts to print to or close a open file, will fail.
A simpler example of how it's broken is
http://sebastian.foriru.co.uk/~sams/broke/
works.pl has a work around which works for the XML::LibXML case,
but not for the XML::LibXSLT case.
Does anyone have any good ideas on a way to trace this bug
and fix it? The maintainer of the software thinks it's an
OpenBSD specific bug:
http://aspn.activestate.com/ASPN/Mail/Message/perl-xml/1752182
Sam
--- Makefile.PL.orig Sun May 12 11:10:16 2002
+++ Makefile.PL Fri Aug 22 15:57:07 2003
@@ -13,10 +13,10 @@
my $DEBUG = delete $config{DEBUG};
-require XML::LibXML;
-if ($XML::LibXML::VERSION < 1.49) {
- die "XML::LibXML 1.49 or higher required\n";
-}
+#require XML::LibXML;
+#if ($XML::LibXML::VERSION < 1.49) {
+# die "XML::LibXML 1.49 or higher required\n";
+#}
# get libs and inc from gnome-config
eval {
@@ -37,7 +37,7 @@
warn "using fallback values for LIBS and INC\n";
# backtick fails if gnome-config didn't exist...
$config{LIBS} = '-L/usr/local/lib -L/usr/lib -lxslt -lxml2 -lz -lm';
- $config{INC} = '-I/usr/local/include -I/usr/include';
+ $config{INC} = '-I/usr/local/include -I/usr/include -I/usr/local/include/libxml/';
print <<OPT;
options: