Hugs build broken

Sven Panne <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.fptools
Message-ID <[email protected]>
Currently building Hugs from CVS is somehow broken (see parts from the compilation log below),
and I don't have a clue how to fix this correctly without breaking GHC/NHC. :-( I must admit
that I really have to take a closer look at the build systems / Cabal stuff now, things were
too unstable to follow in my current limited time.

Cheers,
    S.


[...]
Compiling /tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Text/Regex/Posix.hs
/tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Text/Regex/Posix.c: In Funktion »hugsprim_regfree_1«:
/tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Text/Regex/Posix.c:37: error: `regfree' undeclared (first use in this function)
/tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Text/Regex/Posix.c:37: error: (Each undeclared identifier is reported only once
/tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Text/Regex/Posix.c:37: error: for each function it appears in.)
runhugs: Error occurred
ERROR "/tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Text/Regex/Posix.hs" - Error while running compilation command 'gcc -DNDEBUG=1 -g   -shared -fPIC -D__HUGS__ "-I/tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/include" "/tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Text/Regex/Posix.c" -o "/tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Text/Regex/Posix.so" -I/tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Text/Regex -Ifptools/libraries/base/include'
[...]
Compiling /tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Network/BSD.hs
runhugs: Error occurred
ERROR "/tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Network/BSD.hs":30 - Syntax error in input (unexpected selector "#include")
[...]
Compiling /tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Network/Socket.hs
runhugs: Error occurred
ERROR "/tmp/rpm/BUILD/hugs98-Feb2005/hugsdir/libraries/Network/Socket.hs":30 - Syntax error in input (unexpected selector "#include")
[...]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.