[Hugs-bugs] Installing Hugs

Iavor Diatchki iavor.diatchki at gmail.com
Wed Feb 16 18:10:42 EST 2005


Hello,
I seem to be having trouble installing Hugs from CVS.
I checked out a fresh copy from CVS, and typed 'make'
as the instructions on the web-page suggest.
The actual Hugs builds fine, but something goes wrong
with the libraries.  I am using a Mandrake 10.1 distribuition of
linux, and I suspect at least some of the problems are due
to tool incompatabilities.  'make' reports the following errors:

Preprocessing Control/Arrow
/tmp/cppinput26849.c:114:3: invalid preprocessing directive #-
/tmp/cppinput26849.c:226:3: invalid preprocessing directive #-

and few others like that for some of the libraries (I guess something
is wrong with Hugs & cpp?)

The next kind of error I get is like this:
runhugs: Error occurred
ERROR "libraries/bootlib/Data/Bits.hs":188 - Syntax error in
declaration (unexpected `}', possibly due to bad layout)
This error seems to be reported many many times.

Finally there seem to be some problems with generating the documentation:
jade:/home/diatchki/src/hugs98/docs/users_guide/users_guide.sgml:2:22:W:
cannot generate system identifier for public text "-//OASIS//DTD
DocBook V4.2//EN"
jade:/home/diatchki/src/hugs98/docs/users_guide/users_guide.sgml:12:0:E:
reference to entity "BOOK" for which no system identifier could be
generated
etc.

What do I need to do to get it to work?   Let me know what tool
versions might be relevant and I'll post them.

-Iavor


More information about the Hugs-Bugs mailing list