This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 <>?

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:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]