[Haskell-cafe] How outdated is Hugs?

wren ng thornton wren at freegeek.org
Wed Jan 28 16:26:13 EST 2009

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.

Live well,

More information about the Haskell-Cafe mailing list