pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: textproc/p5-XML-Simple broken (was: CVS commit: pkgsrc/textproc/p5-XML-SAX)
Bernd Ernesti wrote:
> I don't know why, but I have the feeling that this or one of the
> other updates in this area broke textproc/p5-XML-Simple:
>
> ===> Configuring for p5-XML-Simple-2.16
> => Checking for portability problems in extracted files
> Can't locate object method "new" via package "XML::LibXML::SAX" at
> /usr/pkg/lib/perl5/vendor_perl/5.
> 8.0/XML/SAX/ParserFactory.pm line 43.
> Checking installed modules ...
> *** Error code 2
Do you have installed p5-XML-LibXML at all? If not, then I suppose your
registry of XML parsers is messed up, which would support my case of
automatic parser registration, which the commit was all about.
Please take a look at
PREFIX/lib/perl5/vendor_perl/5.8.0/XML/SAX/ParserDetails.ini
If you have p5-XML-SAX (which owns this file), it must contain 4 lines
(the last two are empty).
-----8<------
[XML::SAX::PurePerl]
http://xml.org/sax/features/namespaces = 1
-----8<------
From the error message, I conclude that you do _not_ have p5-XML-LibXML
installed but ParserDetails.ini probably contains
-----8<------
[XML::SAX::PurePerl]
http://xml.org/sax/features/namespaces = 1
[XML::LibXML::SAX::Parser]
http://xml.org/sax/features/namespaces = 1
[XML::LibXML::SAX]
http://xml.org/sax/features/namespaces = 1
-----8<------
As a solution, you could delete the sections [XML::LibXML::SAX::Parser]
and [XML::LibXML::SAX] manually.
As an alternative, deinstall p5-XML-SAX and every package which depends
on it and make sure the file ParserDetails.ini is gone. Then reinstall
from current pkgsrc as needed. Registration of parsers at install time
and removal at deinstall time should be done automatically.
ciao
Klaus
Home |
Main Index |
Thread Index |
Old Index