[Haskell-cafe] building c2hs on Mac

Svein Ove Aas svein.ove at aas.no
Thu Oct 23 08:00:20 EDT 2008


On Thu, Oct 23, 2008 at 12:38 PM, John Lato <jwlato at gmail.com> wrote:
> Hello,
>
> I've been trying to build c2hs-0.15.1 on an Intel Mac (10.4), and am
> having some difficulty.  It has dependencies on happy and alex, which
> would be fine, except that alex itself seems to require alex (using
> alex 2.2).  Does anyone have any suggestions for how to get around
> this?  I have ghc-6.8.3 and ghc-6.10 RC, and could use either.
>
That sounds familiar - happy depends on happy too, at least in the
latest version.

The general solution is to preprocess the alex files on another
machine, that does have alex installed. Ideally they'd come bundled.


More information about the Haskell-Cafe mailing list