Subject: | Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc |
Dear Benjamin Trott,
Hi. This is imacat from Taiwan. After I upgrade my Math::BigInt,
Crypt-DH-0.06 generates a lot of warnings:
imacat@rinse tmp/Crypt-DH-0.06 % make test
t/00-compile....Math::BigInt: couldn't load specified math lib(s),
fallback to Math::BigInt::Calc at
/home/imacat/tmp/Crypt-DH-0.06/blib/lib/Crypt/DH.pm line 6
t/00-compile....ok
t/01-dh.........Math::BigInt: couldn't load specified math lib(s),
fallback to Math::BigInt::Calc at
/home/imacat/tmp/Crypt-DH-0.06/blib/lib/Crypt/DH.pm line 6
After talking with Tels, the author of Math::BigInt,
http://rt.cpan.org/Ticket/Display.html?id=27218
and digging into this issue, I found that since Math::BigInt 1.78 it
has added a new import type "try" and make "lib" generating warnings:
http://search.cpan.org/src/TELS/Math-BigInt-1.86/CHANGES
And if you still use "lib", when GMP is not present it generates
warnings.
I guess Crypt::DH should cope with this. I have produced and
attached a simple patch. I have tested it against Math::BigInt 1.77 and
Math::BigInt 1.86, and it works. Hope that this helps. Please tell me
if you need any more information.
Subject: | Crypt-DH-0.06-Math-BigInt-try.diff.asc |
Message body not shown because it is not plain text.