0

実行しようとしています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 をインストールすることで解決されました。

前もって感謝します!

4

1 に答える 1

1

ghc 7.4.2を使用してArchにインストールしましたが、使用しているオペレーティングシステムがわかりませんが、GNU / Linuxを使用している(または使用していない)場合は、7.4.2にアップグレードして、fay/fayの新規インストールを試してください。 -ベース。

まだ行っていない場合は、cabal-devを試してみることをお勧めします。その方法は次のとおりです: https ://github.com/faylang/fay/wiki/Installing-and-running

cabal-devの部分まで少し下にスクロールします。

于 2013-02-17T12:12:49.267 に答える