我试图运行“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数据时,它只是工作并生成了所有的东西,但是我不知道如何避免这个错误。
发布于 2014-11-14 18:41:53
要解决这个问题,请尝试为wget创建一个包装器
我假设安装的wget位于/usr/bin/wget
将此文件保存为wget在$PATH中的某个位置,并确保它是可执行的:
#!/bin/sh
/usr/bin/wget --no-check-certificate "$@"现在重试你的胡格命令。
https://stackoverflow.com/questions/26936676
复制相似问题