Skip Menu |

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

Report information
The Basics
Id: 125018
Status: resolved
Priority: 0/
Queue: Math-GMP

People
Owner: Nobody in particular
Requestors: polettix [...] cpan.org
Cc: PLICEASE [...] cpan.org
schwigon [...] cpan.org
WBRASWELL [...] cpan.org
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



CC: plicease [...] cpan.org, wbraswell [...] cpan.org, schwigon [...] cpan.org
Subject: Adding Alien::GMP As Dependency
Hi! I am a user of Net::SSH::Perl, which makes use of Math::GMP. Graham has a great CPAN distribution called Alien::GMP, which will automatically detect if GMP is installed, and if not then it will build GMP for you independent of OS. Alien::GMP has no affect upon systems which already have GMP installed via the OS, so Alien::GMP will only build libgmp from source when it is actually necessary. Will you please consider adding Alien::GMP as a dependency of Math::GMP? Thanks, ~ Flavio. PS - I will be happy to make a pull request if there is an official GitHub repo? PPS - There is also a parallel request to make it a dependency for Math::BigInt::GMP, led by William Braswell. I copied almost all of the text for this ticket from William's actually. Here is the placeholder GitHub Issue where this started: https://github.com/rsimoes/Alien-GMP/issues/6
Subject: Re: [rt.cpan.org #125018] Adding Alien::GMP As Dependency
Date: Thu, 5 Apr 2018 12:02:46 +0300
To: bug-Math-GMP [...] rt.cpan.org
From: Shlomi Fish <shlomif [...] shlomifish.org>
Hi Flavio! On Thu, 5 Apr 2018 03:44:06 -0400 "Flavio Poletti via RT" <bug-Math-GMP@rt.cpan.org> wrote: Show quoted text
> Thu Apr 05 03:44:05 2018: Request 125018 was acted upon. > Transaction: Ticket created by POLETTIX > Queue: Math-GMP > Subject: Adding Alien::GMP As Dependency > Broken in: (no value) > Severity: Wishlist > Owner: Nobody > Requestors: polettix@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=125018 > > > > Hi! I am a user of Net::SSH::Perl, which makes use of Math::GMP. > > Graham has a great CPAN distribution called Alien::GMP, which will > automatically detect if GMP is installed, and if not then it will build GMP > for you independent of OS. > > Alien::GMP has no affect upon systems which already have GMP installed via > the OS, so Alien::GMP will only build libgmp from source when it is actually > necessary. > > Will you please consider adding Alien::GMP as a dependency of Math::GMP? >
Sounds good. Show quoted text
> Thanks, > ~ Flavio. > > > PS - I will be happy to make a pull request if there is an official GitHub > repo? >
See https://github.com/turnstep/Math-GMP - sorry for the broken link on the metacpan page. Show quoted text
> PPS - There is also a parallel request to make it a dependency for > Math::BigInt::GMP, led by William Braswell. I copied almost all of the text > for this ticket from William's actually. Here is the placeholder GitHub Issue > where this started: > > https://github.com/rsimoes/Alien-GMP/issues/6
ok. -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Original Riddles - http://www.shlomifish.org/puzzles/ Summer Glau showed Kermit the Frog how easy it can be to be green. — http://www.shlomifish.org/humour/bits/facts/Summer-Glau/ Please reply to list if it's a mailing list post - http://shlom.in/reply .
On Thu Apr 05 05:51:32 2018, shlomif@shlomifish.org wrote: Show quoted text
> Hi Flavio! > > On Thu, 5 Apr 2018 03:44:06 -0400
> > Will you please consider adding Alien::GMP as a dependency of > > Math::GMP? > >
> > Sounds good.
To me too! Show quoted text
> > PS - I will be happy to make a pull request if there is an official > > GitHub repo?
> > See https://github.com/turnstep/Math-GMP - sorry for the broken link > on the metacpan page.
Thanks for updating, I missed it in the first place. I sent a pull request https://github.com/turnstep/Math-GMP/pull/1 I generated a package (temporarily removing "[Signature]") and tried to install it in two different systems, one with gmp already installed and one with a clean initial state (fresh docker container based on Alpine Linux), it worked as expected in both cases.
pull-req applied and uploaded to CPAN. thanks! On Fri Apr 06 18:53:32 2018, POLETTIX wrote: Show quoted text
> On Thu Apr 05 05:51:32 2018, shlomif@shlomifish.org wrote:
> > Hi Flavio! > > > > On Thu, 5 Apr 2018 03:44:06 -0400
> > > Will you please consider adding Alien::GMP as a dependency of > > > Math::GMP? > > >
> > > > Sounds good.
> > To me too! >
> > > PS - I will be happy to make a pull request if there is an official > > > GitHub repo?
> > > > See https://github.com/turnstep/Math-GMP - sorry for the broken link > > on the metacpan page.
> > Thanks for updating, I missed it in the first place. > > I sent a pull request https://github.com/turnstep/Math-GMP/pull/1 > > I generated a package (temporarily removing "[Signature]") and tried > to install it in two different systems, one with gmp already installed > and one with a clean initial state (fresh docker container based on > Alpine Linux), it worked as expected in both cases.