Skip Menu |

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

Report information
The Basics
Id: 74141
Status: rejected
Priority: 0/
Queue: Math-GSL

People
Owner: Nobody in particular
Requestors: florent.angly [...] gmail.com
Cc:
AdminCc:

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



Hi, I was thinking about how to make it easier to install Math::Gsl. At the moment, it makes it harder than it should be to install it because GSL has to be installed manually. I was thinking that you could ship a version of GSL with Math::Gsl, as it is done in the Boost::Graph module: http://search.cpan.org/~dburdick/Boost-Graph/Graph.pm#INSTALLATION The advantage is that you can simply get a working version of the module in a single command (no need to install GSL separately): sudo cpan install Math::Gsl Best, Florent
Any plans for addressing this issue? Without this support, it makes it impossible to build Perl scripts without the end-users having to go through tedious manual installation steps. Cheers, Florent
On Sun Jun 08 20:19:12 2014, FANGLY wrote: Show quoted text
> Any plans for addressing this issue? > Without this support, it makes it impossible to build Perl scripts > without the end-users having to go through tedious manual installation > steps. > Cheers, > Florent
Hello, Florent. The module continues to be owned by Jonathan Leto, I am trying just to maintain it. If it was my module, my decision would be not to build GSL from the Perl script. All linuxes have GSL. It is very easy to install GSL on a Mac (brew install gsl). I think the only operating system where things can be problematic is windows... If the idea is to ship software in an end-user fashion, then probably it would make more sense to prepare a generic tool that would install *ANY* library. On linuxes it would search for packages, and try to install them, and compile if not available. For mac it might use brew or macports or something similar. For windows it would compile it. But the module would be generic enough so that each Perl module that includes bindings do not need to deal with this jungle of operating systems. This kind of module on CPAN would be very welcome, and more useful than making Math::GSL install GSL for itself... thoughts? Best, ambs
Hello, again, Florent Probably this module would help you? https://metacpan.org/pod/distribution/Alien-GSL/README.pod Best, ambs
Bundling GSL with Math::GSL is just not going to happen. It would be a huge amount of work and cause all kinds of obscure bugs. Currently somebody can do a `cpanm install Alien::GSL` to install GSL from the Perl toolchain, so that seems to be a much better solution to the problem. I will improve our error messages to point people to Alien::GSL : https://github.com/leto/math--gsl/issues/99 Duke On Mon Jun 09 11:47:18 2014, AMBS wrote: Show quoted text
> Hello, again, Florent > > Probably this module would help you? > https://metacpan.org/pod/distribution/Alien-GSL/README.pod > > Best, > ambs