通过自制软件安装ghc时出错

时间:2013-10-12 12:37:48

标签: haskell osx-mountain-lion homebrew ghc

嗨,我不知道我在做什么 基本上我试图通过自制软件将ghc和haskell-platform置于我的mac上 但是由于我不理解的原因,ghc不起作用,因此haskell-platform

也没有 据酿酒医生说:

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
    /usr/local/lib/pkgconfig/fuse.pc
its-fatbass:~ jellynom$ brew doctor
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
    /usr/local/lib/pkgconfig/fuse.pc

但根据某人这可以忽略??? 我也似乎无法找到要删除它的文件(如果我应该删除它)

==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/ghc-7.6.3.mo
######################################################################## 100.0%
==> Pouring ghc-7.6.3.mountain_lion.bottle.1.tar.gz
==> Caveats
This brew is for GHC only; you might also be interested in haskell-platform.
==> Summary
 /usr/local/Cellar/ghc/7.6.3: 5286 files, 776M
its-fatbass:~ jellynom$ brew install haskell-platform
==> Downloading http://lambda.haskell.org/platform/download/2013.2.0.0/haskell-pl
Already downloaded: /Library/Caches/Homebrew/haskell-platform-2013.2.0.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/haskell-platform/2013.2.0.0
configure: error: Your installation of ghc does not appear to work.
  It cannot compile a simple program (see config.log for the details).
  If you installed ghc from a generic binary tarball then it is worth
  checking that you have the 'gmp' C library and header files installed.
  (On Debian-based systems this package is called libgmp3-dev.)

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

These open issues may also help:
    https://github.com/mxcl/homebrew/issues/20956

我不知道如何检查gmp c库和头文件 他们推荐的链接也完全超出我的想象;关于hscolor失踪的事情。

这是否意味着在安装ghc之前我应该​​安装其他东西??? (除了ghc和haskell-platform之外,我没有通过自制软件安装其他任何东西) 如果是的话,我应该安装什么?

0 个答案:

没有答案