#1859: happy required to build ghc 6.8.1 from source
----------------------+-----------------------------------------------------
 Reporter:  guest     |          Owner:         
     Type:  bug       |         Status:  new    
 Priority:  normal    |      Milestone:         
Component:  Compiler  |        Version:  6.8.1  
 Severity:  normal    |       Keywords:         
 Testcase:            |   Architecture:  Unknown
       Os:  Unknown   |  
----------------------+-----------------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1859>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to