Tried symlink /usr/local/bin/gpg to existing /usr/bin/gpg, then re-install Crypt::GPG, got following:

Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/01-keygen.... NOTE: Key generation tests can take quite a long time. If the tests fail, you may not have GPG installed. Or you may need to generate more randomness on your computer (by running a recursive directory listing in the background, for example). process ended prematurely at /root/.cpan/build/Crypt-GPG-1.52/blib/lib +/Crypt/GPG.pm line 470 t/01-keygen....ok 1/3process ended prematurely at /root/.cpan/build/Cr +ypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 470 t/01-keygen....ok 2/3process ended prematurely at /root/.cpan/build/Cr +ypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 470 t/01-keygen....ok t/02-import....ok t/03-export....Use of uninitialized value in pattern match (m//) at /r +oot/.cpan/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 415. t/03-export....NOK 1# Failed test 1 in t/03-export.t at line 41 Use of uninitialized value in print at /root/.cpan/build/Crypt-GPG-1.5 +2/blib/lib/Crypt/GPG.pm line 366. Use of uninitialized value in string eq at t/03-export.t line 47. Use of uninitialized value in string eq at t/03-export.t line 47. t/03-export....ok 2/15Use of uninitialized value in print at /root/.cp +an/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 366. Use of uninitialized value in string eq at t/03-export.t line 54. Use of uninitialized value in string eq at t/03-export.t line 54. t/03-export....ok 3/15Use of uninitialized value in pattern match (m// +) at /root/.cpan/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 415. t/03-export....NOK 4# Failed test 4 in t/03-export.t at line 64 t/03-export....ok 5/15Use of uninitialized value in pattern match (m// +) at /root/.cpan/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 415. t/03-export....NOK 6# Failed test 6 in t/03-export.t at line 41 fail # +2 Use of uninitialized value in print at /root/.cpan/build/Crypt-GPG-1.5 +2/blib/lib/Crypt/GPG.pm line 366. Use of uninitialized value in string eq at t/03-export.t line 47. Use of uninitialized value in string eq at t/03-export.t line 47. t/03-export....ok 7/15Use of uninitialized value in print at /root/.cp +an/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 366. Use of uninitialized value in string eq at t/03-export.t line 54. Use of uninitialized value in string eq at t/03-export.t line 54. t/03-export....ok 8/15Use of uninitialized value in pattern match (m// +) at /root/.cpan/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 415. t/03-export....NOK 9# Failed test 9 in t/03-export.t at line 64 fail # +2 t/03-export....ok 10/15Use of uninitialized value in pattern match (m/ +/) at /root/.cpan/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 415 +. t/03-export....NOK 11# Failed test 11 in t/03-export.t at line 41 fail + #3 Use of uninitialized value in print at /root/.cpan/build/Crypt-GPG-1.5 +2/blib/lib/Crypt/GPG.pm line 366. Use of uninitialized value in string eq at t/03-export.t line 47. Use of uninitialized value in string eq at t/03-export.t line 47. t/03-export....ok 12/15Use of uninitialized value in print at /root/.c +pan/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 366. Use of uninitialized value in string eq at t/03-export.t line 54. Use of uninitialized value in string eq at t/03-export.t line 54. t/03-export....ok 13/15Use of uninitialized value in pattern match (m/ +/) at /root/.cpan/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 415 +. t/03-export....NOK 14# Failed test 14 in t/03-export.t at line 64 fail + #3 t/03-export....FAILED tests 1, 4, 6, 9, 11, 14 Failed 6/15 tests, 60.00% okay (less 3 skipped tests: 6 okay, +40.00%) t/04-encdec....NOK 1# Failed test 1 in t/04-encdec.t at line 43 Use of uninitialized value in string eq at t/04-encdec.t line 60. t/04-encdec....NOK 2# Failed test 2 in t/04-encdec.t at line 61 Use of uninitialized value in string eq at /root/.cpan/build/Crypt-GPG +-1.52/blib/lib/Crypt/GPG.pm line 586. t/04-encdec....NOK 3# Failed test 3 in t/04-encdec.t at line 52 Use of uninitialized value in string eq at t/04-encdec.t line 60. t/04-encdec....NOK 4# Failed test 4 in t/04-encdec.t at line 61 fail # +2 Use of uninitialized value in string eq at /root/.cpan/build/Crypt-GPG +-1.52/blib/lib/Crypt/GPG.pm line 586. t/04-encdec....NOK 5# Failed test 5 in t/04-encdec.t at line 68 t/04-encdec....NOK 6# Failed test 6 in t/04-encdec.t at line 43 fail # +2 Use of uninitialized value in string eq at t/04-encdec.t line 60. t/04-encdec....NOK 7# Failed test 7 in t/04-encdec.t at line 61 fail # +3 Use of uninitialized value in string eq at /root/.cpan/build/Crypt-GPG +-1.52/blib/lib/Crypt/GPG.pm line 586. t/04-encdec....NOK 8# Failed test 8 in t/04-encdec.t at line 52 fail # +2 Use of uninitialized value in string eq at t/04-encdec.t line 60. t/04-encdec....NOK 9# Failed test 9 in t/04-encdec.t at line 61 fail # +4 Use of uninitialized value in string eq at /root/.cpan/build/Crypt-GPG +-1.52/blib/lib/Crypt/GPG.pm line 586. t/04-encdec....NOK 10# Failed test 10 in t/04-encdec.t at line 68 fail + #2 t/04-encdec....NOK 11# Failed test 11 in t/04-encdec.t at line 43 fail + #3 Use of uninitialized value in string eq at t/04-encdec.t line 60. t/04-encdec....NOK 12# Failed test 12 in t/04-encdec.t at line 61 fail + #5 Use of uninitialized value in string eq at /root/.cpan/build/Crypt-GPG +-1.52/blib/lib/Crypt/GPG.pm line 586. t/04-encdec....NOK 13# Failed test 13 in t/04-encdec.t at line 52 fail + #3 Use of uninitialized value in string eq at t/04-encdec.t line 60. t/04-encdec....NOK 14# Failed test 14 in t/04-encdec.t at line 61 fail + #6 Use of uninitialized value in string eq at /root/.cpan/build/Crypt-GPG +-1.52/blib/lib/Crypt/GPG.pm line 586. t/04-encdec....NOK 15# Failed test 15 in t/04-encdec.t at line 68 fail + #3 t/04-encdec....FAILED tests 1-15 Failed 15/15 tests, 0.00% okay t/05-sigver....NOK 1# Failed test 1 in t/05-sigver.t at line 56 Use of uninitialized value in pattern match (m//) at t/05-sigver.t lin +e 63. t/05-sigver....NOK 2# Failed test 2 in t/05-sigver.t at line 64 t/05-sigver....ok 4/48Use of uninitialized value in pattern match (m// +) at /root/.cpan/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 137. Use of uninitialized value in string eq at t/05-sigver.t line 79. t/05-sigver....NOK 5# Failed test 5 in t/05-sigver.t at line 81 t/05-sigver....ok 7/48Use of uninitialized value in string eq at /root +/.cpan/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 586. t/05-sigver....NOK 8# Failed test 8 in t/05-sigver.t at line 45 undef passed at /usr/lib/perl5/site_perl/5.8.5/IPC/Run.pm line 1255 IPC::Run::_exec('/usr/local/bin/gpg', '--no-secmem-warning', ' +--compress-algo', 1, '--cipher-algo', 'cast5', '--force-v3-sigs', '-- +no-comment', '--default-key', ...) called at /usr/lib/perl5/site_perl +/5.8.5/IPC/Run.pm line 2630 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/IPC/Run.pm + line 2512 IPC::Run::_do_kid_and_exit('IPC::Run=HASH(0x9d0a090 +)', 'HASH(0x9d090f4)') called at /usr/lib/perl5/site_perl/5.8.5/IPC/R +un.pm line 1364 IPC::Run::_spawn('IPC::Run=HASH(0x9d0a090)', 'HASH(0x9d090f4)' +) called at /usr/lib/perl5/site_perl/5.8.5/IPC/Run.pm line 2781 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/IPC/Run.pm + line 2778 IPC::Run::start('ARRAY(0x9d02708)', 'SCALAR(0x9cadd +d4)', 'SCALAR(0x9caddec)', 'SCALAR(0x9cade04)', 'IPC::Run::Timer=HASH +(0x9d0a120)') called at /root/.cpan/build/Crypt-GPG-1.52/blib/lib/Cry +pt/GPG.pm line 283 Crypt::GPG::encrypt('Crypt::GPG=HASH(0x98e7c28)', 'Test\x{a}', + 'A 768 ELG-E', '-sign') called at t/05-sigver.t line 55 main::__ANON__() called at /usr/lib/perl5/5.8.5/Test.pm line 2 +28 Test::_to_value('CODE(0x9d040e0)') called at /usr/lib/perl5/5. +8.5/Test.pm line 383 Test::ok('CODE(0x9d040e0)') called at t/05-sigver.t line 56 at /root/.cpan/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 283 t/05-sigver....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED tests 1-2, 5, 8-48 Failed 44/48 tests, 8.33% okay (less 4 skipped tests: 0 okay, +0.00%) t/06-keyops....NOK 1# Failed test 1 in t/06-keyops.t at line 69 t/06-keyops....NOK 2# Failed test 2 in t/06-keyops.t at line 78 t/06-keyops....ok 3/45undef passed at /usr/lib/perl5/site_perl/5.8.5/I +PC/Run.pm line 1255 IPC::Run::_exec('/usr/local/bin/gpg', '--no-secmem-warning', ' +--compress-algo', 1, '--cipher-algo', 'cast5', '--force-v3-sigs', '-- +no-comment', '--no-tty', ...) called at /usr/lib/perl5/site_perl/5.8. +5/IPC/Run.pm line 2630 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/IPC/Run.pm + line 2512 IPC::Run::_do_kid_and_exit('IPC::Run=HASH(0x8b97df8 +)', 'HASH(0x8b98e00)') called at /usr/lib/perl5/site_perl/5.8.5/IPC/R +un.pm line 1364 IPC::Run::_spawn('IPC::Run=HASH(0x8b97df8)', 'HASH(0x8b98e00)' +) called at /usr/lib/perl5/site_perl/5.8.5/IPC/Run.pm line 2781 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/IPC/Run.pm + line 2778 IPC::Run::start('ARRAY(0x8b98b30)', 'SCALAR(0x8b62d +d8)', 'SCALAR(0x8b62df0)', 'SCALAR(0x8b62e08)', 'IPC::Run::Timer=HASH +(0x8b97de0)') called at /root/.cpan/build/Crypt-GPG-1.52/blib/lib/Cry +pt/GPG.pm line 637 Crypt::GPG::keytrust('Crypt::GPG=HASH(0x878409c)', 'undef', 3) + called at t/06-keyops.t line 87 main::__ANON__() called at /usr/lib/perl5/5.8.5/Test.pm line 2 +28 Test::_to_value('CODE(0x8b97164)') called at /usr/lib/perl5/5. +8.5/Test.pm line 383 Test::ok('CODE(0x8b97164)') called at t/06-keyops.t line 88 at /root/.cpan/build/Crypt-GPG-1.52/blib/lib/Crypt/GPG.pm line 637 t/06-keyops....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED tests 1-2, 4-45 Failed 44/45 tests, 2.22% okay (less 1 skipped test: 0 okay, 0 +.00%) Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/03-export.t 15 6 40.00% 1 4 6 9 11 14 t/04-encdec.t 15 15 100.00% 1-15 t/05-sigver.t 1 256 48 84 175.00% 1-2 5 8-48 t/06-keyops.t 1 256 45 86 191.11% 1-2 4-45 8 subtests skipped. Failed 4/6 test scripts, 33.33% okay. 109/127 subtests failed, 14.17% +okay. make: *** [test_dynamic] Error 1 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
maybe I'll take a look at your recommendation.
Thx anyway
Chris

jdporter added code tags


In reply to Re: Looking for working GPG module by chrism01
in thread Looking for working GPG module by chrism01

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.