我在运行时遇到问题(尽管使用 plainhaste-boot --force --local
启动最新版本时也会发生同样的事情)。它取得了一些进展,然后失败了cabal
haste-boot
cabal: Error: some packages failed to install:
bytestring-0.10.4.1 failed during the building phase. The exception was:
ExitFailure 1
haste-lib-0.4 depends on bytestring-0.10.4.1 which failed to install
Command '/home/inaimathi/.cabal/bin/haste-inst' failed with error code 1
我已经手动安装bytestring-0.10.4.1
了,cabal install
这样:
~/projects/haste-compiler $ cabal install bytestring-0.10.4.1
Resolving dependencies...
All the requested packages are already installed:
bytestring-0.10.4.1
Use --reinstall if you want to reinstall anyway.
~/projects/haste-compiler $
但haste
版本仍然不合作。
~/projects/haste-compiler $ haste-inst install bytestring-0.10.4.1 haste-inst install bytestring-0.10.4.1
Resolving dependencies...
In order, the following will be installed:
bytestring-0.10.4.1 (reinstall) changes: base-4.6.0.1 added, deepseq-1.4.0.0
added, integer-gmp-0.5.0.0 added
Warning: Note that reinstalls are always dangerous. Continuing anyway...
Configuring bytestring-0.10.4.1...
Building bytestring-0.10.4.1...
Preprocessing library bytestring-0.10.4.1...
hastec: user error (Haste needs to be rebooted; please run haste-boot)
Failed to install bytestring-0.10.4.1
cabal: Error: some packages failed to install:
bytestring-0.10.4.1 failed during the building phase. The exception was:
ExitFailure 1
~/projects/haste-compiler $
根据该错误消息,看起来需要我先运行安装适当的bytestring
版本,但由于与安装相关的错误而失败。haste-inst
haste-boot
haste-boot
bytestring
关于我可以在这里做什么的任何想法?
编辑:
相关片段似乎比安装中的实际错误发生得早得多:
...
Data/ByteString/Internal.hs:212:10:
No instance for (Control.DeepSeq.GNFData
(GHC.Generics.Rep ByteString))
arising from a use of `Control.DeepSeq.$gdmrnf'
Possible fix:
add an instance declaration for
(Control.DeepSeq.GNFData (GHC.Generics.Rep ByteString))
In the expression: (Control.DeepSeq.$gdmrnf)
In an equation for `rnf': rnf = (Control.DeepSeq.$gdmrnf)
In the instance declaration for `NFData ByteString'
Failed to install bytestring-0.10.4.1
...
编辑 2:杰弗里,您请求的终端会话会将这篇文章置于 30000 个字符的限制之上。这是一个指向它的pastebin 链接。