Installing binary tarball fails on Linux

Simon Marlow marlowsd at gmail.com
Mon Oct 1 13:05:42 CEST 2012


On 28/09/2012 00:47, Andrea Vezzosi wrote:
> On Thu, Feb 23, 2012 at 10:27 PM, Johan Tibell <johan.tibell at gmail.com> wrote:
>> The 64-bit version work so I guess that means that a 32-bit GHC/64-bit
>> OS combination only works on OS X?
>
> Did you get it working on linux?
>
> I'm getting the same error myself:
> ...
> ghc-cabal: Bad interface file: dist-install/build/GHC/Classes.hi
> magic number mismatch: old/corrupt interface file? (wanted 33214052, got
> 129742)
> make[1]: *** [install_packages] Error 1
> make: *** [install] Error 2

This probably means that you have packages installed in your ~/.cabal 
from a 32-bit GHC and you're using a 64-bit one, or vice-versa.  To 
avoid this problem you can configure cabal to put built packages into a 
directory containing the platform name.

Cheers,
	Simon





More information about the Glasgow-haskell-users mailing list