[Haskell-beginners] cmath Install troubles

Tom Murphy amindfv at gmail.com
Fri Jan 20 21:26:08 CET 2012

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?

>> What sort of system are you compiling this on?

Mac OS 10.6.7

> [...] My first question is whether the
> appropriate Xcode is installed, including the optional components
> (pre-Xcode 4, the "BSD" packages needed to compile most Unix software were
> optional).

I really am not sure about whether I installed the BSD packages. I'd
guess I did, but maybe not. How can I tell, and is there a simple

> Note that Xcode 4 from the App Store actually puts an installer
> program in /Applications; that has to be run to actually install Xcode.

It's XCode 3.2.6.

Also, I've got 20 copies of math.h on my hard drive, at least of
couple of which feature definitions of "gamma," "isinf," etc.

Thanks for your help!

More information about the Beginners mailing list