ubuntuにwxhaskellをインストールしようとしています(すでにwxwidgetをインストールしており、コードブロックでうまく機能します)
cabal install wxc
ターミナルで実行します
そしてここに出力があります
/tmp/wxc-0.92.1.1-2711/wxc-0.92.1.1/Setup.hs:25:8:
Could not find module Distribution.Compat.Exception
It is a member of the hidden package Cabal-1.22.5.0.
it is a hidden module in the package Cabal-1.16.0
Use -v to see a list of the files searched for.
Failed to install wxc-0.92.1.1
cabal: Error: some packages failed to install:
wxc-0.92.1.1 failed during the configure step. The exception was:
ExitFailure 1
実際、見つけDistribution.Compat.Exception
て試してみ sudo ghc-pkg expose Cabal-1.16.0
sudo ghc-pkg expose Cabal-1.22.5.0
ましたが、何も変わりませんでした
誰かが私を助けてくれます、ありがとう!