MacPorts will use _only_ a ghc built with "port install ghc", no other

Christian Maeder Christian.Maeder at dfki.de
Fri Oct 10 10:33:25 EDT 2008


Hi,

Denis wanted to install pandoc form MacPorts and got problems (below),
because he has installed my ghc-6.8.3-powerpc binary. If my binary works
you could download

http://hackage.haskell.org/packages/archive/pandoc/1.0.0.1/pandoc-1.0.0.1.tar.gz
unpack and do the

          runhaskell Setup configure
          runhaskell Setup build
          sudo runhaskell Setup install

business
(http://www.haskell.org/haskellwiki/Cabal/How_to_install_a_Cabal_package)
also for all missing dependencies, i.e.
http://hackage.haskell.org/packages/archive/zip-archive/0.1.1/zip-archive-0.1.1.tar.gz

I don't know if or how this interferes with MacPorts.

Cheers Christian

port deps pandoc =>
pandoc has build dependencies on:
        ghc
        haddock
pandoc has library dependencies on:
        gmp



denis wrote:
> Thanks Greg,
> 
> fair enough.
> Could you or Christian suggest to the owners of
> http://haskell.org/ghc/download_ghc_683.html
> something along the lines of
> 
>  MacPorts users note:
>  MacPorts will use /only/ a ghc built with "port install ghc", no other.
> 
> so the next guy doesn't run into the same wall ?
> 
> Hi,
> 
> MacPorts uses a known good binary ghc bootstrap compiler to
> build ghc from source.  We won't support building using another
> bootstrap compiler, which seems to be what you want to do.  (ghc
> is hard enough to build with a known good compiler, and we don't
> have the resources to debug unsupported configurations.)
> 
> Best Wishes,
> Greg
> 
> 
> 


More information about the Glasgow-haskell-users mailing list