FAO perl-XML-SAX maintainers: request for pre-filling ParserDetails.ini
Adam Dinwoodie
adam@dinwoodie.org
Mon Apr 9 13:34:00 GMT 2018
Hello,
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.
Cheers,
Adam
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list