Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

silence Math::BigInt error if we do not have optional GMP #6

Closed
ktdreyer opened this issue Feb 16, 2011 · 2 comments
Closed

silence Math::BigInt error if we do not have optional GMP #6

ktdreyer opened this issue Feb 16, 2011 · 2 comments

Comments

@ktdreyer
Copy link

GMP is optional to Math::BigInt. I have a patch, hopefully GitHub allows me to attach it.

@ktdreyer
Copy link
Author

--- mysql-agent 2010-09-30 14:30:24.000000000 -0400
+++ mysql-agent 2010-09-30 15:08:03.000000000 -0400
@@ -35,7 +35,7 @@

Math::BigInt reverts to perl only

automatically if GMP is not installed

-use Math::BigInt lib => 'GMP';
+use Math::BigInt try => 'GMP';

sub new {
bless {}, shift;

@ktdreyer
Copy link
Author

Well that was as clear as mud. Basically, replace "lib" with "try".

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant