Bryan O'Sullivan wrote:
On Tue, Jan 27, 2009 at 1:18 PM, Duncan Coutts
<duncan.cou...@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).

--
Live well,
~wren
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to