I've run into a snag trying to install Hugs. I'm trying to install it on a Macintosh running OS X 10.1.4. I downloaded the unix version of Hugs and followed the directions. Running 'configure' from /src/unix finished normally, however, running 'make' from /src produced the results I've included at the end of this message. Please let me know if there is an obvious solution.

I looked into the precompiled binary but it appears that it is built only for 10.2.x and I'm not quite ready to upgrade.

Thanks,
Roger


roger% make
g++ -c -g -no-cpp-precomp -O2 hugs.c
In file included from prelude.h:303,
from hugs.c:15:
/usr/include/string.h:74: warning: declaration of `int memcmp(void *, void *, long unsigned int)'
/usr/include/string.h:74: warning: conflicts with built-in declaration `int memcmp(const void *, const void *, long unsigned int)'
/usr/include/string.h:75: warning: declaration of `void * memcpy(void *, void *, long unsigned int)'
/usr/include/string.h:75: warning: conflicts with built-in declaration `void * memcpy(void *, const void *, long unsigned int)'
/usr/include/string.h:80: warning: declaration of `int strcmp(char *, char *)'
/usr/include/string.h:80: warning: conflicts with built-in declaration `int strcmp(const char *, const char *)'
/usr/include/string.h:82: warning: declaration of `char * strcpy(char *, char *)'
/usr/include/string.h:82: warning: conflicts with built-in declaration `char * strcpy(char *, const char *)'
/usr/include/string.h:85: warning: declaration of `size_t strlen(char *)'
/usr/include/string.h:85: warning: conflicts with built-in declaration `long unsigned int strlen(const char *)'
In file included from hugs.c:16:
storage.h:473: conflicting types for `struct Observe'
storage.h:53: previous declaration as `typedef Int Observe'
storage.h:502: conflicting types for `struct Breakpt'
storage.h:54: previous declaration as `typedef Int Breakpt'
storage.h:541: conflicting types for `struct Module'
storage.h:33: previous declaration as `typedef Int Module'
In file included from hugs.c:122:
machdep.c:154: `f' was not declared in this scope
machdep.c:154: parse error before `,'
machdep.c:154: `sz' was not declared in this scope
machdep.c:155: variable or field `getFileInfo' declared void
machdep.c:155: `int getFileInfo' redeclared as different kind of symbol
machdep.c:151: previous declaration of `void getFileInfo()'
machdep.c:155: initializer list being treated as compound expression
machdep.c:155: syntax error before `f'
machdep.c:157: parse error before `{'

.. a bunch of stuff elided ...

machdep.c:727: parse error before `if'
machdep.c:759: parse error before `,'
machdep.c: In function `char * substPath(...)':
machdep.c:761: confused by earlier errors, bailing out
make: *** [hugs.o] Error 1

_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to