#3477: Haskell Platform install failed on Ubuntu on mtl package
----------------------+-----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.4
Severity: normal | Resolution: invalid
Keywords: | Testcase:
Os: Linux | Architecture: Unknown/Multiple
----------------------+-----------------------------------------------------
Changes (by kaol):
* status: new => closed
* resolution: => invalid
Comment:
First, the fix: remove any old .hi and .o files that you have left around.
Despite the error message, this doesn't have anything to do with GHC
itself.
As for the cause, this is fallout from a Debian workaround for .haddock
files using GHC's Binary types, which use, as default, 32 bit integers on
32 bit architectures and 64 bit integers on 64 bit architectures. I first
patched GHC to use 32 bit ints in Binary on all architectures and later
changed that to 64 bits on all architectures. This has left files that are
incompatible across versions on users' file systems with no easy way to
remove those.
Sorry for the inconvenience. I know that there could have been a better
way to handle the situation.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3477#comment:2>
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