我想運行cabal install fay fay-base
。不過,我得到以下錯誤:cabal安裝麻煩用fay
src/Test/CommandLine.hs:18:9:
Dynamic linking required, but this is a non-standard build (eg. prof).
You need to build the program twice: once the normal way, and then
in the desired way using -osuf to set the object file suffix.
cabal: Error: some packages failed to install:
fay-0.14.1.0 failed during the building phase. The exception was:
ExitFailure 1
fay-base-0.14.1.0 depends on fay-0.14.1.0 which failed to install.
我不知道它是什麼問我時,問我「安裝一次正常的方式,然後在需要的方式」做。
任何想法?
原貼:
我試圖運行cabal install fay fay-base
。不過,我得到以下錯誤:
/usr/bin/ld: cannot find -lHSsplit-0.2.1.1-ghc7.4.1
collect2: ld returned 1 exit status
cabal: Error: some packages failed to install:
fay-0.14.1.0 failed during the building phase. The exception was:
ExitFailure 1
fay-base-0.14.1.0 depends on fay-0.14.1.0 which failed to install.
我已經收到了另一個包這個錯誤安裝,但我不記得是哪一個(我相信這是遊戲的包裝之一,所以它更容易放棄)。我試着用google搜索-lHSsplit並一直無法找到任何幫助。
有誰知道我需要安裝什麼依賴項?
這是通過安裝Daniel Fischer建議的拆分cabal install split
解決的。
在此先感謝!
你在使用什麼操作系統?還cabal/ghc版本? – Attic 2013-02-17 11:58:30
'fay'依賴於'split',並且鏈接程序找不到該庫。你可以驗證你有嗎(可能在'〜/ .cabal/lib/split-0.2.1.1'中)?你可以嘗試以更高的冗長度安裝'fay'('-v3'給你很多輸出,其中包括用於調用GHC的命令行),這可能會告訴某人究竟出了什麼問題。 – 2013-02-17 14:17:04
安裝拆分允許我進一步。但是,我現在在我的編輯上面發佈了錯誤。 – Joe 2013-02-17 17:15:31