<div dir="ltr">Yeah, I'm looking at some new alex/happy issues right now but don't have them quite licked —<div><br></div><div>You could try "cabal install happy" and "cabal install alex" as I think GHC HEAD requires new versions as of quite recently.</div>

<div><br></div><div>I just provided a patch to Simon M for happy for one of the issues, so you can try checking out and installing the latest version:</div><div><a href="https://github.com/simonmar/happy">https://github.com/simonmar/happy</a></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 4:46 PM, Maxwell Swadling <span dir="ltr"><<a href="mailto:maxwellswadling@gmail.com" target="_blank">maxwellswadling@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
<br>
It seems to be a CPP or Alex problem. Could you provide the following info about your environment:<br>
<br>
- gcc --version<br>
- clang --version<br>
- git sha of which ghc you have checked out<br>
- alex --version<br>
- happy --version<br>
<br>
Also because of Xcode 5, did you remember to:<br>
<br>
- reinstall the command line tools in Xcode? (It could be using the old ones)<br>
- use the Xcode 5 branch of ghc-ios-scripts?<br>
- when you ./configure use "--with-gcc=arm-apple-darwin10-clang" instead of gcc?<br>
- compile and add to your path the preprocessor hook / hack (see scripts repo)<br>
- apply the 2 patches that are not merged yet?<br>
<br>
Thanks!<br>
<br>
__END__<br>
<span class="HOEnZb"><font color="#888888">Maxwell Swadling<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On 18 Oct 2013, at 9:31 am, Sergey Mikhanov <<a href="mailto:sergey@mikhanov.com">sergey@mikhanov.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I'm following the instructions for Xcode 5 on the wiki<br>
> and the build fails with this error (OS X 10.8.5):<br>
><br>
> "/usr/bin/ghc" -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O<br>
> -package-db libraries/bootstrapping.conf   -i -iutils/genprimopcode/.<br>
> -iutils/genprimopcode/dist/build<br>
> -iutils/genprimopcode/dist/build/autogen<br>
> -Iutils/genprimopcode/dist/build<br>
> -Iutils/genprimopcode/dist/build/autogen       -package array<br>
> -no-user-package-db -rtsopts      -odir utils/genprimopcode/dist/build<br>
> -hidir utils/genprimopcode/dist/build -stubdir<br>
> utils/genprimopcode/dist/build   -c<br>
> utils/genprimopcode/dist/build/Lexer.hs -o<br>
> utils/genprimopcode/dist/build/Lexer.o<br>
><br>
> <built-in>:2:2: Not in scope: `#'<br>
> make[1]: *** [utils/genprimopcode/dist/build/Lexer.o] Error 1<br>
><br>
> Any idea why?<br>
><br>
> Thanks,<br>
> Sergey<br>
> _______________________________________________<br>
> iPhone mailing list<br>
> <a href="mailto:iPhone@haskell.org">iPhone@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/iphone" target="_blank">http://www.haskell.org/mailman/listinfo/iphone</a><br>
_______________________________________________<br>
iPhone mailing list<br>
<a href="mailto:iPhone@haskell.org">iPhone@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/iphone" target="_blank">http://www.haskell.org/mailman/listinfo/iphone</a><br>
</div></div></blockquote></div><br></div>