私は で多くの問題を抱えていますcabal-install
:
1: するたびに、そうするようにcabal update
言われるのでcabal install cabal-install
、そうします。もう一度やるcabal update
と、同じことを言います。
2:ghc-mod
ハックからインストールしようとすると、次のエラーが表示されます。
[username@arch ~]$ cabal install ghc-mod
In order, the following will be installed:
haskell-src-exts-1.14.0 (reinstall) changes: pretty-1.1.1.1 -> 1.1.1.0
hlint-1.8.55 (reinstall)
ghc-mod-3.1.4
setup: The program happy version >=1.17 is required but it could not be found.
ghc-mod-3.1.4 depends on haskell-src-exts-1.14.0 which failed to install.
haskell-src-exts-1.14.0 failed during the configure step.
hlint-1.8.55 depends on haskell-src-exts-1.14.0 which failed to install.
問題は だったので、問題なく使用しThe program happy version >=1.17 is required but it could not be found.
てインストールしました。happy 1.19.2
cabal install happy
cabal install ghc-mod
もう一度試してみましたが、同じエラーだったので、試してみcabal install haskell-src-exts --reinstall --force-reinstalls
ました。次のエラーが表示されました。
[username@arch ~]$ cabal install haskell-src-exts --reinstall --force-reinstalls
Configuring haskell-src-exts-1.14.0...
setup: The program happy version >=1.17 is required but it could not be found.
Failed to install haskell-src-exts-1.14.0
cabal: Error: some packages failed to install:
haskell-src-exts-1.14.0 failed during the configure step. The exception was:
ExitFailure 1
基本的にThe program happy version >=1.17 is required but it could not be found.
。幸せすぎてまた問題?
また、ハックから tar.gz ファイルをダウンロードしてファイルで使用しようとしcabal install
ましたが、
依存関係を無視するようにファイルを.cabal
変更しましたが、それでも失敗しました。.cabal