I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-07-06 18:39:54.409503-07 by mceruso99 in response to 13116
Re: Math-Gsl for Mac Os
Hi,

I have had the same problem. The @linker_flags array in the file inc/GSBuilder.pm contained '-shared' as first element. -shared is not compatible w/ -bundle which was also one of the elements in the array. I solved the issue by modifying the file inc/GSBuilder.pm (it's read only so you'll have to chmod +w inc/GSBuilder.pm first), and add the following command on line 124 of inc/GSBuilder.pm as found in Math::GSL version 0.25:

shift @linker_flags;

This removes the first element of the array i.e. the '-shared' and compilation and tests passed flawlessly. If -shared is not the first element splice it out!

This is probably a dirty fix. Ideally I'd like to understand how the -shared got their in the first place. But that's for another time. Hope this helps. Cheers.

Direct Responses: 13461 | Write a response