Haskell Platform install failed on Ubuntu on mtl package
I had just installed the latest version of ghc6 (6.10.4) as required by the haskell platform and I have been unable to get it to build properly. I'm not sure if I have any more details that I can offer that are relevant.
As the error message told me to report this as a bug, I did. Failure occurred with the following text:
"./Setup" "register" "--inplace" Registering mtl-1.1.0.2... Reading package info from "dist/inplace-pkg-config" ... done. Writing new package config file... done. Building mtl-1.1.0.2 "/usr/bin/ghc" "--make" "Setup" "-o" "Setup" "-package" "Cabal-1.6.0.3" Binary: Int64 truncated to fit in 32 bit Int ghc: panic! (the 'impossible' happened)
(GHC version 6.10.4 for i386-unknown-linux):
Prelude.chr: bad argument
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Error: Compiling the Setup script failed make: *** [build.stamp] Error 2
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.10.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |