Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Fellow monks, I beg assistance.

I have long been a Win32-Perl (AS) programmer, and as such, have limited experience with CPAN(?:PLUS)? due to the lack of a C compiler. Well, now I'm working with multiple systems (I built me a LINUX BOX!!! (YAY!!)) and I'm running into one little problem after another.

I've been able to improvise pretty well to get around various problems, but this one has me a little stuck, and I admit, I'm not entirely certain it's a Perl problem, though it is making it difficult to install modules. I have no idea how to make sense of most of what CPAN/make reports during an install, so I will do my best to paste it below (While I have your attention, how DO you copy-paste from a terminal window? I had to use Webmin to get this.)

This is an excerpt from my attempt to upgrade Module::Signature thinking it may be the problem...

&gt; cpan -i Module::Signature CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Sat, 30 Aug 2003 21:45:27 GMT Running install for module Module::Signature Running make for A/AU/AUTRIJUS/Module-Signature-0.35.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/A/AU/AUTRIJUS/Module-Signa +ture-0.35.tar.gz ok Scanning cache /root/.cpan/build for sizes Module-Signature-0.35/ Module-Signature-0.35/inc/ Module-Signature-0.35/inc/ExtUtils/ Module-Signature-0.35/inc/ExtUtils/AutoInstall.pm Module-Signature-0.35/inc/Module/ Module-Signature-0.35/inc/Module/Install.pm Module-Signature-0.35/inc/Module/Install/ Module-Signature-0.35/inc/Module/Install/AutoInstall.pm Module-Signature-0.35/inc/Module/Install/Fetch.pm Module-Signature-0.35/inc/Module/Install/Include.pm Module-Signature-0.35/inc/Module/Install/Makefile.pm Module-Signature-0.35/inc/Module/Install/Base.pm Module-Signature-0.35/inc/Module/Install/Scripts.pm Module-Signature-0.35/inc/Module/Install/Metadata.pm Module-Signature-0.35/inc/Module/Install/Can.pm Module-Signature-0.35/inc/Module/Install/Win32.pm Module-Signature-0.35/inc/SCRIPTS/ Module-Signature-0.35/inc/SCRIPTS/cpansign Module-Signature-0.35/bin/ Module-Signature-0.35/bin/cpansign Module-Signature-0.35/lib/ Module-Signature-0.35/lib/Module/ Module-Signature-0.35/lib/Module/Signature.pm Module-Signature-0.35/PAUSE2003.pub Module-Signature-0.35/Changes Module-Signature-0.35/t/ Module-Signature-0.35/t/1-basic.t Module-Signature-0.35/t/0-signature.t Module-Signature-0.35/MANIFEST Module-Signature-0.35/TODO Module-Signature-0.35/META.yml Module-Signature-0.35/AUTRIJUS.pub Module-Signature-0.35/AUTHORS Module-Signature-0.35/SIGNATURE Module-Signature-0.35/README Module-Signature-0.35/Makefile.PL Removing previously used /root/.cpan/build/Module-Signature-0.35 CPAN.pm: Going to build A/AU/AUTRIJUS/Module-Signature-0.35.tar.gz *** Looking for GnuPG (GNU Privacy Guard, a cryptographic signature to +ol)... gpg: /root/.gnupg/options:1: invalid option gpg: /root/.gnupg/options:2: invalid option gpg: /root/.gnupg/options:3: invalid option gpg: /root/.gnupg/options:1: invalid option gpg: /root/.gnupg/options:2: invalid option gpg: /root/.gnupg/options:3: invalid option GnuPG found (/usr/bin/gpg). Importing PAUSE and author keys to GnuPG. +.. gpg: /root/.gnupg/options:1: invalid option gpg: /root/.gnupg/options:2: invalid option gpg: /root/.gnupg/options:3: invalid option done. *** ExtUtils::AutoInstall version 0.52 *** Checking for dependencies... [Core Features] - Test::More ...loaded. (0.47) - Digest::SHA1 ...loaded. (2.02) [Sign and verify PAR (Perl Archive) files] - PAR::Dist ...loaded. (0.05) *** ExtUtils::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for Module::Signature Now, please enter 'make test' to test, and 'make install' to install. cp lib/Module/Signature.pm blib/lib/Module/Signature.pm cp inc/SCRIPTS/cpansign blib/script/cpansign /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script +/cpansign Manifying blib/man3/Module::Signature.3 /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/0-signature.t t/1-basic.t t/0-signature....gpg: /root/.gnupg/options:1: invalid option gpg: /root/.gnupg/options:2: invalid option gpg: /root/.gnupg/options:3: invalid option gpg: /root/.gnupg/options:1: invalid option gpg: /root/.gnupg/options:2: invalid option gpg: /root/.gnupg/options:3: invalid option ==> BAD/TAMPERED signature detected! <== # Failed test (t/0-signature.t at line 17) # Looks like you failed 1 tests of 1. dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/1-basic........ok Failed 1/2 test scripts, 50.00% okay. 1/3 subtests failed, 66.67% okay +. Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/0-signature.t 1 256 1 1 100.00% 1 make: *** [test_dynamic] Error 29 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force

Based upon what it prints, I'm thinking it may have something to do with GnuPG, but I just re-built it and had no better luck.

Thanks for any and all advice, including, if you can specify a specific document, RTFM, as I have been unable to locate anything pertinant on the GnuPG website, nor in the Module::Signature docs.

Final note: It isn't just Module::Signature that is having a hard time installing; anything with a signature test is failing, including (but not limited to) Bundle::CPAN.



My code doesn't have bugs, it just develops random features.

Flame ~ Lead Programmer: GMS (DOWN) | GMS (DOWN)


In reply to signature test failing by Flame

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others examining the Monastery: (5)
    As of 2014-12-29 07:33 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (185 votes), past polls