Hello,
On Monday 21 May 2007 03:48:19 via RT wrote:
Show quoted text> Sun May 20 23:48:18 2007: Request 27218 was acted upon.
> Transaction: Ticket created by IMACAT
> Queue: Math-BigInt
> Subject: couldn't load specified math lib(s), fallback to
> Math::BigInt::Calc Broken in: 1.86
> Severity: Unimportant
> Owner: Nobody
> Requestors: imacat@mail.imacat.idv.tw
> Status: new
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=27218 >
>
>
> Dear Tels,
>
> Hi. This is imacat from Taiwan. I'm currently acting as a CPAN
> testers helping testing CPAN modules uploaded daily. I found the
> following warning in all the modules using Math::BigInt since I upgraded
> it to 1.86:
>
> Manifying blib/man3/Crypt::DH.3
> Running [/usr/bin/make test -j 2]...
> t/00-compile....Math::BigInt: couldn't load specified math lib(s),
> fallback to Math::BigInt::Calc at
This looks like you have another older library on your system. I would
guess it its either Math::BigInt::GMP or Math::BigInt::FastCalc.
You have to check what f.i. Crypt::DH loads in it's testsuite and then
see if you either:
* install the newer libraries
* or modify the tests to make the warning go away
The warning appears because:
use Math::BigInt lib => 'GMP';
tries to load (for instance) Math::BigInt::GMP and this is either not
installed or outdated.
The following suppresses the warning:
use Math::BigInt try => 'GMP';
This turns the warning into a "die" if GMP is not installed
use Math::BigInt only => 'GMP';
What you use depends on whether the module can work with or without GMP.
Without GMP the math routines will all work correctly in all cases, but
they will be slower for very big numbers (e.g. > 2 ** 255 or more,
depending on the operation).
(For very small numbers, currently the default libary FastCalc/Calc is
slightly faster).
I am marking this bug as resolved, but if this doesn't solve your issue,
please do not hesitate to re-open it.
All the best,
Tels