Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Installing Crypt::DES

by tektsu (Acolyte)
on Dec 05, 2000 at 01:49 UTC ( #44863=perlquestion: print w/ replies, xml ) Need Help??
tektsu has asked for the wisdom of the Perl Monks concerning the following question:

I have installed Crypt::DES 2.01 on Perl 5.6.0. It passes make test, but after it is installed, it doesn't work.

% perl -e 'use Crypt::DES';
Can't locate object method "bootstrap" via package "Crypt::DES" at /cmbin/perl-5.6.0/lib/site_perl/5.6.0/PA-RISC2.0/Crypt/DES.pm line 21.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

This happens on my Linux, Solaris, and HP-UX boxes.

I'm out of clues. Can anyone lend me one?

tektsu
kiku wa ittoki no haji kikanu wa matsudai no haji

Comment on Installing Crypt::DES
Re: Installing Crypt::DES
by arturo (Vicar) on Dec 05, 2000 at 02:46 UTC

    Going by the error message, the current version of the module is trying to call a function that hasn't been defined; looking through the module source, I can tell you it ain't in that module.

    Further research suggests that bootstrap is a function defined in the DynaLoader module, which appears in the @ISA array of the Crypt::DES module as it is built, but the DynaLoader module isn't loaded via use or require in Crypt::DES source that gets built.

    Perhaps the author of Crypt::DES forgot a require DynaLoader line, which, according to my system's documentation for that module, is required.

    (I added the requisite line to my Crypt::DES source, and it works -- mail has also been sent to the module's maintainer.)

    Philosophy can be made out of anything. Or less -- Jerry A. Fodor

      I made the change in my copy, and all is well. Thanks for the help!

      tektsu
      kiku wa ittoki no haji kikanu wa matsudai no haji

        By way of an update, I emailed Dave Paris, Crypt::DES's maintainer, he said both that he was aware of the problem in 2.01 and that v2.03 is on its way to CPAN soon.

        CPAN: not just good modules, good people!

        Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://44863]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-09-02 03:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (19 votes), past polls