[Haskell-cafe] c2hs on mac

Ruben Zilibowitz r.zilibowitz at student.unsw.edu.au
Thu Apr 12 08:04:50 EDT 2007


Ok, thanks. I finally managed to build it.

Ruben

On 12/04/2007, at 8:30 PM, Duncan Coutts wrote:

> On Thu, 2007-04-12 at 18:55 +1000, Ruben Zilibowitz wrote:
>> Ok I managed to check out a version from darcs. Now this is  
>> happening:
>> ./Setup.hs build
>> Preprocessing executables for c2hs-0.14.6...
>> Setup.hs: c2hs/c/CLexer.x: no alex preprocessor available
>>
>> The installation instructions don't mention that I need the alex
>> package.
>
> The tarball versions come with pre-generated lexer and parser files  
> but
> the darcs version does not.
>
>> I guess I can just install it and try again. Are there any other
>> prerequisites though?
>
> Yes, you also need 'happy' the parser generator.
> http://haskell.org/happy/
>
> Duncan
>



More information about the Haskell-Cafe mailing list