Skip Menu |
 

This queue is for tickets about the Crypt-DH CPAN distribution.

Report information
The Basics
Id: 27356
Status: open
Priority: 0/
Queue: Crypt-DH

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

Bug Information
Severity: Normal
Broken in: 0.06
Fixed in: (no value)

Attachments
Crypt-DH-0.06-Math-BigInt-try.diff.asc



Subject: Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc
Download (untitled) / with headers
text/plain 1.1k
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
Download Crypt-DH-0.06-Math-BigInt-try.diff.asc
application/octet-stream 777b

Message body not shown because it is not plain text.

From: markhensler [...] pointloma.edu
imacat, This fix worked for me. (Crypt::DH 0.06 with Math::BigInt 1.89) Thanks!


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.