簡體   English   中英

cabal安裝掛起安裝yesod-platform

[英]cabal install hangs installing yesod-platform

yesod-platform的cabal安裝掛起下載xss-sanitize。 NetHogs沒有顯示與此下載相關的網絡活動。

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

其他軟件包立即下載和安裝。

我在Fedora 18上.haskell平台和cabal-install是最新的回購。

$ 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威脅。 特別是測試模塊。 如果可能,請管理您的管理員白名單。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM