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]

Re: help2man broken


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


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