Problem compiling 6.8.1 extralibs
duncan.coutts at worc.ox.ac.uk
Wed Nov 7 12:41:36 EST 2007
On Wed, 2007-11-07 at 11:50 -0500, Seth Kurtzberg wrote:
> ghc-pkg list
> See what it thinks about the status of happy.
happy is a program. ghc-pkg doesn't know about it.
> i'm having some difficulties compiling the 6.8.1 extralibs on a Mandriva
> 2007.0 box. Despite happy 1.15 being installed (with the happy binary
> in /usr/bin/), i get the following error:
> Preprocessing library haskell-src-188.8.131.52...
> Setup: The program happy is required but it could not be found
> make: *** [haskell-src/GNUmakefile] Error 1
> make: Leaving directory `/usr/src/ghc-6.8.1/libraries'
> make: *** [stage1] Error 2
> Command exited with non-zero status 2
> Any suggestions as to how to fix this would be greatly appreciated. :-)
Install happy from
Note that happy 1.17 needs Cabal-1.2 and 1.16 needs Cabal-1.1.6.
Alternatively, don't build the extralibs at the same time as ghc and
install just the ones you need individually later. They're all available
More information about the Glasgow-haskell-users