标签: hat

再次在'Hat`上退出失败1

这个问题中,我们安装了依赖项Hat.现在,当我尝试做

cabal install Hat
Run Code Online (Sandbox Code Playgroud)

我到最后:

[ 6 of 11] Compiling Environment      ( trans/Environment.hs, dist/build/hat-trans/hat-trans-tmp/Environment.o )

trans/Environment.hs:497:13:
    Not in scope: data constructor `PExplTypeArg'
Failed to install hat-2.8.0.0
World file is already up to date.
cabal: Error: some packages failed to install:
hat-2.8.0.0 failed during the building phase. The exception was:
ExitFailure 1
Run Code Online (Sandbox Code Playgroud)

debugging haskell compiler-errors hat cabal-install

4
推荐指数
1
解决办法
145
查看次数

如何安装`帽子`

我试图获得Hat调试器.当我尝试:

cabal install hat 要么 cabal install hat -v

最后我得到:

configure: error: in `/tmp/terminfo-0.4.0.0-17745/terminfo-0.4.0.0':
configure: error: curses headers could not be found, so this package cannot be built
See `config.log' for more details
Failed to install terminfo-0.4.0.0
cabal: Error: some packages failed to install:
haskeline-0.7.1.3 depends on terminfo-0.4.0.0 which failed to install.
hat-2.8.0.0 depends on terminfo-0.4.0.0 which failed to install.
terminfo-0.4.0.0 failed during the configure step. The exception was:
ExitFailure 1
Run Code Online (Sandbox Code Playgroud)

所以麻烦我尝试:

cabal install terminfo
Run Code Online (Sandbox Code Playgroud)

得到:

configure: error: …
Run Code Online (Sandbox Code Playgroud)

debugging haskell hat cabal cabal-install

2
推荐指数
1
解决办法
709
查看次数

标签 统计

cabal-install ×2

debugging ×2

haskell ×2

hat ×2

cabal ×1

compiler-errors ×1