Hello,

I've been trying to build GHC-6.8 on Mac OSX 10.5 using the GMP and readline provided by macports. I'm not sure if others have been having this problem, but I've been having a low of trouble. I finally got it to build, but it required patching Cabal to do so.

The problem seems to be that ranlib isn't being run from the cabal-generated makefiles after each libHS.a under libraries/ is built. At some point the build fails when trying to link to libHShaskell98.a, complaining about a missing index, so I ran ranlib on the library, and the build continued. I ended up patching cabal to add a ranlib call from the makefiles, and the build proceeded from start to finish, without failing.

If anyone is interested in seeing the patch, I've sent it to the Cabal-devel list:

http://www.haskell.org/pipermail/cabal-devel/2008-February/002033.html

Has anyone else using Mac OSX 10.5 had this problem?

Peter Gavin


_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to