Skip Menu |

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

Report information
The Basics
Id: 119286
Status: resolved
Priority: 0/
Queue: Math-GSL

People
Owner: Nobody in particular
Requestors: bernt.guldbrandtsen [...] mbg.au.dk
Cc:
AdminCc:

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



Subject: Compile problem with GNU GSL in non-standard location
Date: Sun, 18 Dec 2016 10:23:52 +0000
To: "bug-Math-GSL [...] rt.cpan.org" <bug-Math-GSL [...] rt.cpan.org>
From: Bernt Guldbrandtsen <bernt.guldbrandtsen [...] mbg.au.dk>
Dear maintainers, There seems to be a problem with compiling Math::GSL 0.39 when GNU GSL is installed in a non-standard location. I have the current GNU GSL in an NFS mount in a location outside the /usr tree. When configuring (perl Build.PL), gsl-config is found. However the information about include paths is later lost by Build.PL. If I change "$ldflags" to "$ccflags" at the end of line 352 of Build.PL, compilation works and all tests pass. Best regards, Bernt Guldbrandtsen
Hi, On Sun Dec 18 05:24:19 2016, bernt.guldbrandtsen@mbg.au.dk wrote: Show quoted text
> When configuring (perl Build.PL), gsl-config is found. However the > information about include paths is later lost by Build.PL. If I change > "$ldflags" to "$ccflags" at the end of line 352 of Build.PL, > compilation works and all tests pass.
I am lost. Can you please point the line you are changing at https://metacpan.org/source/LETO/Math-GSL-0.39/Build.PL because line 359 doesn't make much sense :-) Thanks
Subject: RE: [rt.cpan.org #119286] Compile problem with GNU GSL in non-standard location
Date: Fri, 23 Dec 2016 19:00:04 +0000
To: "bug-Math-GSL [...] rt.cpan.org" <bug-Math-GSL [...] rt.cpan.org>
From: Bernt Guldbrandtsen <bernt.guldbrandtsen [...] mbg.au.dk>
Sorry, neither 352 nor 359. The change is to line 73, which should (I think) be: $ccflags = $Config{cccdlflags} . ' ' . $ccflags; Show quoted text
> -----Original Message----- > From: Alberto Simões via RT [mailto:bug-Math-GSL@rt.cpan.org] > Sent: 22. december 2016 21:57 > To: Bernt Guldbrandtsen > Subject: [rt.cpan.org #119286] Compile problem with GNU GSL in non- > standard location > > <URL: https://rt.cpan.org/Ticket/Display.html?id=119286 > > > Hi, > > On Sun Dec 18 05:24:19 2016, bernt.guldbrandtsen@mbg.au.dk wrote:
> > When configuring (perl Build.PL), gsl-config is found. However the > > information about include paths is later lost by Build.PL. If I change > > "$ldflags" to "$ccflags" at the end of line 352 of Build.PL, > > compilation works and all tests pass.
> > > I am lost. > Can you please point the line you are changing at > https://metacpan.org/source/LETO/Math-GSL-0.39/Build.PL > because line 359 doesn't make much sense :-) > > Thanks
Subject: Re: [rt.cpan.org #119286] Compile problem with GNU GSL in non-standard location
Date: Fri, 23 Dec 2016 20:52:12 +0000
To: bug-Math-GSL [...] rt.cpan.org
From: Alberto Simoes <ambs [...] perl-hackers.net>
On 23/12/2016 20:47, Bernt Guldbrandtsen via RT wrote: Show quoted text
> Queue: Math-GSL > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119286 > > > Sorry, neither 352 nor 359. The change is to line 73, which should (I think) be: > > $ccflags = $Config{cccdlflags} . ' ' . $ccflags;
Yep, it looks like a bug to me. Will prepare a patch and wait for Leto to validate the change. Thanks Show quoted text
>
>> -----Original Message----- >> From: Alberto Simões via RT [mailto:bug-Math-GSL@rt.cpan.org] >> Sent: 22. december 2016 21:57 >> To: Bernt Guldbrandtsen >> Subject: [rt.cpan.org #119286] Compile problem with GNU GSL in non- >> standard location >> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=119286 > >> >> Hi, >> >> On Sun Dec 18 05:24:19 2016, bernt.guldbrandtsen@mbg.au.dk wrote:
>>> When configuring (perl Build.PL), gsl-config is found. However the >>> information about include paths is later lost by Build.PL. If I change >>> "$ldflags" to "$ccflags" at the end of line 352 of Build.PL, >>> compilation works and all tests pass.
>> >> >> I am lost. >> Can you please point the line you are changing at >> https://metacpan.org/source/LETO/Math-GSL-0.39/Build.PL >> because line 359 doesn't make much sense :-) >> >> Thanks
>
In fact it is fixed in the github repo. Poking leto for a new release.