tag:blogger.com,1999:blog-21500237.post2112454165227250739..comments2023-04-29T04:08:32.247-04:00Comments on Praise, Curse, and Recurse: MacPorts, Snow Leopard, and GHC == SadnessPaul R. Pottshttp://www.blogger.com/profile/04401509483200614806noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-21500237.post-30233188793563340442010-02-23T18:37:04.076-05:002010-02-23T18:37:04.076-05:00You may be interested in Homebrew, a fresh take on...You may be interested in <a href="http://github.com/mxcl/homebrew" rel="nofollow">Homebrew</a>, a fresh take on open-source package management on OS X. You can find formulae for <a href="http://github.com/mxcl/homebrew/issues/issue/815" rel="nofollow">GHC 6.12.1</a> and <a href="http://github.com/mxcl/homebrew/issues/issue/816" rel="nofollow">Cabal 0.8.0</a> in my fork.Anonymoushttps://www.blogger.com/profile/05245796149619242061noreply@blogger.comtag:blogger.com,1999:blog-21500237.post-14070773321574492892009-09-23T04:39:47.258-04:002009-09-23T04:39:47.258-04:00I am still using the Haskell platform I installed ...I am still using the Haskell platform I installed on Leopard, and it seems to work fine.Andy Georgeshttps://www.blogger.com/profile/01590408683000992362noreply@blogger.comtag:blogger.com,1999:blog-21500237.post-30508405446439561922009-09-10T12:15:32.303-04:002009-09-10T12:15:32.303-04:00I'm away from my Macs for the day, but I will ...I'm away from my Macs for the day, but I will try out these options when I get home.Paul R. Pottshttps://www.blogger.com/profile/04401509483200614806noreply@blogger.comtag:blogger.com,1999:blog-21500237.post-41093073519113167252009-09-10T12:11:54.114-04:002009-09-10T12:11:54.114-04:00Thanks for all the suggestions and info!Thanks for all the suggestions and info!Paul R. Pottshttps://www.blogger.com/profile/04401509483200614806noreply@blogger.comtag:blogger.com,1999:blog-21500237.post-79248058456965633202009-09-10T11:13:53.162-04:002009-09-10T11:13:53.162-04:00It's because mac os x snow leopard and ghc don...It's because mac os x snow leopard and ghc don't agree on the system architecture. <br /><br />If you don't use macports,you can install the latest GHC, and correct the wrapper scripts to emit good code per this thread in Haskell-Cafe.<br /><br />http://www.haskell.org/pipermail/haskell-cafe/2009-August/065827.htmldleimbachhttps://www.blogger.com/profile/16390601578699023986noreply@blogger.comtag:blogger.com,1999:blog-21500237.post-14515645511697305622009-09-10T09:47:16.119-04:002009-09-10T09:47:16.119-04:00Across the board on OS X or Linux, I use a package...Across the board on OS X or Linux, I use a package manager whenever I'd be happy with a version of a package from the last year or two. I have friends who adopt packages, and they tell me I should too, if I want to expect better than this for any package I care about. This has nothing to do with GHC, it's the norm.<br /><br />There's a tiny issue with Snow Leopard; see http://hackage.haskell.org/trac/ghc/ticket/3400 and links for details.<br /><br />Intall GHC using the package "GHC-6.10.4-i386.pkg" found directly on their site: http://haskell.org/ghc/download_ghc_6_10_4.html<br /><br />Then edit (as superuser, e.g. "sudo nano /usr/bin/ghc") the file /usr/bin/ghc to change "-dynload" to "-optc-m32 -opta-m32 -optl-m32 -dynload". This forces GHC to issue 32 bit code; it can't yet manage 64 bit code for OS X.Syzygies2https://www.blogger.com/profile/12050218102897051578noreply@blogger.comtag:blogger.com,1999:blog-21500237.post-77918423954684838782009-09-10T03:41:06.920-04:002009-09-10T03:41:06.920-04:00I had no problems whatsever installing the latest ...I had no problems whatsever installing the latest Beta of the Haskell Platform for Mac in 10.6. You should try that.Anonymoushttps://www.blogger.com/profile/12515845790833043262noreply@blogger.comtag:blogger.com,1999:blog-21500237.post-54241677070787662222009-09-10T00:11:09.582-04:002009-09-10T00:11:09.582-04:00Paul, the problem is that there's no 64 bit bu...Paul, the problem is that there's no 64 bit build for Macs yet. Use the Haskell platform installer and then google ghc Snow Leopard to help you configure it for building 32-bit binaries. It's the only way for now.Ian Duncanhttps://www.blogger.com/profile/02737768311766984065noreply@blogger.com