Crypt::OpenPGP has several things that could be blocking a successful install. One is that it relies directly upon Crypt::IDEA, Crypt::DES, and Crypt::Blowfish, each of which are incompatible with Perl 5.18. If you're using Perl 5.18, I recommend manually installing the "unauthorized release" versions of those modules that I've uploaded. I've been in touch with the author of those modules, and he committed to getting a new release uploaded within 48 hours (that was a couple weeks ago, ;).

The other issue is that Crypt::OpenPGP relies on Crypt::RSA, which depends on Crypt::Random, which has a dependency on Math::Pari. So you'll need to ensure that the PARI/GP library, including dev headers is installed on your system. Some Linux distributions may already have dpkg or aptitude libraries built for PARI/GP, in which case you should be able to install them and get going. I don't know about PARI/GP distributions for Windows though.

Dana Jacobsen created a module called Alt::Crypt::RSA::BigInt which provides an alternate implementation of Crypt::RSA that eliminates the PARI/GP dependency by using Bytes::Random::Secure and Math::BigInt rather than Crypt::Random and Math::Pari. If you install Alt::Crypt::RSA::BigInt, and then try to install Crypt::OpenPGP, you should meet with success. Take heed to the tips in the documentation for Alt::Crypt::RSA::BigInt that will help where performance is an issue.

So to summarize:


Dave


In reply to Re: Installing Module::Signature by davido
in thread Installing Module::Signature by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.