[Haskell-cafe] How outdated is Hugs?
duncan.coutts at worc.ox.ac.uk
Wed Jan 28 19:18:27 EST 2009
On Wed, 2009-01-28 at 16:26 -0500, wren ng thornton wrote:
> wren ng thornton wrote:
> > Bryan O'Sullivan wrote:
> >> On Tue, Jan 27, 2009 at 1:18 PM, Duncan Coutts
> >> <duncan.coutts at worc.ox.ac.uk>wrote:
> >>> Not since then, no. However a lot of things work fine, especially if you
> >>> use a newer Cabal version.
> >> I've been unable to figure out how to build Cabal with Hugs 2006.09.04:
> >> $ *runhugs -98 Setup configure --hugs --prefix=/usr*
> >> runhugs: Error occurred
> >> ERROR "./Distribution/Compat/ReadP.hs":70 - Syntax error in module
> >> definition (unexpected selector "#if")
> >> The README file is GHC-centric, so I'm at a bit of a dead end. Do you
> >> have
> >> any suggestions?
> > That looks like a standard "CPP not enabled" error message. Try passing
> > -F"$cpp" where $cpp is the command for running cpp as a filter. If the
> > FFI is used anywhere, you need to compile with ffihugs before using hugs
> > (see the man page).
> That is, -F"cpp -P" should work on most systems.
Wow, it actually works! You need to add -traditional -D__HUGS__ too.
Of course now I discover of course that Cabal HEAD doesn't compile with
More information about the Haskell-Cafe