
I'm having some trouble installing ghc on my MacBook (running 10.4). I did ./configure make install but then I get me$ ghci -bash: ghc: command not found So I tried adding /usr/local/bin to my path (that's the default installation location, right?), and now I get me$ ghci dyld: Library not loaded: GNUreadline.framework/Versions/A/GNUreadline Referenced from: /usr/local/lib/ghc-6.6.1/ghc-6.6.1 Reason: image not found Trace/BPT trap Any idea what's wrong? Thanks

Hi Edwin, You need to install the readline framework. This email explains more: http://www.haskell.org/pipermail/glasgow-haskell-users/2007-May/ 012576.html You'll also need to install the GMP framework mentioned in the email. They usually go in /Library/Frameworks, but I believe you can also install them in ~/Library/Frameworks, if you prefer. Aaron On May 24, 2007, at 3:35 PM, Edwin Chen wrote:
I'm having some trouble installing ghc on my MacBook (running 10.4). I did ./configure make install but then I get me$ ghci -bash: ghc: command not found
So I tried adding /usr/local/bin to my path (that's the default installation location, right?), and now I get
me$ ghci dyld: Library not loaded: GNUreadline.framework/Versions/A/GNUreadline Referenced from: /usr/local/lib/ghc-6.6.1/ghc-6.6.1 Reason: image not found Trace/BPT trap
Any idea what's wrong? Thanks _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Thu, 24 May 2007 at 05:46PM -0700, Aaron Tomb wrote:
Hi Edwin,
You need to install the readline framework. This email explains more:
http://www.haskell.org/pipermail/glasgow-haskell-users/2007-May/ 012576.html
You'll also need to install the GMP framework mentioned in the email. They usually go in /Library/Frameworks, but I believe you can also install them in ~/Library/Frameworks, if you prefer.
I figured this out earlier this afternoon! Yes, you need those frameworks. It's better to put them in /Library/Frameworks; otherwise you need to pass flags to ghc when you try to compile, as described here: http://www.nabble.com/Re:-GNUreadline.framework-and-GMP.framework-t3776769.h... At any rate, once you install the frameworks it should work fine. Dan -- Ceci n'est pas une .signature.

You need the GNUreadline (and GMP) framework, too. (ie. as root) unzip GNUreadline-framework.zip -d /Library/Frameworks unzip GMP-framework.zip -d /Library/Frameworks http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... Ian Lynagh, could make this more clear on http://www.haskell.org/ghc/download_ghc_661.html and possibly put these frameworks on your servers, too? The same problem was described here: http://hackage.haskell.org/trac/ghc/ticket/1367 Cheers Christian Edwin Chen schrieb:
I'm having some trouble installing ghc on my MacBook (running 10.4). I did ./configure make install but then I get me$ ghci -bash: ghc: command not found
So I tried adding /usr/local/bin to my path (that's the default installation location, right?), and now I get
me$ ghci dyld: Library not loaded: GNUreadline.framework/Versions/A/GNUreadline Referenced from: /usr/local/lib/ghc-6.6.1/ghc-6.6.1 Reason: image not found Trace/BPT trap
Any idea what's wrong? Thanks
------------------------------------------------------------------------
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (5)
-
Aaron Tomb
-
bkw479@mac.com
-
Christian Maeder
-
Dan Drake
-
Edwin Chen