Digest::MD5 issues

2005-12-27 Thread James Turnbull
Hi all I am having some issues with CPAN. All of a sudden my Digest::MD5 modules says it is not installed. When I try to re-install it I get the following error: install Digest::MD5 Running install for module Digest::MD5 Running make for G/GA/GAAS/Digest-MD5-2.36.tar.gz Undefined

Re: Digest::MD5 hexdigest() and md5_hex() differ

2005-10-18 Thread Adriano Ferreira
On 10/18/05, Gert <[EMAIL PROTECTED]> wrote: > in the example below I am using Digest::MD5 for computing the md5-checksum > for a string. The first solution uses the function md5_hex, the second way > uses the OO method hexdigest. The results are not equal. Shouldn't they be &

Digest::MD5 hexdigest() and md5_hex() differ

2005-10-18 Thread Gert
Hello, in the example below I am using Digest::MD5 for computing the md5-checksum for a string. The first solution uses the function md5_hex, the second way uses the OO method hexdigest. The results are not equal. Shouldn't they be equal? I think they s

Re: Digest MD5 and speed

2004-12-15 Thread Traeder, Philipp
::Find::name) or die "cannot open file $File::Find::name : $!"; binmode($fh); $digest -> addfile($fh); my $file_name = substr($File::Find::name, length($directory)+1); print $out_file $file_name . ";" . $digest -> hexdigest . "\n&qu

Re: Digest MD5 and speed

2004-12-15 Thread Ing. Branislav Gerzo
Benjamin Jeeves [BJ], on Wednesday, December 15, 2004 at 14:34 (+) typed: BJ> in the right way too? If I do not md5sum the files it print to the screen in BJ> about 2 mins? I don't think there should be much impromevent in speed, because Digest::MD5 uses C library for calculati

Digest MD5 and speed

2004-12-15 Thread Benjamin Jeeves
Hi all I'm writting a program in perl to md5sum about 500,000 files these files are text files and have different files size the biggest being about 500KB. my code is below #!/usr/bin/perl use strict; use Cwd; # module for finding the current working directory use Digest::MD5 qw(md5);

Re: making Digest::MD5

2004-04-19 Thread Robert Citek
On Monday, April 19, 2004, at 01:40 PM, Robert Citek wrote: I'm trying to compile the Digest::MD5 module. I tried to do it directly via "perl -MCPAN -e 'install Digest::MD5' and got an error: "Makefile:85: *** missing separator. Stop." So, I decided to do it b

making Digest::MD5

2004-04-19 Thread Robert Citek
Hello all, I'm trying to compile the Digest::MD5 module. I tried to do it directly via "perl -MCPAN -e 'install Digest::MD5' and got an error: "Makefile:85: *** missing separator. Stop." So, I decided to do it by hand. Below is a transcript of what I tried.

RE: Digest::MD5

2004-02-20 Thread Dave Tibbals
> Just for kicks I did a Google search on "installman1 missing > separator" and turned up this: > http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=87682 It suggests setting LANG=en_US before running perl Makefile.PL Does that help? I don't use Linux, so I can't reproduce the problem. > INST

RE: Digest::MD5

2004-02-20 Thread Bob Showalter
Dave Tibbals wrote: > > What line is make complaining about the missing separator? > > What does the Makefile look like around that line? > > > > From CPAN shell, you can do the following to run the steps > > separately: > > > >look Digest::M

RE: Digest::MD5

2004-02-20 Thread Dave Tibbals
> What line is make complaining about the missing separator? > What does the Makefile look like around that line? > > From CPAN shell, you can do the following to run the steps separately: > > look Digest::MD5 >$ perl Makefile.PL >$ make > This is wh

RE: Digest::MD5

2004-02-20 Thread Bob Showalter
[redirectinb back to list] Dave Tibbals wrote: >> Dave Tibbals wrote: >>> I am attempting to install the module Digest::MD5 and it fails with >>> the makefile for the module. The error reported is "*** missing >>> separator. Stop". >> >>

RE: Digest::MD5

2004-02-20 Thread Bob Showalter
Dave Tibbals wrote: > I am attempting to install the module Digest::MD5 and it fails with > the makefile for the module. The error reported is "*** missing > separator. Stop". Something's wrong with the Makefile. This can happen if tabs get expanded to spaces or if DO

Digest::MD5

2004-02-19 Thread Dave Tibbals
I am attempting to install the module Digest::MD5 and it fails with the makefile for the module. The error reported is "*** missing separator. Stop". This is on a Red Hat WS 3 box with all the latest updates installed that includes perl 5.8. I thought Red Hat 7.3 had this same problem

Re: Digest::MD5 -> U32 /usr/bin/ld -> cannot find -ldb

2002-10-22 Thread cmustard
> _ > > [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread > Index] > > Re: Digest::MD5 -> U32 /usr/bin/l

Re: Digest::MD5 -> U32 /usr/bin/ld -> cannot find -ldb

2002-10-21 Thread zentara
On Mon, 21 Oct 2002 00:17:53 -0400, [EMAIL PROTECTED] wrote: >I am trying to install Digest::MD5 on a linux box (perl 5.6.1, yes i know i >should,). i have gzip'd and tar'd the package, moved into the directory >and tried to 'perl Makefile.PL' and i get the foll

Digest::MD5 -> U32 /usr/bin/ld -> cannot find -ldb

2002-10-21 Thread cmustard
I am trying to install Digest::MD5 on a linux box (perl 5.6.1, yes i know i should,). i have gzip'd and tar'd the package, moved into the directory and tried to 'perl Makefile.PL' and i get the following error message: Testing alignment requiremnets for U32... /usr/bin/

Re: Digest::MD5

2001-12-11 Thread Michael Fowler
On Tue, Dec 11, 2001 at 10:02:57AM -0500, Pete Emerson wrote: > Is there a faster way to calculate the hex md5 of a file? Faster in what sense? In terms of execution speed, probably not. You could reimplement Digest::MD5 to include a function, written in C, that opens the file, reads

Digest::MD5

2001-12-11 Thread Pete Emerson
Is there a faster way to calculate the hex md5 of a file? sub md5 { my $file=shift; open (FILE, $file) or die "Can't open '$file': $!"; binmode(FILE); my $hash=Digest::MD5->new->addfile(*FILE)->hexdigest; close FILE; return $hash; }