Leiningen安装在ubuntu 14.02上失败了

时间:2015-07-03 16:27:20

标签: clojure leiningen

我正在尝试按照leiningen Live的步骤在ubuntu上安装leiningen。首先我尝试将它安装在代理后面它没有用,然后我使用没有代理的网络,它仍然给我同样的错误。

usman@usman-pc:/bin$ lein run
Downloading Leiningen to /home/usman/.lein/self-installs/leiningen-2.5.1-standalone.zip now...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (77) error setting certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
Failed to download    
https://github.com/technomancy/leiningen/releases/download/2.5.1/leiningen-2.5.1-standalone.zip (exit code 77)
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. It's also possible that you're behind a
firewall and haven't set HTTP_PROXY and HTTPS_PROXY.

我甚至在lein脚本中将.jar扩展名更改为.zip它仍然无法正常工作。什么对clojure有帮助的人可以提供帮助?

1 个答案:

答案 0 :(得分:0)

试试这个:

sudo mkdir -p /etc/pki/tls/certs

然后:

sudo ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt

它与curl在该位置查找证书有关。