id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
1859,happy required to build ghc 6.8.1 from source,guest,igloo,"I am building GHC 6.8.1 from source tarballs:
{{{
f91de87e7c0a3fe2f27c5a83212d9743  ghc-6.8.1-src-extralibs.tar.bz2
8d47d4dcde96c31fe8bedcee7f99eaf1  ghc-6.8.1-src.tar.bz2
}}}
The sequence ""./configure --prefix=/... ; make"" results in the error during ""make""
{{{
Configuring haskell-src-1.0.1.1...
rm -f haskell-src/GNUmakefile
cp Makefile.local haskell-src
if ifBuildable/ifBuildable haskell-src; then \
   cd haskell-src && setup/Setup makefile -f GNUmakefile; \
fi
Preprocessing library haskell-src-1.0.1.1...
Setup: The program happy is required but it could not be found
make[1]: *** [haskell-src/GNUmakefile] Error 1
make[1]: Leaving directory `/tmp/g1/ghc-6.8.1/libraries'
make: *** [stage1] Error 2
}}}

However, the Building guide [wiki:Building/Prerequisites]
says
  If you start from a source tarball of GHC (i.e. not a darcs checkout), then you don't need Happy, because we supply the pre-processed versions of the Happy parsers.

I have been able to repeat this problem both on an i386 Debian Etch system and a x86_64 RHEL4 system.

The workaround is to install happy.",bug,closed,normal,6.8.2,Compiler,6.8.1,fixed,,,Unknown/Multiple,Unknown/Multiple,,Unknown,,,,
