| Street walking cheetah with a heart full of napalm ( @ 2007-10-23 18:35:00 |
(warning: boring computer post)
While attempting to build happy, the Haskell parser generator, for MacOS:
tritium:~/tmp/happy-1.17 dfisher$ ./Setup.lhs build
Preprocessing executables for happy-1.17...
Setup.lhs: The program happy is required but it could not be found
That's right, building happy requires happy. Now, bootstrapping compilers is a fascinating technique, but bootstrapping a parser generator seems a bit extreme. Plus, damned if I can find a precompiled binary to use; maybe I should ssh to a Unix machine and cross-compile? Damn.
Also, when I tried to find a solution for this, I come across this how-to from
catamorphism. I guess this is a known problem with GHC in general?
While attempting to build happy, the Haskell parser generator, for MacOS:
tritium:~/tmp/happy-1.17 dfisher$ ./Setup.lhs build
Preprocessing executables for happy-1.17...
Setup.lhs: The program happy is required but it could not be found
That's right, building happy requires happy. Now, bootstrapping compilers is a fascinating technique, but bootstrapping a parser generator seems a bit extreme. Plus, damned if I can find a precompiled binary to use; maybe I should ssh to a Unix machine and cross-compile? Damn.
Also, when I tried to find a solution for this, I come across this how-to from