This is the mail archive of the
mailing list for the Cygwin project.
FAO perl-XML-SAX maintainers: request for pre-filling ParserDetails.ini
- From: Adam Dinwoodie <adam at dinwoodie dot org>
- To: cygwin at cygwin dot com
- Date: Mon, 9 Apr 2018 14:34:40 +0100
- 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