Skip Menu |
 

This queue is for tickets about the PDL-Stats CPAN distribution.

Report information
The Basics
Id: 73453
Status: resolved
Priority: 0/
Queue: PDL-Stats

People
Owner: MAGGIEXYZ [...] cpan.org
Requestors: sisyphus [...] cpan.org
Cc:
AdminCc:

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



Subject: GSL/gsl_cdf.pd: Need to remove quotes from $header
Download (untitled) / with headers
text/plain 765b
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
Thanks for the fix! I'll update git soon.
Resolved in latest code at sourceforge git.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.