Message Board

Installing Honey Pots

Older Posts ]   [ Newer Posts ]
 Problem with perl script in AIX
Author: T.Junker   (21 Nov 04 5:04pm)
I installed the perl script per the instrructions but this line doesn't work in my system:

use Digest::MD5 qw(md5_hex);

I get this in the httpd error log:

Can't locate Digest/MD5.pm in @INC (@INC contains: /usr/opt/perl5/lib/5.00503/aix
/usr/opt/perl5/lib/5.00503 /usr/opt/perl5/lib/site_perl/5.005/aix /usr/opt/perl5/lib/site_perl/5.005 .) at /usr/HTTPServer/cgi-bin/wallhat.cgi line 39.
 
 Re: Problem with perl script in AIX
Author: M.Prince   (21 Nov 04 5:14pm)
It looks like you're missing the Perl module required to do MD5 hashing (Digest::MD5). You may be able to use CPAN to install it automatically. To try, enter the following line from your command line:

perl -MCPAN -e 'install Digest::MD5'

If that doesn't work, or you want to install it manually, you can download the latest copy of the module from:

http://cpan.uwinnipeg.ca/module/Digest::MD5

Let me know if that solves the problem.
 
 Re: Problem with perl script in AIX
Author: T.Junker   (21 Nov 04 5:31pm)
Checking if your kit is complete...
Looks good
Warning: prerequisite Digest::base 1.00 not found at (eval 1) line 220.
Writing Makefile for Digest::MD5
---- Dependencies detected during [G/GA/GAAS/Digest-MD5-2.33.tar.gz] -----
Digest::base
File::Spec
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
Running make for G/GA/GAAS/Digest-1.10.tar.gz
Fetching with Net::FTP:
ftp://carroll.cac.psu.edu/pub/CPAN/authors/id/G/GA/GAAS/Digest-1.10.tar.gz
Fetching with Net::FTP:
ftp://carroll.cac.psu.edu/pub/CPAN/authors/id/G/GA/GAAS/CHECKSUMS
Can't locate object method "new" via package "MD5" at /usr/opt/perl5/lib/5.00503/CPAN.pm line 3243.
 
 Re: Problem with perl script in AIX
Author: M.Prince   (21 Nov 04 5:53pm)
Looks like you're missing one of the low-level "digest" (hash) modules. Try....

perl -MCPAN -e 'install Digest::base'

Then....

perl -MCPAN -e 'install File::Spec'

Then....

perl -MCPAN -e 'install Digest::MD5'

Good news is it looks like you've got CPAN working!

Matthew.



do not follow this link

Privacy Policy | Terms of Use | About Project Honey Pot | FAQ | Cloudflare Site Protection | Contact Us

Copyright © 2004–25, Unspam Technologies, Inc. All rights reserved.

contact | wiki | email