gstrock has asked for the wisdom of the Perl Monks concerning the following question:

I've tried just about every PGP and GPG package on CPAN and I cannot get a single one to install because they all fail a test somewhere along the line. And that frigging Math::Pari package is the worst.

I have tried to install these under several versions of perl using CPAN: 5.6.1, 5.8.0, 5.8.5.

has anyone had any luck with any of these? greg strockbine

Replies are listed 'Best First'.
Re: a PGP or GPG library that works?
by cbrandtbuffalo (Deacon) on Feb 25, 2005 at 12:49 UTC
    What type of system are you trying to install on (windows, solaris, mac)?
      Red Hat Linux 3.2.3-47
      Red Hat Linux 7.2 2.96-118.7.2
      Gentoo 2.6.10-gentoo-r2

      ---------------------------------
      I never thought I'd do this, but because I'm under a deadline, I'm going to take a look at what php offers and then maybe python. Hmmm... or should I go take a gander at ruby??
Re: a PGP or GPG library that works?
by hardburn (Abbot) on Feb 25, 2005 at 15:16 UTC

    Yes, Math::Pari is a pain. Try it a few more times and it will probably work eventually. If you manage that, the rest of the dependancies should work. At least, that's my experiance.

    "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

      well, I've already tried to install Math::Pari about 6 times. I was getting an udefined symbol on PERL_UNUSED_VAR and found a definition in perl.h and pasted that into Pari.xs but then Crypt::Random bombed with an illegal value generated from Math::Pari.

      I googled and saw other people with the same problem and no solution.

Re: a PGP or GPG library that works?
by perrin (Chancellor) on Feb 26, 2005 at 01:45 UTC
    I only found one that worked, and it didn't look very good. I suggest just using the gpg program directly from perl.
Re: a PGP or GPG library that works?
by gloryhack (Deacon) on Feb 26, 2005 at 07:24 UTC
    I've been using GnuPG::Interface for a couple of years now, with no problems. Maybe it'll work for you.