Re: problem when installing Math::BigInt::GMP ...
- From: "Sisyphus" <sisyphus1@xxxxxxxxxxxxxxxxx>
- Date: Tue, 13 Mar 2007 12:51:30 +1100
"Raymundo" <gypark@xxxxxxxxx> wrote in message news:1173740140.945116.135160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
..
..
According to the above message, I looked at "/root/.cpan/build/Crypt-
DH-0.06/blib/lib/Crypt/DH.pm line 6" and I saw:
use Math::BigInt lib => "GMP,Pari";
Math::BigInt::Pari is installed in server, but Math::BigInt::GMP
isn't.
You don't really need *both* M::BI::GMP and M::BI::Pari. Either one should do - yet apparently *both* modules are not being found.
Then I tried to "install Math::BigInt::GMP" but I failed:
==========
cpan[36]> install Math::BigInt::GMP
Running install for module Math::BigInt::GMP
Running make for T/TE/TELS/math/Math-BigInt-GMP-1.19.tar.gz
Is already unwrapped into directory /root/.cpan/build/Math-BigInt-
GMP-1.19
Has already been processed within this session
Running make test
Prepending /root/.cpan/build/Math-Complex-1.37/blib/arch /root/.cpan/
build/Math-Complex-1.37/blib/lib to PERL5LIB.
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/bigfltpm....NOK 868/2042# Test 868 got: "1" (bigfltpm.inc at line
359)
# Expected: "undef"
t/bigfltpm....NOK 869/2042# Test 869 got: "1" (bigfltpm.inc at line
359 fail #2)
# Expected: "undef"
t/bigfltpm....NOK 870/2042# Test 870 got: "1" (bigfltpm.inc at line
359 fail #3)
# Expected: "undef"
t/bigfltpm....NOK 931/2042# Test 931 got: "1" (bigfltpm.inc at line
359 fail #4)
# Expected: "undef"
t/bigfltpm....NOK 932/2042# Test 932 got: "1" (bigfltpm.inc at line
359 fail #5)
# Expected: "undef"
t/bigfltpm....NOK 933/2042# Test 933 got: "1" (bigfltpm.inc at line
359 fail #6)
# Expected: "undef"
t/bigfltpm....NOK 934/2042# Test 934 got: "1" (bigfltpm.inc at line
359 fail #7)
# Expected: "undef"
t/bigfltpm....FAILED tests 868-870, 931-934
Failed 7/2042 tests, 99.66% okay
t/bigintg.....ok
t/bigintpm....NOK 790/3005# Test 790 got: "1" (bigintpm.inc at line
670)
# Expected: "undef"
t/bigintpm....NOK 791/3005# Test 791 got: "1" (bigintpm.inc at line
670 fail #2)
# Expected: "undef"
t/bigintpm....NOK 792/3005# Test 792 got: "1" (bigintpm.inc at line
670 fail #3)
# Expected: "undef"
t/bigintpm....NOK 828/3005# Test 828 got: "1" (bigintpm.inc at line
670 fail #4)
# Expected: "undef"
t/bigintpm....NOK 829/3005# Test 829 got: "1" (bigintpm.inc at line
670 fail #5)
# Expected: "undef"
t/bigintpm....NOK 830/3005# Test 830 got: "1" (bigintpm.inc at line
670 fail #6)
# Expected: "undef"
t/bigintpm....NOK 831/3005# Test 831 got: "1" (bigintpm.inc at line
670 fail #7)
# Expected: "undef"
t/bigintpm....FAILED tests 790-792, 828-831
Failed 7/3005 tests, 99.77% okay
t/pod.........ok
1/1 skipped: various reasons
t/pod_cov.....ok
1/1 skipped: various reasons
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/bigfltpm.t 2042 7 868-870 931-934
t/bigintpm.t 3005 7 790-792 828-831
2 subtests skipped.
Failed 2/5 test scripts. 14/5341 subtests failed.
Files=5, Tests=5341, 18 wallclock secs (11.65 cusr + 0.80 csys =
12.45 CPU)
Failed 2/5 test programs. 14/5341 subtests failed.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
TELS/math/Math-BigInt-GMP-1.19.tar.gz : make_test NO
==========
I don't know why it failed and what I can do for it...
It could just be a bug in the test script. Take a look at the 14 tests that failed and see if you can work out why they failed.
It looks likely that all of the failing tests fail for exactly the same reason. Once you know why *one* of those tests failed, you'll probably know why they *all* failed.
Which version of Math::BigInt do you have ? There's a minimum version number required - you can find which version of Math::BigInt (or later) is needed by looking in the M::BI::GMP Makefile.PL. Make sure that requirement is satisified.
Cheers,
Rob
.
- Follow-Ups:
- Re: problem when installing Math::BigInt::GMP ...
- From: Raymundo
- Re: problem when installing Math::BigInt::GMP ...
- References:
- problem when installing Math::BigInt::GMP ...
- From: Raymundo
- problem when installing Math::BigInt::GMP ...
- Prev by Date: problem when installing Math::BigInt::GMP ...
- Next by Date: Re: Crypt::RSA
- Previous by thread: problem when installing Math::BigInt::GMP ...
- Next by thread: Re: problem when installing Math::BigInt::GMP ...
- Index(es):
Relevant Pages
|
|