[Haskell-cafe] building c2hs on Mac

John Lato jwlato at gmail.com
Thu Oct 23 11:06:15 EDT 2008


On Thu, Oct 23, 2008 at 1:00 PM, Svein Ove Aas <svein.ove at aas.no> wrote:
> 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.

Maybe it was happy and not alex; I could be misremembering.
>
> The general solution is to preprocess the alex files on another
> machine, that does have alex installed. Ideally they'd come bundled.
>

Thanks, I should be able to get this to work somehow.

John


More information about the Haskell-Cafe mailing list