@Chris, I installed a binary distribution of GSL v 1.13, so the output from the three commands you recommend gives this:
$ gsl-config --libs -L/usr/local/lib -lgsl -lgslcblas -lm $ gsl-config --cflags -I/usr/local/include $ gsl-config --version 1.13 The minimum version for GSL is 1.3, so since 13 > 3, this should be ok. @Puneet - no worries, something is always better than nothing. I'll update the wiki if I figure this out. @Joel - an Alien::GSL module would be great and might resolve the issue I am having here. However, installing GSL is not the problem right now. @Matthew - awesome... where can I find the instructions for building SciPDL? I like to keep up with the latest and greatest PDL from git. :-) Another weird aspect of this whole thing is that I have WITH_GSL => undef, but running the makefile (even after make realclean) leads to lots of the GSL sub-modules saying that they "Will forcibly try and build PDL::GSL::<submodule> on this system". The build for the submodules is being forced because the main GSL module found what it needed and set WITH_GSL => 1, but something's screwy with the submodules and they are no longer able to find what they need. Actually, I believe the issue is with PDL::Core::Dev::trylink, but now I'm getting to the point where I should probably move the discussion to the porters. Before I do that, are there any other insights regarding PDL's GSL bindings? David On Mon, Sep 26, 2011 at 9:27 AM, Chris Marshall <[email protected]> wrote: > Do you have gsl-config in your path? If so, the > GSL should be detected. I suggest running the > following from PDL/Lib/GSL/Makefile.PL as > see if the results are correct: > > gsl-config --libs > > gsl-config --cflags > > gsl-config --version > > --Chris > > On Mon, Sep 26, 2011 at 10:14 AM, David Mertens > <[email protected]> wrote: >> Hey folks - >> >> I have a shiny new Mac and I'm trying to get some of my code working >> on it. I had no trouble building the stock PDL, but I noticed that the >> build is not detecting GSL. Before launching a formal inquiry, I was >> wondering if anybody had any hints for how to get GSL working on macs. >> The wiki, alas, simply says, "I was unable to get GSL to work." Any >> pointers? >> >> Thanks! >> >> David >> >> -- >> Sent via my carrier pigeon. >> >> _______________________________________________ >> Perldl mailing list >> [email protected] >> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl >> > -- Sent via my carrier pigeon. _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
