gpt4 book ai didi

haskell - cabal install 挂起安装 yesod-platform

转载 作者:行者123 更新时间:2023-12-02 02:48:10 24 4
gpt4 key购买 nike

yesod-platform 的 cabal 安装挂起下载 xss-sanitize。 NetHogs 没有显示与此下载相关的网络事件。

$ cabal install yesod-platform
Resolving dependencies...
Downloading xss-sanitize-0.3.4...

其他软件包立即下载和安装。

我在 Fedora 18 上。haskell-platform 和 cabal-install 是来自 repos 的最新版本。
$ cabal --version
cabal-install version 0.14.0
using version 1.14.0 of the Cabal library

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1

编辑

我让它在一夜之间运行,它似乎放弃了 xss-sanitizer,并继续安装其他依赖项。这是尾部。
...
Configuring yesod-test-1.2.1...
Building yesod-test-1.2.1...
Preprocessing library yesod-test-1.2.1...
[1 of 3] Compiling Yesod.Test.CssQuery ( Yesod/Test/CssQuery.hs, dist/build/Yesod/Test/CssQuery.o )
[2 of 3] Compiling Yesod.Test.TransversingCSS ( Yesod/Test/TransversingCSS.hs, dist/build/Yesod/Test/TransversingCSS.o )
[3 of 3] Compiling Yesod.Test ( Yesod/Test.hs, dist/build/Yesod/Test.o )

Yesod/Test.hs:113:1:
Warning: In the use of `runFakeHandler'
(imported from Yesod.Core, but defined in yesod-core-1.2.4.2:Yesod.Core.Internal.Run):
"Usually you should *not* use runFakeHandler unless you really understand how it works and why you need it."
Registering yesod-test-1.2.1...
Installing library in /home/smithd/.cabal/lib/yesod-test-1.2.1/ghc-7.4.1

cabal: Error: some packages failed to install:
xss-sanitize-0.3.4 failed while downloading the package. The exception was:
<socket: 4>: hGetBufSome: timeout (Connection timed out)
yesod-1.2.2.1 depends on xss-sanitize-0.3.4 which failed to install.
yesod-auth-1.2.2.1 depends on xss-sanitize-0.3.4 which failed to install.
yesod-form-1.3.2.1 depends on xss-sanitize-0.3.4 which failed to install.
yesod-platform-1.2.4.2 depends on xss-sanitize-0.3.4 which failed to install.
[smithd@lin2900 ~]$ cabal install yesod-platform

最佳答案

我公司的互联网过滤器将 haskell-xss-sanitize 包作为可能的 XSS 威胁来阻止。特别是测试模块。如果可能,请让您的管理员白名单黑客攻击。

关于haskell - cabal install 挂起安装 yesod-platform,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19105108/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com