Tim Hemel <[EMAIL PROTECTED]> writes:

> I am trying to make a port skeleton for the BSD ports selection for GHC.

Good idea - I keep meaning to get around to this.

> When configuring, I get the following messages:
> 
>        :          :             :
>      checking for gzip... /usr/bin/gzip
>      checking for happy... no
>      checking for version of happy... 
>      Happy version 1.4 or later is required to compile GHC.
> 
> So, I check the Happy web page:
> 
>      Downloading Happy
> 
>      To compile Happy from source, you'll need GHC version 2.10 or later. The
>      source is here:
> 
>               ftp://ftp.dcs.gla.ac.uk/pub/haskell/happy/happy-1.5-src.tar.gz
> 
> How do I get out of this mutual recursion?

You start off with a binary distribution of one of the packages.
You'll need GHC installed in order to compile GHC in any case, so I
suggest you make up two packages - ghc-3.02-bin and ghc-3.02.  The
binary distribution package should be straightforward, just a
configure and make install.

Having a build-from-source GHC port will really make the BSD folks
happy - I hear they regularly build the entire packages collection :-)

Cheers,
        Simon

-- 
Simon Marlow                                             [EMAIL PROTECTED]
University of Glasgow                       http://www.dcs.gla.ac.uk/~simonm/
finger for PGP public key

Reply via email to