lein安装问题

clojure使用lein作为包管理及编译工具,所以在开始你的clojure之旅的开始,需要安装一下leiningen(注意读音)     lein的项目维护在github:https://github.com/technomancy/leiningen,可以按照安装方案进行,不赘述,以下是安装过程中碰到的问题安装环境:OS: [dcli@nfzm ~]$ head
摘要由CSDN通过智能技术生成
本文为作者原创,转载请标明出处。原作者:Tony_老七
  
   clojure使用lein作为包管理及编译工具,所以在开始你的clojure之旅的开始,需要安装一下leiningen(注意读音)

     lein的项目维护在github:https://github.com/technomancy/leiningen,可以按照安装方案进行,不赘述,以下是安装过程中碰到的问题

安装环境:
OS: 
[dcli@nfzm ~]$ head -n 1 /etc/issue 
CentOS release 5.8 (Final)

一、无法下载安装包

下载lein的脚本后,执行lein,或者lein install,它会去下载leiningen-xxx-standalone.jar(xxxx为版本,我的是2.5.0)
报错如下:
Failed to download https://github.com/technomancy/leiningen/releases/download/2.5.0/leiningen-2.5.0-standalone.jar (exit code 7)

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.

搜了一下网上的解决办法
https://github.com/technomancy/leiningen/issues/1634

解决方法:
export HTTP_CLIENT="wget --no-check-certificate -O"
然后再此执行,下载成功

二、无法启动repl
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值