ghc 6.6 for mac os x (intel)

Ariel Apostoli apostoli at
Tue Feb 6 10:15:32 EST 2007

but when I try installing ghc from that page it seems to install fine 
but when I invoke /usr/local/bin/ghc i get:

dyld: Library not loaded: /opt/local/lib/libreadline.5.1.dylib
  Referenced from: /usr/local/lib/ghc-6.6/ghc-6.6
  Reason: image not found
Trace/BPT trap

My version of mac os x is 10.4.8

Again thanks for your time and help so far!


Kirsten Chevalier wrote:
> [redirecting to the list]
> On 2/5/07, Ariel Apostoli <apostoli at> wrote:
>> Hello Kirsten,
>> Thanks so much for your time and help so far. However, I am still stuck
>> on the issue when I try to do this:
>> ./configure --with-readline-includes=/usr/local     \
>>                   --with-readline-libraries=/usr/local
>> I get:
>> checking build system type... i686-apple-darwin8.8.1
>> checking host system type... i686-apple-darwin8.8.1
>> checking target system type... i686-apple-darwin8.8.1
>> Canonicalised to: i386-apple-darwin
>> checking for path to top of build tree... /Users/ariel/work/ghc/ghc-6.6
>> checking for ghc... no
>> checking for ghc-pkg matching ... no
>> checking for ghc-pkg... no
>> checking whether ghc has readline package... no
>> checking for nhc... no
>> checking for nhc98... no
>> checking for hbc... no
>> configure: error: GHC is required unless bootstrapping from .hc files.
>> Do you know what should I do to avoid this?
> Do you already have a binary version of GHC installed? If you want to
> build GHC from source, you need a binary of GHC installed already,
> like the error message suggests. (Unless you want to bootstrap from
> .hc files, but I've never done that, so I don't know.)
> See:
> You didn't say what version of Mac OS X you were using; if it's
> anything older than 10.3, you're probably SOL.
> Cheers,
> Kirsten

More information about the Glasgow-haskell-users mailing list