Can't install 32-bit ghc-7.8.1 on 64-bit xubuntu 14.04

kyra kyrab at mail.ru
Fri Apr 11 11:00:08 UTC 2014


ia32-libs is absent on modern Ubuntus.

But if anyone is interested installing lib32ncurses5 and libgmp10:i386 
did the 'configure' trick.

But now 'make install' fails with:
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" register 
libraries/ghc-prim dist-install 
"/home/awson/data/ghc-7.8.1-i386/lib/ghc-7.8.1/bin/ghc" 
"/home/awson/data/ghc-7.8.1-i386/lib/ghc-7.8.1/bin/ghc-pkg" 
"/home/awson/data/ghc-7.8.1-i386/lib/ghc-7.8.1" '' 
'/home/awson/data/ghc-7.8.1-i386' 
'/home/awson/data/ghc-7.8.1-i386/lib/ghc-7.8.1' 
'/home/awson/data/ghc-7.8.1-i386/share/doc/ghc/html/libraries' NO
ghc-cabal: Bad interface file: dist-install/build/GHC/CString.hi
magic number mismatch: old/corrupt interface file? (wanted 33214052, got 
129742)

Kyra

On 4/11/2014 14:43, Alain O'Dea wrote:
> install ia32-libs:
> http://askubuntu.com/a/297155
>
> YMMV.  You are much better off using 64-bit software on 64-bit Ubuntu.
>
>> On Apr 11, 2014, at 10:33, kyra <kyrab at mail.ru> wrote:
>>
>> Yup, I've already guessed this. More specifically: which :i386 packages should I install to make it work?
>>
>> Regards,
>> Kyra
>>
>>> On 4/11/2014 13:57, Karel Gardas wrote:
>>>> On 04/11/14 11:47 AM, kyra wrote:
>>>> Hi,
>>>>
>>>> I have unpacked ghc-7.8.1-i386-unknown-linux-deb7.tar.xz to
>>>> ~/data/Work/ghc-7.8.1-i386.
>>>>
>>>> Now I have the following:
>>>>
>>>> awson at awsonvirt:~/data/Work/ghc-7.8.1-i386$ ./configure
>>>> --prefix=/home/awson/data/ghc-7.8.1-i386
>>>> checking for path to top of build tree...
>>>> utils/ghc-pwd/dist-install/build/tmp/ghc-pwd-bindist: line 3:
>>>> /home/awson/data/Work/ghc-7.8.1-i386/utils/ghc-pwd/dist-install/build/tmp/ghc-pwd:
>>>> No such file or directory
>>>> configure: error: cannot determine current directory
>>>>
>>>> ghc-pwd is definitely there but it does not start it seems. Perhaps, the
>>>> system lacks some shared libs or something.
>>> ...
>>> What you have forgotten is to install i386 libs on your purely amd64 xubuntu probably...
>>>
>>> Cheers,
>>> Karel
>>> _______________________________________________
>>> ghc-devs mailing list
>>> ghc-devs at haskell.org
>>> http://www.haskell.org/mailman/listinfo/ghc-devs
>> _______________________________________________
>> ghc-devs mailing list
>> ghc-devs at haskell.org
>> http://www.haskell.org/mailman/listinfo/ghc-devs
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>



More information about the ghc-devs mailing list