develooper Front page | perl.macosx | Postings from January 2002

Can't locate object method "new" via package "MD5"

From:
Simon Troup
Date:
January 11, 2002 08:38
Subject:
Can't locate object method "new" via package "MD5"
Message ID:
B864C56E.77D%simon.troup@digitalmusicart.com
I've managed to get around my initial problems of a few days ago by
installing an update of the dev tools, but am now facing a new problem.

I'm trying to install MD5, here's the output:

===snip===

cpan> force install MD5
Running install for module MD5
Running make for G/GA/GAAS/MD5-2.02.tar.gz
Scanning cache /var/root/.cpan/build for sizes

  CPAN: MD5 security checks disabled because MD5 not installed.
  Please consider installing the MD5 module.

MD5-2.02
MD5-2.02/Makefile.PL
MD5-2.02/MD5.pm
MD5-2.02/Changes
MD5-2.02/t
MD5-2.02/t/md5.t
MD5-2.02/README
MD5-2.02/MANIFEST
Removing previously used /var/root/.cpan/build/MD5-2.02

  CPAN.pm: Going to build G/GA/GAAS/MD5-2.02.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite Digest::MD5 failed to load: Can't locate Digest/MD5.pm
in @INC (@INC contains: /System/Library/Perl/darwin /System/Library/Perl
/Library/Perl/darwin /Library/Perl /Library/Perl
/Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .)
at (eval 4) line 3.
Writing Makefile for MD5
---- Unsatisfied dependencies detected during [G/GA/GAAS/MD5-2.02.tar.gz]
-----
    Digest::MD5
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module Digest::MD5
Running make for G/GA/GAAS/Digest-MD5-2.16.tar.gz
Can't locate object method "new" via package "MD5" at
/System/Library/Perl/CPAN.pm line 3961.

===snip===

Is this a catch 22 - you can't install MD5 without MD5, or is it something
else? I got this same error when trying to install MIME::Tools and also
Digest::MD5 as mentioned in the output.

Any ideas?

Zim





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About