Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 15:00:40 +0200
From:      Mark Rowlands <mark.rowlands@minmail.net>
To:        Roberto Armenteros <rarmente@yahoo.com>, freebsd-questions@FreeBSD.ORG
Cc:        rarmente1@yahoo.com
Subject:   Re: Help compiling a perl program - some problems related to MD5.pm
Message-ID:  <200205151500.40986.mark.rowlands@minmail.net>
In-Reply-To: <20020515122816.59761.qmail@web13609.mail.yahoo.com>
References:  <20020515122816.59761.qmail@web13609.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 15 May 2002 2:28 pm, Roberto Armenteros wrote:
> I am trying to run a perl program to check for file
> checksums and I havent been able to run it in my
> computer. "The program runs perfectly at another
> computer running netbsd." First time i tried to run
> the program this was the error i got:
> bash-2.05a$ perl checksum.pl /etc
> Can't locate MD5.pm in @INC (@INC contains:
> /usr/libdata/perl/5.00503/mach
> /usr/libdata/perl/5.00503
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
> /usr/local/lib/perl5/site_perl/5.005 .) at checksum.pl
> line 1.
> BEGIN failed--compilation aborted at checksum.pl line
> 1.
>
> What i understand from here is that it cant find
> MD5.pm, then i run the comand locate MD5.pm and I
> found it in the following directory:
> bash-2.05a$ locate MD5
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Digest/MD5.pm
>
> My newbie mind suggested to move the MD5.pm files to
> one of those folders specified on the first error "in
> &INC" and then when i tried to run the program the
> error was a different one, which is:
>
> bash-2.05a$ perl checksum.pl /etc
> Can't locate object method "new" via package "MD5" at
> checksum.pl line 3. In other words, it does excecute
> the following marked line in the code:
>
> use MD5;
> require 'find.pl';
> $md5 =3D new MD5; ## <----- error here
>
> Please, what's going on here!!! The code runs
> perfectly in another computer. Dont i have MD5 support
> properly installed? Does the fact that i found MD5.pm
> in the following location mean that it is properly
> installed?
> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Digest/MD5.pm
>
> I am quite sure that the package p5-Digest-MD5.2.16 is
> installed because it appears so when i run sysinstall
>

try=20

cd /usr/ports/security/p5-MD5  && make install clean

>
>
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205151500.40986.mark.rowlands>