我正在尝试安装Perl模块Crypt :: DSA,但它无法正常工作。不幸的是,我在互联网上找不到任何东西。
以下是详细信息:
[root@jenkins_slave Crypt-DSA-1.17]# perl Makefile.PL
Generating a Unix-style Makefile
Writing Makefile for Crypt::DSA
Writing MYMETA.yml and MYMETA.json
[root@vpc-jenkins_slave3 Crypt-DSA-1.17]# make
Skip blib/lib/Crypt/DSA/Signature.pm (unchanged)
Skip blib/lib/Crypt/DSA/Key/SSH2.pm (unchanged)
Skip blib/lib/Crypt/DSA.pm (unchanged)
Skip blib/lib/Crypt/DSA/Util.pm (unchanged)
Skip blib/lib/Crypt/DSA/KeyChain.pm (unchanged)
Skip blib/lib/Crypt/DSA/Key/PEM.pm (unchanged)
Skip blib/lib/Crypt/DSA/Key.pm (unchanged)
Manifying blib/man3/Crypt::DSA.3pm
Manifying blib/man3/Crypt::DSA::Key.3pm
Manifying blib/man3/Crypt::DSA::Key::PEM.3pm
Manifying blib/man3/Crypt::DSA::Key::SSH2.3pm
Manifying blib/man3/Crypt::DSA::KeyChain.3pm
Manifying blib/man3/Crypt::DSA::Signature.3pm
Manifying blib/man3/Crypt::DSA::Util.3pm
[root@jenkins_slave Crypt-DSA-1.17]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t .. 1/1 # Testing Crypt::DSA 1.17
t/00-compile.t .. ok
t/01-util.t ..... ok
t/02-sign.t ..... ok
t/03-keygen.t ... ok
t/04-pem.t ...... 1/26 Use of uninitialized value $_[3] in abs at /usr/share/perl5/vendor_perl/Convert/ASN1/_encode.pm line 83.
Use of uninitialized value $_[3] in int at /usr/share/perl5/vendor_perl/Convert/ASN1/_encode.pm line 92.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Convert/PEM.pm line 102.
# Failed test 'Load key using Crypt::DSA::key'
# at t/04-pem.t line 46.
Can't call method "p" on an undefined value at t/04-pem.t line 47.
# Looks like you planned 26 tests but ran 7.
# Looks like you failed 1 test of 7 run.
# Looks like your test exited with 255 just after 7.
t/04-pem.t ...... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 20/26 subtests
t/06-fips.t ..... 1/9 # This takes a couple of minutes on slower machines.
t/06-fips.t ..... ok
t/07-openid.t ... 1/11
# Failed test 'Parsed key'
# at t/07-openid.t line 39.
Can't call method "p" on an undefined value at t/07-openid.t line 40.
# Looks like you planned 11 tests but ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test exited with 255 just after 2.
t/07-openid.t ... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 10/11 subtests
Test Summary Report
-------------------
t/04-pem.t (Wstat: 65280 Tests: 7 Failed: 1)
Failed test: 7
Non-zero exit status: 255
Parse errors: Bad plan. You planned 26 tests but ran 7.
t/07-openid.t (Wstat: 65280 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 255
Parse errors: Bad plan. You planned 11 tests but ran 2.
Files=7, Tests=54, 464 wallclock secs ( 0.05 usr 0.05 sys + 21.05 cusr 0.19 csys = 21.34 CPU)
Result: FAIL
Failed 2/7 test programs. 2/54 subtests failed.
make: *** [test_dynamic] Error 255
我正在使用Linux机器。任何帮助将非常感激。
答案 0 :(得分:0)