This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: help2man broken
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: cygwin at cygwin dot com
- Date: Thu, 21 Jan 2010 09:52:39 -0500
- Subject: Re: help2man broken
- References: <4B5857AA.2020702@byu.net>
Eric Blake wrote:
> Can we get a package refresh of help2man? Since /bin/help2man is
> hardcoded to try the #!/usr/bin/perl5.10.0 interpreter, but perl is now at
> 5.10.1, it requires manually tweaking the installed script to get anything
> to happen. In general, depending on that specific of an interpreter is a
> bad idea; what's wrong with just #!/usr/bin/perl?
>
Don't forget, you also typically need this:
--- help2man.PL
+++ help2man.PL
@@ -34,7 +34,7 @@ my $have_gettext;
BEGIN {
eval {
require Locale::gettext;
- Locale::gettext->import;
+ Locale::gettext->import (qw(gettext textdomain));
$have_gettext = 1;
};
I dunno if it's been fixed upstream.
--
Chuck
--
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