Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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/ 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?

kiku wa ittoki no haji kikanu wa matsudai no haji

Replies are listed 'Best First'.
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!

      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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://44863]
Approved by root
[Marshall]: I also looked into PerlApp from Active State, but they don't sell their Dev Kit independent of a very expensive ($1,200) per year license anymore.
[Corion]: I would assume that the PE format hasn't changed that much since the days of yore, but it seems that I would be wrong in that assumption
[Marshall]: When I bought my copy 15+ years ago, it was just a couple hundred bucks.
[Marshall]: I looked at MS specs for PE format and I didn't see any changes in last decade, but evidenly that would be wrong.

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2016-12-08 18:22 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (144 votes). Check out past polls.