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

Karel Gardas karel.gardas at centrum.cz
Fri Apr 11 09:57:23 UTC 2014


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.
>
> There absolutely no problems with 64-bit ghc.

Yes, you get the error like that when you try to execute different ABI 
or unsuppored ABI binary. Do that with ARM binary on x86 and you will 
get the same error for example.

What you have forgotten is to install i386 libs on your purely amd64 
xubuntu probably...

Cheers,
Karel


More information about the ghc-devs mailing list