On 11/27/2012 02:13 AM, Karl Berry wrote:
> I've put up the next pretest:
> 
>   ftp://alpha.gnu.org/gnu/texinfo/texinfo-4.13.91.tar.xz
>  http://alpha.gnu.org/gnu/texinfo/texinfo-4.13.91.tar.xz
> 
> Same deal as before, please send any feedback here, to bug-texinfo.
> 
I'm seeing this error trying to build on a Solaris 9 machine:

  Can't locate Encode.pm in @INC (@INC contains: \
    /usr/local/share/texinfo/lib/Text-Unidecode/lib \
    /usr/local/share/texinfo/lib/Unicode-EastAsianWidth/lib \
    /usr/local/share/texinfo/lib/libintl-perl/lib \
    /usr/local/share/texinfo \
    ../tp \
    ../tp/maintain/lib/libintl-perl/lib \
    ../tp/maintain/lib/Unicode-EastAsianWidth/lib \
    ../tp/maintain/lib/Text-Unidecode/lib \
    /usr/perl5/5.6.1/lib/sun4-solaris-64int \
    /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int \
    /usr/perl5/site_perl/5.6.1 \
    /usr/perl5/site_perl \
    /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int \
    /usr/perl5/vendor_perl/5.6.1 \
    /usr/perl5/vendor_perl \
    . \
  ) at ../tp/Texinfo/Parser.pm line 40.
  BEGIN failed--compilation aborted at ../tp/Texinfo/Parser.pm line 40.
  Compilation failed in require at ../tp/texi2any line 95.
  BEGIN failed--compilation aborted at ../tp/texi2any line 95.
  *** Error code 2
  make: Fatal error: Command failed for target `texinfo'
  Current working directory /home/slattarini/tmp/texinfo-4.13.91/doc
  *** Error code 1

Perl version is 5.6.1.  Maybe the Encode module should be bundled
within the Texinfo tarball, for better compatibility?

But then, looking at

  http://cpansearch.perl.org/src/DANKOGAI/Encode-2.47/Encode/README.e2x

I see:

    DEPENDENCIES

    This module requires perl version 5.7.3 or later.

So the new Texinfo is not going to work with older perls apparently.
Given that, I think you should add a configure-time check on the perl
version, so that the user will be warned if his perl is too old,
instead of just seeing a misterious failure at build time.

Regards,
  Stefano

Reply via email to