[英]Leiningen: Install issues on OSX Mountain Lion
UPDATE: 更新:
I have installed via 'homebrew' and updated (see comments to this question), so my ultimate problem is solved, but the particular question I posted here is still open, but I am not really caring since the 'homebrew' solution circumvented it for me. 我已经通过“自制程序”进行了安装并进行了更新(请参阅对此问题的评论),因此我的最终问题得以解决,但是我在此处发布的特定问题仍未解决,但由于“自制程序”解决方案绕过了它,因此我并不在意我。 Thanks to Diego Basch for his suggestion.
感谢Diego Basch的建议。
I'm trying to install leinigen, following the instructions for a shell script here: http://leiningen.org/ . 我正在尝试按照以下shell脚本的说明安装leinigen: http ://leiningen.org/。 I downloaded the `lein' script and executed but got the following error:
我下载了“ lein”脚本并执行了,但出现以下错误:
[/usr/local/bin (git:master) ] $ ./lein.sh
Could not find artifact lein-newnew:lein-newnew:jar:0.3.7
This could be due to a typo in :dependencies or network issues.
Could not resolve dependencies
Closest answer I found on stackexchange was: Installation of Leiningen 2.X in Mac OS X 我在stackexchange上找到的最接近的答案是: 在Mac OS X中安装Leiningen 2.X
but that didn't help. 但这没有帮助。 Any help is appreciated in resolving this.
在解决此问题方面,我们将提供任何帮助。
Thanks, 谢谢,
Matt 马特
You can install Leiningen 2 (that's what you want nowadays) on OSX via Homebrew: 您可以通过Homebrew在OSX上安装Leiningen 2(即今天所需的):
brew install leiningen --devel
Mind the --devel
switch, else you get Leiningen 1.7, the latest stable version. 注意
--devel
开关,否则您将获得最新的稳定版本Leiningen 1.7。 More useful information on how to get started can be found on this blog: http://jrheard.tumblr.com/post/40024238467/getting-started-with-clojure 有关如何入门的更多有用信息,可以在以下博客中找到: http : //jrheard.tumblr.com/post/40024238467/getting-started-with-clojure
It's a known bug in leiningen-RC1 and already fixed for leiningen-RC2. 这是leiningen-RC1中的一个已知错误,并且已经针对leiningen-RC2进行了修复。
https://github.com/technomancy/leiningen/issues/915 https://github.com/technomancy/leiningen/issues/915
Mac OS优胜美地适用于
brew install leiningen
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.