Subject: | GSL/gsl_cdf.pd: Need to remove quotes from $header |
In GSL/gsl_cdf.pd we have:
my ($header) = `gsl-config --cflags` =~ m/-I(.+)$/;
$header .= '/gsl/gsl_cdf.h';
On my (Win32) build of Strawberry's perl-5.14.2, `gsl-config --cflags`
returns:
-I"F:\strawberry514\c\bin\..\include"
and $header therefore ends up being:
"F:\strawberry514\c\bin\..\include"/gsl/gsl_cdf.h
Trying to open $header for reading will fail, setting $! to "Invalid
argument" - because of the double-quotes. So, before we try to open
that file, we first need to:
$header =~ s/"//g;
I don't think a double-quote can ever be a valid part of a filename, so
we should be able insert that substitution regex without having to worry
that it might cause problems elsewhere.
With that change in place, PDL-Stats-0.5.5 then built fine.
Cheers,
Rob