| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4B586A37.8030607@cwilson.fastmail.fm> |
| Date: | Thu, 21 Jan 2010 09:52:39 -0500 |
| From: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: help2man broken |
| References: | <4B5857AA DOT 2020702 AT byu DOT net> |
| In-Reply-To: | <4B5857AA.2020702@byu.net> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |