public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* FAO perl-XML-SAX maintainers: request for pre-filling ParserDetails.ini
@ 2018-04-09 13:34 Adam Dinwoodie
  2018-04-09 17:53 ` Achim Gratz
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Dinwoodie @ 2018-04-09 13:34 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-09 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-09 13:34 FAO perl-XML-SAX maintainers: request for pre-filling ParserDetails.ini Adam Dinwoodie
2018-04-09 17:53 ` Achim Gratz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).