Alex requirement for Setup.lhs

Ian Lynagh igloo at earth.li
Wed Dec 3 18:11:13 EST 2008


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 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 don't have happy.


Thanks
Ian



More information about the Glasgow-haskell-users mailing list