[redirecting to ghc-users]
On 2/13/07, Rob Hoelz <[EMAIL PROTECTED]> wrote:
I downloaded the source for happy 1.15, and when I run make, this pops
up:
/usr/bin/ghc -H16m -O -cpp -fglasgow-exts -O -c LALR.lhs -o LALR.o
-ohi LALR.hi
LALR.lhs:626:34: Not in scope: `bounds'
make[3]: *** [LALR.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/rob/downloads/happy-1.15/happy'
make: *** [/home/rob/downloads/happy-1.15/happy/src/happy-inplace]
Error 2
After erasing hiding (bounds) in these lines:
import Data.Array hiding (bounds)
import Array hiding (bounds)
it does some more work, then this error pops up:
/usr/bin/ghc -H16m -O -cpp -fglasgow-exts -O -c ProduceCode.lhs -o
ProduceCode.o -ohi ProduceCode.hi
ProduceCode.lhs:31:20: Not in scope: `Data.Array.MArray.indices'
make[3]: *** [ProduceCode.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/rob/downloads/happy-1.15/happy'
make: *** [/home/rob/downloads/happy-1.15/happy/src/happy-inplace]
Error 2
Is my configuration messed up or something?
What version of ghc are you using? (/usr/bin/ghc --version)
Cheers,
Kirsten
--
Kirsten Chevalier* [EMAIL PROTECTED] *Often in error, never in doubt
"I don't care too much for money/Money can't buy me TeX." -- Jason Reed
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users