Perl is required?

Russ Allbery rra@stanford.edu
Fri Dec 21 02:39:00 GMT 2001


Stephen L Moshier <moshier@mediaone.net> writes:

> (pod2man --center="GNU" --release="gcc-3.1" --section=1 java/gcj.pod >
> java/gcj\
> .1.T$$ && \
>         mv -f java/gcj.1.T$$ ../ccdir/gcc/java/gcj.1) || \
>         (rm -f java/gcj.1.T$$ && exit 1)
> Can't locate Pod/Man.pm in @INC (@INC contains:
> /loc/lang/perl5.004_04/lib/sun4\
> -solaris/5.00404 /loc/lang/perl5.004_04/lib
> /loc/lang/perl5.004_04/lib/site_per\
> l/sun4-solaris /loc/lang/perl5.004_04/lib/site_perl .) at
> /p/0/smoshier/solaris\
> bin/bin/pod2man line 16.
> BEGIN failed--compilation aborted at
> /p/0/smoshier/solarisbin/bin/pod2man line \
> 16.

The pod2man that you're running is not the pod2man from the Perl 5.004_04
distribution, since that pod2man didn't include any Pod::Man module:

windlord:/afs/.ir/pubsw/ADMIN/hold/perl5.00404/share/bin> grep Pod::Man pod2man
windlord:/afs/.ir/pubsw/ADMIN/hold/perl5.00404/share/bin> 

The Pod::Man module was introduced by my rewrite of pod2man, which was not
integrated into Perl core until 5.6.0.

/p/0/smoshier/solarisbin/bin/pod2man is not the pod2man that was shipped
with the version of Perl that is being invoked by the first line of that
file, and the Perl that is being so invoked is unable to find the module
that the pod2man that you're running is a wrapper around.  In short, the
pod2man that you're running is not correctly installed.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the Gcc mailing list