Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing Blowfish Module

Status
Not open for further replies.

ragol67

IS-IT--Management
Jun 7, 2006
13
CA
I am having troubles getting the Blowfish module to work properly. I extracted it into the Perl library, and ran the makefile.pl command. But when I test my script, it says it can't find the file crypt/blowfish.pm in @INC. But when I look in that directory, it is there.

What would be the reasons for this?


Thanks,
Nick!


ERROR: Crypt::Blowfish not found: Can't locate loadable object for module Crypt::Blowfish in @INC (@INC contains: C:/Inetpub/Active Sites/Monkey Industries/lib C:/Perl/lib C:/Perl/site/lib .) at (eval 4) line 3 Compilation failed in require at (eval 4) line 3.
 
Perl module names are case-sensitive.

use crypt::blowfish;
is not the same as
use Crypt::Blowfish;

The latter one has the correct capitilizations.

And did you put it in C:/Perl/site/lib/Crypt/Blowfish.pm then? (or some other folder from @INC, plus "/Crypt/Blowfish.pm")
 
I have it in the directory 'C:/Perl/site/lib/Crypt/Blowfish.pm'. I just looked at the file 'Blowfish.pm', and on line 3 it says "require DynaLoader;". I searched that up on the net and it came up with "Dynamically load C libraries into Perl Code".

Do I have to somehow implement this DynaLoader for the Blowfish module to work? If so, how do I do this?


Thanks,
Nick!
 
Code:
ppm install Crypt-Blowfish
for activestate on windows

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
When I try typing that into the Active Perl command line, it gives me a "503 Service Unavailable".
 
set up your repositories ...


Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
I set up my repositories, and Serched for Crypt::Blowfish. It came up with a result saying that I have Version 2.10 Crypt-Blowfish in my Active Repositories. When I run my script again, I still get this message:

Code:
ERROR: Crypt::Blowfish not found: Can't locate loadable object for module Crypt::Blowfish in @INC (@INC contains: C:/Inetpub/Active Sites/Monkey Industries/lib C:/Perl/lib C:/Perl/site/lib .) at (eval 4) line 3 Compilation failed in require at (eval 4) line 3.

The script I am running is here



I think it has something to do with C::DynaLoader, but I can't figure out how to get that working. I downloaded that module, but it didn't do anything.


Thanks,
Nick!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top