Failed to build latest stable GHC on FreeBSD with Hadrian

Viktor Dukhovni ietf-dane at dukhovni.org
Fri Aug 27 17:42:16 UTC 2021


On Fri, Aug 27, 2021 at 07:15:26PM +0200, Alexis Praga wrote:

> As a complete beginner in regards to GHC, I tried to build GHC 9.2 as it
> looked like the latest stable from git.I failed to build 9.0.1 before that.
> 
> After checking out the ghc-9.2 branch, I ran (following the wiki):
> 
> > ./boot
> > set LOCALBASE=/usr/local
> > ./configure --with-gmp-includes=$LOCALBASE/include --with-gmp-libraries=$LOCALBASE/lib --disable-large-address-space
> > hadrian/build -j
> 

The attached script works for me on FreeBSD 12.2.  Perhaps it'll
work for you as well (you many to tweek some of the configured
paths).

-- 
    Viktor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.sh
Type: application/x-sh
Size: 989 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20210827/b97c8b4b/attachment.sh>


More information about the ghc-devs mailing list