3
我試圖運行「hoogle數據」,我得到這個作爲輸出:由於wget證書過期,無法生成hoogle數據?
Downloading downloads/base.txt
# base.txt (for downloads/base.txt)
ERROR: cannot verify www.haskell.org's certificate, issued by '/C=BE/O=GlobalSign nv-sa/CN=GlobalSign Organization Validation CA - G2':
Issued certificate has expired.
To connect to www.haskell.org insecurely, use `--no-check-certificate'.
hoogle: Error when running Shake build system:
* default.hoo
* platform.hoo
* mtl.hoo
* base.txt
* downloads/base.txt.cache
* downloads/base.txt
Development.Shake.command, system command failed
Command: wget -nv http://www.haskell.org/hoogle/base.txt --output-document=downloads/base.txt
Exit code: 5
Stderr:
ERROR: cannot verify www.haskell.org's certificate, issued by '/C=BE/O=GlobalSign nv-sa/CN=GlobalSign Organization Validation CA - G2':
Issued certificate has expired.
To connect to www.haskell.org insecurely, use `--no-check-certificate'.
我不知道該怎麼辦,上次我跑了它只是工作和產生的一切hoogle數據,但我無法弄清楚如何解決這個錯誤。
不會hoogle仍然使用原始的wget?爲什麼會喜歡使用包裝? – 2014-11-14 18:47:23
hoogle使用PATH來查找wget。如果PATH搜索首先找到您的版本,它將使用該版本。因此,將包裝放在PATH中'/ usr/bin'之前的目錄中。 – ErikR 2014-11-14 19:03:01
太棒了,它工作,謝謝 – 2014-11-14 19:03:45