我根本无法在 Debian linux 上安装 leiningen :
> lein
Downloading Leiningen to /home/debianaut/.lein/self-installs/leiningen-2.4.3-standalone.jar now...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 355 100 355 0 0 240 0 0:00:01 0:00:01 --:--:-- 375
100 14.2M 100 14.2M 0 0 51565 0 0:04:48 0:04:48 --:--:-- 41059
Failed to download https://github.com/technomancy/leiningen/releases/download/2.4.3/leiningen-2.4.3-standalone.jar
It's possible your HTTP client's certificate store does not have the
correct certificate authority needed. This is often caused by an
out-of-date version of libssl. Either upgrade it or set HTTP_CLIENT
to turn off certificate checks:
export HTTP_CLIENT="wget --no-check-certificate -O" # or
export HTTP_CLIENT="curl --insecure -f -L -o"
It's also possible that you're behind a firewall haven't yet
set HTTP_PROXY and HTTPS_PROXY.
Run Code Online (Sandbox Code Playgroud)
我尝试设置 HTTP_CLIENT 但仍然是同样的错误。我从 lein 脚本中读取的版本是2.4.3.
我在 Mac OS X 10.8.5 (Mountain Lion) 上使用 leiningen 2.1.3 时遇到了同样的问题。该脚本尝试下载https://leiningen.s3.amazonaws.com/downloads/leiningen-2.1.3-standalone.jar
最终我回到 leiningen.org 并从https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein获取当前的 lein 脚本
效果很好。下载的资源是: https: //github.com/technomancy/leiningen/releases/download/2.5.1/leiningen-2.5.1-standalone.zip
| 归档时间: |
|
| 查看次数: |
1673 次 |
| 最近记录: |