[GHC] #3230: Build fails with cabal-bin complaining

GHC trac at galois.com
Thu May 14 17:57:33 EDT 2009


#3230: Build fails with cabal-bin complaining
-------------------+--------------------------------------------------------
Reporter:  guest   |          Owner:                
    Type:  bug     |         Status:  new           
Priority:  normal  |      Component:  Build System  
 Version:  6.10.3  |       Severity:  normal        
Keywords:          |       Testcase:                
      Os:  Linux   |   Architecture:  x86_64 (amd64)
-------------------+--------------------------------------------------------
 The build of ghc 6.10.3 and 6.10.2 (I haven't tested others) on a Debian
 Etch (ghc 6.6) system fails like so (I am attaching a complete log as
 well):
 {{{
 Configuring ghc-6.10.3...
 cabal-bin: At least the following dependencies are missing:
 Cabal -any,
 base <3,
 filepath >=1 && <1.2,
 haskell98 -any,
 hpc -any,
 template-haskell -any,
 unix -any
 make[3]: *** [boot.stage.2] Error 1
 }}}

 I am trying to build using the following Makefile (which ought to work
 based on my understanding of
 http://hackage.haskell.org/trac/ghc/wiki/Building/Using):

 {{{
 #!/usr/bin/make -f

 ghc_version     := 6.10.3
 ghc_dir         := ghc-$(ghc_version)
 .PHONY: ghc
 ghc:
         rm -rf $(ghc_dir)/
         tar -xjf ghc-$(ghc_version)-src.tar.bz2
         tar -xjf ghc-$(ghc_version)-src-extralibs.tar.bz2
         cd $(ghc_dir)/ && ./configure --prefix=/tmp/g
         sed -e 's@^#BuildFlavour = quickest at BuildFlavour = quickest@'
 $(ghc_dir)/mk/build.mk.sample \
                 >$(ghc_dir)/mk/build.mk
         $(MAKE) -C $(ghc_dir)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3230>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list