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