Hello,
When attempting to build HJScript with GHC 6.12, users are
encountering the following error:
--------------------------------
Downloading HJScript-0.4.4...
Configuring HJScript-0.4.4...
Preprocessing library HJScript-0.4.4...
Building HJScript-0.4.4...
src/HJScript/Lang.hs:30:4: parse error on input `rec'
cabal: Error: some packages failed to install:
HJScript-0.4.4 failed during the building phase. The exception was:
ExitFailure 1
happstack-0.4 depends on HJScript-0.4.4 which failed to install.
hsp-0.4.5 depends on HJScript-0.4.4 which failed to install.
-------------------------------
The reported fix is:
<burp> you can safely remove "{-# OPTIONS_GHC -fglasgow-exts #-}" in
Lang.hs
<burp> which enables -XDoRec, "rec" as a keyword
I am planning to release happstack 0.4 on hackage later today. This is
the only issue that prevents users from being able to cabal install
happstack from hackage under 6.12.
thanks!
- jeremy