Re: Help building on Mac OS X
Malcolm Wallace <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Organization | Dept of Computer Science, University of York |
| Message-ID | <[email protected]> |
Adam <[email protected]> writes: > I'm trying to build hugs on Mac OS X 10.3.7. The configure script runs ok, > then when I do 'make' I get the following: > > /usr/bin/ld: Undefined symbols: > _doubleFromParts > _part1Double > _part2Double > make: *** [hugs] Error 1 The configure script is (wrongly) determining that the MacOS X C compiler does not support Floats/Doubles. Ideally, the autoconf magic which determined this setting should be fixed, but in the meantime, you can work around it by: (1) Edit src/config.h, replacing the line /* #undef HAVE_LIBM */ with #define HAVE_LIBM 1 (2) rm src/*.o (3) cd src; make Regards, Malcolm