Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 23:37:08 +0200
From:      Anton Berezin <tobez@tobez.org>
To:        David O'Brien <obrien@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: Perl POD error
Message-ID:  <20010815233708.A41670@heechee.tobez.org>
In-Reply-To: <20010815142218.A4810@dragon.nuxi.com>; from obrien@freebsd.org on Wed, Aug 15, 2001 at 02:22:18PM -0700
References:  <20010815142218.A4810@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, <GEN0> 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.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010815233708.A41670>