1

こんにちは、私が何をしているのかわかりません。基本的に、自作経由で 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 以外に自作経由でインストールしたものは他にありません) もしそうなら、何をインストールすればよいでしょうか??

4

0 に答える 0