[Haskell] Problem compiling happy 1.15

Rob Hoelz hoelz at wisc.edu
Tue Feb 13 15:10:54 EST 2007


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?  

Thanks,
Rob Hoelz


More information about the Haskell mailing list