FAO perl-XML-SAX maintainers: request for pre-filling ParserDetails.ini
- Date: Mon, 9 Apr 2018 14:34:40 +0100
- From: Adam Dinwoodie <adam@xxxxxxxxxxxxx>
- Subject: FAO perl-XML-SAX maintainers: request for pre-filling ParserDetails.ini
Would it be possible for the perl-XML-SAX package to add a post-install
step per <http://perl-xml.sourceforge.net/faq/#parserdetails.ini>?
Specifically, the instructions there say:
> If you are packaging `XML::SAX` in an alternative distribution format
> (such as RPM), your post-install script should check if
> `ParserDetails.ini` exists and if it doesn't, run this command:
> perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()"
This would avoid the (apparently benign but irritating) error message I
see when attempting to build things like the Git documentation
complaining that the system "could not find ParserDetails.ini".
As a work-around, I've been running that command myself from a Bash
shell, but I'd like to not need to remember to do that, and adding it as
a post-install step appears to be the best practice according to the
upstream Perl-XML project.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple