[Haskell-beginners] cmath Install troubles

Brandon Allbery allbery.b at gmail.com
Fri Jan 20 21:50:22 CET 2012


On Fri, Jan 20, 2012 at 15:26, Tom Murphy <amindfv at gmail.com> wrote:

> On 1/19/12, Brandon Allbery <allbery.b at gmail.com> wrote:
> > On Thu, Jan 19, 2012 at 16:37, Antoine Latter <aslatter at gmail.com>
> wrote:
> >> On Thu, Jan 19, 2012 at 3:24 PM, Tom Murphy <amindfv at gmail.com> wrote:
> >> > Is it possible that I have a version of math.h which doesn't have
> >> > these definitions ("gamma," "finite," "isinf," etc.) in it?
> >>
> >> That's a good guess based on the error messages - or math.h isn't in
> >> whatever paths we're looking in.
>
> If math.h wasn't in the paths at all, wouldn't I get an error about
> _every_ function being undefined?
>

The problem isn't math.h; these are link errors, so it's
/usr/lib/libm.dylib that is somehow wrong.  I can't help with this too much
as I'm on Lion so it's a symlink to libSystem.dylib (and if that's messed
up, you don't even *boot* much less compile stuff).

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120120/ed4aef47/attachment.htm>


More information about the Beginners mailing list