Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Haskell 阴谋集团安装hoogle错误-缺少BuilderResponse_Haskell_Cabal_Hoogle - Fatal编程技术网

Haskell 阴谋集团安装hoogle错误-缺少BuilderResponse

Haskell 阴谋集团安装hoogle错误-缺少BuilderResponse,haskell,cabal,hoogle,Haskell,Cabal,Hoogle,警告:这里是Haskell的新用户 我正在尝试安装Hoogle的CLI版本,并附带教程。我在Haskell平台2013.2.0.0上看到了以下内容,适用于Mac OS X,64位 其他信息:~/Library/Haskell/bin在我的路径中。alex和happy(还有wai,我认为BuilderResponse实际上是在这里定义的)已经安装好了。这不是最初安装的成绩单(在失败之前安装了很多东西),但这就是我现在所处的位置。对于giggles,我在Fedora19(X86_64)上尝试了同样的

警告:这里是Haskell的新用户

我正在尝试安装Hoogle的CLI版本,并附带教程。我在Haskell平台2013.2.0.0上看到了以下内容,适用于Mac OS X,64位

其他信息:~/Library/Haskell/bin在我的路径中。alex和happy(还有wai,我认为BuilderResponse实际上是在这里定义的)已经安装好了。这不是最初安装的成绩单(在失败之前安装了很多东西),但这就是我现在所处的位置。对于giggles,我在Fedora19(X86_64)上尝试了同样的方法,但同样失败,所以我认为它不是Mac专用的

% cabal update
Downloading the latest package list from hackage.haskell.org
% cabal -V
cabal-install version 1.18.0.2
using version 1.18.1.2 of the Cabal library 
% cabal install hoogle
Resolving dependencies...
Configuring hoogle-4.2.23...
Building hoogle-4.2.23...
Preprocessing library hoogle-4.2.23...
[ 1 of 46] Compiling Paths_hoogle     ( dist/build/autogen/Paths_hoogle.hs, dist/build/Paths_hoogle.o )
[ 2 of 46] Compiling Data.TypeMap     ( src/Data/TypeMap.hs, dist/build/Data/TypeMap.o )
[ 3 of 46] Compiling Data.Heap        ( src/Data/Heap.hs, dist/build/Data/Heap.o )
[ 4 of 46] Compiling Hoogle.Score.Type ( src/Hoogle/Score/Type.hs, dist/build/Hoogle/Score/Type.o )
[ 5 of 46] Compiling Hoogle.Score.Scoring ( src/Hoogle/Score/Scoring.hs, dist/build/Hoogle/Score/Scoring.o )
[ 6 of 46] Compiling Hoogle.Score.All ( src/Hoogle/Score/All.hs, dist/build/Hoogle/Score/All.o )
[ 7 of 46] Compiling General.Base     ( src/General/Base.hs, dist/build/General/Base.o )
[ 8 of 46] Compiling General.System   ( src/General/System.hs, dist/build/General/System.o )
[ 9 of 46] Compiling Hoogle.Type.Language ( src/Hoogle/Type/Language.hs, dist/build/Hoogle/Type/Language.o )
[10 of 46] Compiling General.Util     ( src/General/Util.hs, dist/build/General/Util.o )
[11 of 46] Compiling General.Web      ( src/General/Web.hs, dist/build/General/Web.o )

src/General/Web.hs:44:19:
    Not in scope: data constructor `ResponseBuilder'
Failed to install hoogle-4.2.23
cabal: Error: some packages failed to install:
hoogle-4.2.23 failed during the building phase. The exception was:
ExitFailure 1

Neil似乎没有更新hoogle来使用最新的
wai
软件包。短期解决方案是迫使阴谋集团选择一个旧版本的违规软件包(wai):


cabal安装hoogle——wai 3又发生了这样的事情
cabal安装hoogle——constraint='wai
hoogle
最近已相应更新(
4.2.33
)。又是开箱即用。
cabal install hoogle --constraint='wai<2.0'