X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4A7A033B.40806@x-ray.at> Date: Thu, 06 Aug 2009 00:10:03 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.7: help2man perl problem? References: <4A7896D4 DOT 9020603 AT veritech DOT com> In-Reply-To: <4A7896D4.9020603@veritech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Lee Rothstein schrieb: > When I run 'help2man' on a bash script that I wrote, I get the > following error messages: > > Constant subroutine main::LC_ALL redefined at > /usr/lib/perl5/5.10/Exporter.pm line 66. > at /bin/help2man line 38 > Prototype mismatch: sub main::LC_ALL () vs none at > /usr/lib/perl5/5.10/Exporter.pm line 66. > at /bin/help2man line 38 > > 'help2man' does, however, generate a valid 'man' "page", if > somewhat mis-formatted to my taste. > > Is my perl configuration off, or what? No, that's known problem for old perl programs with 5.10, in this case help2man. Just google "LC_ALL () vs none" --- 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; }; -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- 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