Skip Menu |
 

This queue is for tickets about the Math-BigInt CPAN distribution.

Report information
The Basics
Id: 27218
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 1.86
Fixed in: (no value)



Subject: couldn't load specified math lib(s), fallback to Math::BigInt::Calc
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 867
Download (untitled) / with headers
text/plain 867b
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 /opt/perl/testers/.cpanplus/5.8.8/build/Crypt-DH-0.06/blib/lib/Crypt/DH.pm line 6 ok t/01-dh.........Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at /opt/perl/testers/.cpanplus/5.8.8/build/Crypt-DH-0.06/blib/lib/Crypt/DH.pm line 6 This message keeps showing. Is this normal? Could I safely ignore it? Or is this something that needs to be fixed? Do I have to do something about it? Thank you very much in advance.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-14822-1180263626-1990.27218-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 1988
Download (untitled) / with headers
text/plain 1.9k
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
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-14822-1180263626-1990.27218-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-7666-1180630587-1178.27218-0-0 [...] rt.cpan.org>
References: <rt-3.6.HEAD-14822-1180263626-1990.27218-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 577
Download (untitled) / with headers
text/plain 577b
On 2007-05-27 07:00:26 Sun, TELS wrote: Show quoted text
> 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 following suppresses the warning: > use Math::BigInt try => 'GMP';
Dear Tels, Oh. I see. I looked into the CHANGES file of Math::BigInt, and got some idea about this. Thank you for the hint. I have filed a bug report to Crypt::DH: http://rt.cpan.org/Ticket/Display.html?id=27356 Sorry for the bothering, and thank you for your time.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-9233-1183213270-1634.27218-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 67
I am marking this as resolved. Thank you for your bugreport, Tels


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.