Yeah, I'm looking at some new alex/happy issues right now but don't have them quite licked — You could try "cabal install happy" and "cabal install alex" as I think GHC HEAD requires new versions as of quite recently. 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: https://github.com/simonmar/happy On Thu, Oct 17, 2013 at 4:46 PM, Maxwell Swadling <maxwellswadling@gmail.com
wrote:
Hey,
It seems to be a CPP or Alex problem. Could you provide the following info about your environment:
- gcc --version - clang --version - git sha of which ghc you have checked out - alex --version - happy --version
Also because of Xcode 5, did you remember to:
- reinstall the command line tools in Xcode? (It could be using the old ones) - use the Xcode 5 branch of ghc-ios-scripts? - when you ./configure use "--with-gcc=arm-apple-darwin10-clang" instead of gcc? - compile and add to your path the preprocessor hook / hack (see scripts repo) - apply the 2 patches that are not merged yet?
Thanks!
__END__ Maxwell Swadling
On 18 Oct 2013, at 9:31 am, Sergey Mikhanov <sergey@mikhanov.com> wrote:
Hi,
I'm following the instructions for Xcode 5 on the wiki and the build fails with this error (OS X 10.8.5):
"/usr/bin/ghc" -hisuf hi -osuf o -hcsuf hc -static -H32m -O -package-db libraries/bootstrapping.conf -i -iutils/genprimopcode/. -iutils/genprimopcode/dist/build -iutils/genprimopcode/dist/build/autogen -Iutils/genprimopcode/dist/build -Iutils/genprimopcode/dist/build/autogen -package array -no-user-package-db -rtsopts -odir utils/genprimopcode/dist/build -hidir utils/genprimopcode/dist/build -stubdir utils/genprimopcode/dist/build -c utils/genprimopcode/dist/build/Lexer.hs -o utils/genprimopcode/dist/build/Lexer.o
<built-in>:2:2: Not in scope: `#' make[1]: *** [utils/genprimopcode/dist/build/Lexer.o] Error 1
Any idea why?
Thanks, Sergey _______________________________________________ iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone
iPhone mailing list iPhone@haskell.org http://www.haskell.org/mailman/listinfo/iphone