#2965: GHC on OS X does not compile 64-bit
--------------------------------+-------------------------------------------
    Reporter:  Axman6           |        Owner:  thoughtpolice        
        Type:  feature request  |       Status:  new                  
    Priority:  normal           |    Milestone:  6.12 branch          
   Component:  Compiler         |      Version:                       
    Keywords:  64bit            |   Difficulty:  Unknown              
          Os:  MacOS X          |     Testcase:                       
Architecture:  x86_64 (amd64)   |      Failure:  Installing GHC failed
--------------------------------+-------------------------------------------

Comment(by jeffschwab):

 Thanks; ghc --make Setup.hs enables the creation of a stand-alone Setup
 executable, but "make install" still fails.  It's not just mtl; most of
 the packages do not have Setup scripts.  I think the problem is that
 ${platform}/scripts/build.sh is not completing normally.  I've tried
 running it manually:

     haskell-platform-2009.2.0.2$ scripts/build.sh
     Platform package mtl-1.1.0.2 is already installed. Skipping...
     Building
     "/usr/bin/ghc" "--make" "Setup" "-o" "Setup" "-package"
 "Cabal-1.6.0.3"
     Linking Setup ...
     "./Setup" "configure" "--package-
 db=../../packages/package.conf.inplace" "--prefix=/Users/jeff/opt/haskell"
 "--with-compiler=/usr/bin/ghc" "--with-hc-pkg=/usr/bin/ghc-pkg" "--with-
 hsc2hs=/usr/bin/hsc2hs" "--with-
 happy=../happy-1.18.4/dist/build/happy/happy" "--happy-
 options=--template=../happy-1.18.4" "--with-
 alex=../alex-2.3.1/dist/build/alex/alex" "--with-cabal-install=../cabal-
 install-0.6.2/dist/build/cabal/cabal" "--enable-library-profiling"
     unrecognized option `--with-cabal-install=../cabal-
 install-0.6.2/dist/build/cabal/cabal'

     Error:
     Configuring the happy-1.18.4 package failed

 By the way, during the initial make (before make install), I see an awful
 lot of warnings about unused variables, compatibility issues, and
 deprecation.  Is that normal?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2965#comment:51>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to