Haskell 使用cabal安装vector pkg失败

Haskell 使用cabal安装vector pkg失败,haskell,cabal,Haskell,Cabal,我尝试使用cabal install vector安装vector软件包,但在这里没有给出错误: 我的阴谋版本是: bd$ cabal --version cabal-install version 1.18.0.2 using version 1.18.1.2 of the Cabal library GHC: 通用条款: 有什么问题吗?有些软件包需要GCC来编译C代码或扩展类似C的预处理器pragma。有更多信息,因为确切的解决方案取决于您的特定OSX版本。您的ghc版本是什么?哪个操作系

我尝试使用
cabal install vector
安装vector软件包,但在这里没有给出错误:
我的阴谋版本是:

bd$ cabal --version
cabal-install version 1.18.0.2
using version 1.18.1.2 of the Cabal library
GHC:

通用条款:


有什么问题吗?

有些软件包需要GCC来编译C代码或扩展类似C的预处理器pragma。有更多信息,因为确切的解决方案取决于您的特定OSX版本。

您的
ghc
版本是什么?哪个操作系统?这看起来有点像MacOS X在只安装了Clang而没有安装GCC.GHC 7.6.3版和Apple LLVM 5.0版的情况下给出的错误
bd$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.3
bd$ /usr/bin/gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix