0

Haskell は初めてで、コンパイラ構築クラスのプログラムを作成しようとしています。

ubuntu 13.10 に haskell-platform パッケージをインストールし、(haskell プラットフォームのインストール後に何もいじらずに) 次のコマンドを実行しようとしました。

$ sudo cabal install bnfc

結果は次のとおりです。

Resolving dependencies...
Configuring BNFC-2.6.0.3...
cabal: The following installed packages are broken because other packages they
depend on are missing. These broken packages must be rebuilt before they can
be used.
package process-1.1.0.2 is broken due to missing package
directory-1.2.0.1-508733a890139bbedb8aa76468431462
Failed to install BNFC-2.6.0.3
cabal: Error: some packages failed to install:
BNFC-2.6.0.3 failed during the configure step. The exception was:
ExitFailure 1

パッケージディレクトリをインストールしようとすると、パッケージは既にインストールされていると表示されます。誰でも助けることができますか?

4

1 に答える 1