【发布时间】:2015-03-14 18:21:22
【问题描述】:
在cabal install ihaskell 遇到很多困难后,我阅读了
如果您在安装过程中遇到问题,请务必先试用 Github 版本。 IHaskell 处于快速发展阶段,因此 Hackage 可能并不总是最新的。为了从 Github 安装,请从存储库中拉取,然后使用
./build.sh all进行安装
今天早上我升级到了ghc-7.8.4 和cabal-1.22,我正在使用简单的git clone 从 github 存储库下载 iHaskell。
很难找到几个图书馆。
/usr/bin/ld: cannot find -lHStransformers-compat-0.4.0.3-ghc7.8.4
/usr/bin/ld: cannot find -lHSmtl-2.1.3.1-ghc7.8.4
/usr/bin/ld: cannot find -lHStagged-0.7.3-ghc7.8.4
/usr/bin/ld: cannot find -lHStext-1.2.0.4-ghc7.8.4
/usr/bin/ld: cannot find -lHSvector-0.10.12.2-ghc7.8.4
/usr/bin/ld: cannot find -lHSunordered-containers-0.2.5.1-ghc7.8.4
/usr/bin/ld: cannot find -lHSsyb-0.4.4-ghc7.8.4
/usr/bin/ld: cannot find -lHSmtl-2.1.3.1-ghc7.8.4
/usr/bin/ld: cannot find -lHSdlist-0.7.1-ghc7.8.4
/usr/bin/ld: cannot find -lHSattoparsec-0.12.1.3-ghc7.8.4
/usr/bin/ld: cannot find -lHSscientific-0.3.3.7-ghc7.8.4
/usr/bin/ld: cannot find -lHShashable-1.2.3.1-ghc7.8.4
不幸的是,我可以验证其中一些存在。
me@ubuntu:~/Downloads/IHaskell$ cabal install mtl
Resolving dependencies...
All the requested packages are already installed:
mtl-2.2.1
Use --reinstall if you want to reinstall anyway
ld 似乎更像是 C++ 错误而不是 Haskell 错误,但我不知道如何处理。
【问题讨论】:
-
哼。你说
mtl-2.2.1已安装,但链接器正在寻找的库是mtl-2.1.3.1。我可能会猜测 none 其中没有安装。