From owner-freebsd-ports Wed Aug 15 14:39:47 2001 Delivered-To: freebsd-ports@freebsd.org Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by hub.freebsd.org (Postfix) with ESMTP id 9825237B40C; Wed, 15 Aug 2001 14:39:44 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id B6406541D; Wed, 15 Aug 2001 23:39:40 +0200 (CEST) Date: Wed, 15 Aug 2001 23:39:40 +0200 From: Anton Berezin To: David O'Brien Cc: ports@freebsd.org Subject: Re: Perl POD error Message-ID: <20010815233940.B41670@heechee.tobez.org> Mail-Followup-To: Anton Berezin , David O'Brien , ports@freebsd.org References: <20010815142218.A4810@dragon.nuxi.com> <20010815233708.A41670@heechee.tobez.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010815233708.A41670@heechee.tobez.org>; from tobez@tobez.org on Wed, Aug 15, 2001 at 11:37:08PM +0200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Aug 15, 2001 at 11:37:08PM +0200, Anton Berezin wrote: > On Wed, Aug 15, 2001 at 02:22:18PM -0700, David O'Brien wrote: > > Anybody understand Perl's POD <.beep.> enough to help me understand this > > error? [the GNU toolchain manpages are now generated from text2pod.pl] > > > perl .././../gcc-20010815/gcc/../contrib/texi2pod.pl < .././../gcc-20010815/gcc/doc/invoke.texi > gcc.pod > > (pod2man --center="GNU" --release="gcc-3.1" --section=1 gcc.pod > .././../gcc-20010815/gcc/doc/gcc.1.T$$ && \ > > mv -f .././../gcc-20010815/gcc/doc/gcc.1.T$$ .././../gcc-20010815/gcc/doc/gcc.1) || \ > > (rm -f .././../gcc-20010815/gcc/doc/gcc.1.T$$ && exit 1) > > Can't locate object method "cmd_head3" via package "Pod::Man" at /usr/libdata/perl/5.6.0/Pod/Man.pm line 463, line 5035. > > gmake: [.././../gcc-20010815/gcc/doc/gcc.1] Error 1 (ignored) > > They use a third-level header =head3 (apparently generated from some texi > construct), which is only supported starting from perl 5.6.1; neither > -current (5.6.0) nor -stable (5.005_03) understand this. > > If you are only going to generate the manpages once (and then probably > commit them), fetch perl 5.6.1 source, sh Configure -des, make, and use > that. Or just put perl5.6.1source/lib/Pod/* to /usr/libdata/perl/5.6.0/Pod/ Cheers, \Anton. -- May the tuna salad be with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message