
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. Last time I tried to build c2hs on a mac I think I used macports, which worked fine, except that's not an option this time because the computer in question isn't (and won't be) online. I'd have to rebuild ghc anyway, which I don't want to do. Thanks, John Lato

On Thu, Oct 23, 2008 at 12:38 PM, John Lato
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.

On Thu, Oct 23, 2008 at 1:00 PM, Svein Ove Aas
On Thu, Oct 23, 2008 at 12:38 PM, John Lato
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

I don't know; I'll look into this.
John
On Thu, Oct 23, 2008 at 2:16 PM, Sean Leather
except that alex itself seems to require alex (using alex 2.2).
Is this also true for the Hackage package? I seem to remember using the alex and happy packages for some reason.
Regards, Sean
participants (3)
-
John Lato
-
Sean Leather
-
Svein Ove Aas