-1

I used strawberry perl in windows 7. I need to install Math-GSL-0.36.

using command:

perl Build.PL 

But the command give error:

Checking for GSL using gsl-config Can't exec "gsl-config": No such file or directory at Build.pl line 305.


*** Can't find GSL with gsl-config.

*** Trying with PkgConfig.

PkgConfig is currently needed to find GSL for the compilation of this module.

How to solve this problem? please help

Animesh Kumar Paul
  • 2,241
  • 4
  • 26
  • 37

2 Answers2

1

You need to have gsl-config installed, the README.md states that you need to have a proper GSL install before building the module. gsl-config can be found in the following package on Debian:

sudo apt-get install libgsl0-dev
Dr.Avalanche
  • 1,944
  • 2
  • 28
  • 37
-1

Go to http://strawberryperl.com/releases.html and download Strawberry Perl PDL edition. It comes with bundled gsl binaries (and also with gsl-config).

Other option is to download gsl binaries from http://strawberryperl.com/package/kmx/32_libs/gcc49-2015Q2/ (v1.16) or http://strawberryperl.com/package/kmx/32_libs/gcc49-2016Q2/ (v2.1) and simply unpack them into your existing strawberry folder.

kmx
  • 7,912
  • 1
  • 15
  • 9