[GHC] #1170: Can't install on intel mac

GHC trac at galois.com
Sat Feb 24 10:38:17 EST 2007


#1170: Can't install on intel mac
---------------------------------+------------------------------------------
    Reporter:  j.millen at mac.com  |       Owner:         
        Type:  support request   |      Status:  new    
    Priority:  normal            |   Milestone:         
   Component:  Build System      |     Version:  6.6    
    Severity:  normal            |    Keywords:         
  Difficulty:  Unknown           |    Testcase:         
Architecture:  x86               |          Os:  MacOS X
---------------------------------+------------------------------------------
Mac Intel (Tiger) installation from the binary package failed.

 I downloaded http://haskell.org/ghc/dist/6.6/ghc-6.6-i386-apple-
 darwin.tar.bz2 and
 moved the directory ghc6.6 under /Applications. I then tried a few
 combinations of
 ./configure and make, none of which worked, apparently because there is no
 /usr/local/lib.

 (caveat: I'm not a UNIX guru, I only have the vaguest idea what's going on
 here.)

 I tried ./configure (with no prefix) and then make install; when that
 failed for
 lack of /usr/local/lib, I tried make in-place.

 That apparently succeeded and told me to put
 /Applications/ghc-6.6/bin/i386-apple-darwin in my PATH. I haven't yet
 looked up where the
 plist file is that sets my PATH, but I just tried
 /Applications/ghc-6.6/bin/i386-apple-darwin/ghci, and that failed for lack
 of
 /usr/local/lib/ghc-6.6/ghc-6.6.

 The ghci script being executed is apparently:

 #! /bin/sh
 bindir='/Applications/ghc-6.6/bin/i386-apple-darwin'
 libdir='/Applications/ghc-6.6/lib/i386-apple-darwin'
 libexecdir='/Applications/ghc-6.6/lib/i386-apple-darwin'
 datadir='/Applications/ghc-6.6/share'
 SED='/usr/bin/sed'
 DEFAULT_TMPDIR='/tmp'
 #!/bin/sh
 GHCBIN="/usr/local/lib/ghc-6.6/ghc-6.6";
 TOPDIROPT="-B/usr/local/lib/ghc-6.6";
 # Mini-driver for GHCi
 exec $GHCBIN $TOPDIROPT --interactive ${1+"$@"}

 I tried ./configure --prefix /Applications/ghc6.6
 and then make in-place, and got the same results.

 Jon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1170>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list