[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with Digest::SHA and announce-gen
From: |
Jim Meyering |
Subject: |
Re: Problem with Digest::SHA and announce-gen |
Date: |
Thu, 19 Apr 2012 16:11:35 +0200 |
Reuben Thomas wrote:
> I have Digest::SHA installed, but I still get an error about being
> unable to find Digest::SHA1:
>
> $ perl -e 'use Digest::SHA;'
> $ perl build-aux/announce-gen
> Can't locate Digest/SHA1.pm in @INC (@INC contains:
> /home/rrt/local/x86_64-linux-gnu-thread-multi/lib/perl/5.14.2
> /home/rrt/local/share/perl/5.14.2 /home/rrt/local/share/perl /etc/perl
> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
> /usr/local/lib/site_perl .) at build-aux/announce-gen line 34.
> BEGIN failed--compilation aborted at build-aux/announce-gen line 34.
Are you using an old announce-gen?
The latest looks like this:
use strict;
use Getopt::Long;
use Digest::MD5;
eval { require Digest::SHA; }
or eval { use Digest::SHA1; };