Build failure under Fedora 21
Dominick Samperi
djsamperi at gmail.com
Mon Jan 12 18:35:53 UTC 2015
Hi Roman,
Thank you for suggesting that I take another look at compiling from
source under Fedora 21. This is indeed quite straightforward
(configure --prefix=..., make, make install). The reason it failed
earlier is that I had the latest build (from HEAD) in my path:
ghc=7.11.20150111. Bootstrapping using this version of GHC is not
supported. I should have paid closer attention to the diagnostics!
After installing from the supplied binaries (for CentOS or Debian) I
ran into problems installing pandoc (cabal install pandoc). There was
an unresolved reference to libHSprimitive-0.5.4.0.so, I think.
Cheers,
Dominick
On Mon, Jan 12, 2015 at 3:34 AM, Roman Cheplyaka <roma at ro-che.info> wrote:
> On 12/01/15 04:00, Dominick Samperi wrote:
>> Hi Roman.
>>
>> As I said in my comments I tried the binary distribution provided for
>> CentOS65 Linux but ran into problems. I also tried the distribution provided
>> for Debian Linux; this installed, but there were problems.
>>
>> Fedora is the most "cutting edge" distro, and there is no ghc binary
>> provided for it. I was able to build from source under Fedora 20 about a year
>> ago.
>
> % lsb_release -d
> Description: Fedora release 21 (Twenty One)
>
> % ghc --version
> The Glorious Glasgow Haskell Compilation System, version 7.8.3
>
> There's no reason the binary ghc release shouldn't work for you
> (specifically, the deb7 one). What problems did you run into?
>
> (There's also no reason you shouldn't be able to build from source; but
> if all you want is just a working ghc installation, installing the
> bindist is much easier and faster.)
>
> Roman
More information about the ghc-devs
mailing list