実行しようとしていますcabal install fay fay-base
。ただし、次のエラーが表示されます。
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.
別のパッケージのインストールでこのエラーを受け取りましたが、どれがどれだったか思い出せません (ゲーム パッケージの 1 つだったと思うので、あきらめるのが簡単でした)。-lHSsplit についてグーグルで調べてみましたが、助けが見つかりませんでした。
インストールする必要がある依存関係を誰かが知っていますか?
cabal install split
これは、Daniel Fischer の提案に従ってsplit をインストールすることで解決されました。
前もって感謝します!