Build fails with cabal-bin complaining
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@BuildFlavour = quickest@' $(ghc_dir)/mk/build.mk.sample \
>$(ghc_dir)/mk/build.mk
$(MAKE) -C $(ghc_dir)
}}}
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.10.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Build System |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |