4

尝试安装 llvm-general-3.3.5。

有一个本地 ghc-7.6.3 安装,所以在下载二进制文件后使用以下命令配置 llvm-general 包:

runhaskell Setup configure --user --/path/to/local --with-compiler=7.6.3

正如这里的 haskell.org 页面中所建议的那样。得到这个错误:

Setup.hs:42:13:
Couldn't match expected type `ProgramSearchPath
                              -> IO (Maybe FilePath)'
            with actual type `IO (Maybe FilePath)'
In the return type of a call of `findJustBy'
Probable cause: `findJustBy' is applied to too many arguments
In the expression:
  findJustBy (findProgramLocation v) llvmConfigNames
In the expression:
  \ v -> findJustBy (findProgramLocation v) llvmConfigNames

删除配置选项会得到相同的结果。有任何想法吗?我在一台 Scientific linux 机器上。

谢谢!

4

0 回答 0