package haskell-src depending on happy?

Hi! I just tried to install haskell-src with cabal and passed 'runhaskell setup.hs configure' but 'runhaskell setup.hs build' died with "Language\Haskell\Parser.ly: no happy preprocessor available". This looks to me like happy is required for haskell-src, but it is not mentenied in the dependencies. Do I really have to install happy? (In the past that was a nightmare if I remember correctly.) My system is Win2k and ghc-6.1.1. Kind regards Andreas

Andreas Marth wrote:
I just tried to install haskell-src with cabal and passed 'runhaskell setup.hs configure' but 'runhaskell setup.hs build' died with "Language\Haskell\Parser.ly: no happy preprocessor available". This looks to me like happy is required for haskell-src, but it is not mentenied in the dependencies.
Yes haskell-src does require happy, dependencies only mention libraries which is why you don't see it there.
Do I really have to install happy? (In the past that was a nightmare if I remember correctly.) My system is Win2k and ghc-6.1.1.
Happy should be easy to install on Windows. There's a binary zip file you can unpack anywhere you like, or you can build from source using Cabal. http://www.haskell.org/happy Cheers, Simon
participants (2)
-
Andreas Marth
-
Simon Marlow