Re: Building GHC 6.6.1 on Leopard/PPC

Hello, First of all: Welcome to the club. I hope you will find it enjoyable. And then to your questions: I have never tried to bootstrap GHC from C, so I am not really able to help with your specific problem. However, if you just want a running GHC, the binary distributions should provide an easy path. I have installed several binary GHC packages on various PPC Mac OS X machines and, generally, they work. You should, however, be aware of several, relatively recent, problems that have popped up that seem connected with GHC 6.8.1 and Leopard. See for example http://hackage.haskell.org/trac/ghc/ticket/1958. For example, I have a GHC 6.6.1 running on both 10.4 (Tiger) and 10.5 (Leopard) that I installed from http://haskell.org/ghc/dist/6.6.1/ghc-6.6.1-powerpc-apple-darwin.tar.bz2 (see http://haskell.org/ghc/download_ghc_661.html#macosxppc). Once you have a running binary GHC, you can start building (newer) GHC's from source distributions or darcs repositories. Feel free to write back, if this is not the right answer to your questions. Best regards Thorkil On Wednesday 19 December 2007 23:25, jcharum wrote:
I've been trying to get a working GHC 6.6.1 build on my Leopard box with little success. I am trying to follow the "Booting/porting from C (.hc) files" instructions here:
http://hackage.haskell.org/trac/ghc/wiki/Building/Porting
When I build the HC file bundle, I get errors about rts/AutoApply_* stuff, but I've read that they are not necessary fatal.
When I try to build on the target system after unpacking the HC files ('distrib/hc-build --prefix=<dir>'), I get the following error:
------------------------------------------------------------------------ == make boot -f Makefile; in /Users/jjc/Downloads/ghc-6.6.1/libraries/readline ------------------------------------------------------------------------ make[1]: *** No rule to make target `System/Console/Readline_hsc.c', needed by `depend'. Stop. Failed making boot in readline: 1 make: *** [boot] Error 1
Any help is much appreciated. Not only would I like to get this building for myself, but I would also like to contribute a bootstrap build for other Leopard/MacPorts/PPC users. Let me know if I can provide any more information to help diagnose the problem. -- View this message in context:
http://www.nabble.com/Building-GHC-6.6.1-on-Leopard-PPC-tp14426649p14426649....
Sent from the Haskell - Glasgow-haskell-users mailing list archive at Nabble.com.
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
participants (1)
-
Thorkil Naur