Alex compilation fails on ambiguous type [was: Re: Alex requirement for Setup.lhs]

2008-12-04 Thread Philip K.F. Hölzenspies
On Thursday 04 December 2008 00:11:13 Ian Lynagh wrote: If you have downloaded the source tarball then the preprocessed files are included. Cabal may be getting confused by the .x files also being present, so rm src/Scan.x should fix it. You may also need to rm src/Parser.y if you

Re: Alex compilation fails on ambiguous type [was: Re: Alex requirement for Setup.lhs]

2008-12-04 Thread Philip K.F. Hölzenspies
On Thursday 04 December 2008 14:24:32 Philip K.F. Hölzenspies wrote: [16 of 16] Compiling Main ( src/Main.hs, dist/build/alex/alex-tmp/Main.o ) src/Main.hs:316:25: Ambiguous type variable `e' in the constraint: `GHC.Exception.Exception e' arising from a use of

Re: Alex requirement for Setup.lhs

2008-12-03 Thread Ian Lynagh
On Tue, Dec 02, 2008 at 01:56:03PM +0100, Philip K.F. Hölzenspies wrote: Setup.hs: alex is required but it could not be found. The problem is that I get this error also when I try to runghc Setup.lhs build alex If you have downloaded the source tarball then the preprocessed files are

Alex requirement for Setup.lhs

2008-12-02 Thread Philip K.F. Hölzenspies
Dear all, Hopefully, you will excuse me for my lack of experience with Cabal. I have seen quite a few e-mails on this list that seem related to this issue, but my specific error, I did not find. Thus: Since installing 6.10.1, I can't perform Setup.(l)hs functions. The error message I get is: