使用cabal-install安装wai-app-static 2.0.1失败

时间:2014-04-09 21:51:47

标签: haskell dependencies yesod cabal-install

我试图用cabal-install安装git-annex。它有yesod(和wai-app-static)作为依赖,但后者无法使用以下消息构建:

/home/prvak master # cabal install git-annex -v
Reading available packages...
Choosing modular solver.
Resolving dependencies...
Ready to install wai-app-static-2.0.1
...
Building wai-app-static-2.0.1...
creating /tmp/wai-app-static-2.0.1-5064/wai-app-static-2.0.1/dist/setup
/root/.cabal/setup-exe-cache/setup-Cabal-1.18.1.3-x86_64-linux-ghc-7.6.3 build
--verbose=2
Redirecting build log to {handle: /root/.cabal/logs/wai-app-static-2.0.1.log}
Failed to install wai-app-static-2.0.1
Last 10 lines of the build log ( /root/.cabal/logs/wai-app-static-2.0.1.log ):
Loading package unordered-containers-0.2.3.3 ... linking ... done.
Loading package semigroups-0.12.2 ... linking ... done.
Loading package void-0.6.1 ... linking ... done.
Loading package conduit-1.1.0 ... linking ... done.
Loading package blaze-builder-conduit-1.1.0 ... linking ... done.
Loading package case-insensitive-1.2.0.0 ... linking ... done.
Loading package scientific-0.2.0.2 ... linking ... done.
Loading package attoparsec-0.11.2.1 ... linking ... done.
Loading package parsec-3.1.5 ... linking ... ghc: /usr/local/lib/x86_64-linux-ghc-7.6.3/parsec-3.1.5/HSparsec-3.1.5.o: unknown symbol `textzm1zi1zi0zi1_DataziTextziUnsafe_Iter_con_info'
ghc: unable to load package `parsec-3.1.5'
...
yesod-static-1.2.2.4 depends on wai-app-static-2.0.1 which failed to install.
/home/prvak master # 

我在http://pastebin.com/KYkMSwuh中有更多日志,但我没有比缺少符号更具体的内容'消息。

我该怎么办?我试图重新安装Parsec,但这没有用。

编辑:我删除了作为Linux发行版(Arch)软件包安装的所有Haskell软件包。这没有任何帮助。 /usr/local/lib/x86_64-linux-ghc-7.6.3/parsec-3.1.5/目录由cabal-install在安装Parsec时生成。

我玩过那些应该从git-annex中删除所有网页内容的标记,但遗憾的是没有帮助。罪魁祸首似乎是shakespeare - 在我看来,即使我禁用其内置网络服务器servius-f -servius的安装,它仍然会影响依赖关系(例如包括wai-app-static):(

我尝试自己建立莎士比亚,删除了依赖项,但这也没有帮助。我无法构建:((我尝试使用最新的Git版本:http://pastebin.com/1cJawzYh,以及2.0.0.1:http://pastebin.com/S1trcRJK

0 个答案:

没有答案