2014-03-13 43 views
0

为此,我使用brew安装了subversion16。我想实现的是:有两个版本的svn 1.6/1.7。下面你会看到我最初有svn 1.7。使用Brew我安装了svn 1.6。现在,当我尝试做brew link subversion16时出现以下错误brew link subversion16 >> Error: No such keg: /usr/local/Cellar/subversion16请指教。安装SVN的两个版本并在两个`brew链接`和Brew之间切换链接

仅供参考,MAC牛

$ which svn 
    /usr/bin/svn 



$ svn --version 
svn, version 1.7.10 (r1485443) 
    compiled Jan 15 2014, 11:22:16 

Copyright (C) 2013 The Apache Software Foundation. 
This software consists of contributions made by many people; see the NOTICE 
file for more information. 
Subversion is open source software, see http://subversion.apache.org/ 





$ brew link subversion16 
Error: No such keg: /usr/local/Cellar/subversion16 
$ brew uninstall subversion16 
Error: No such keg: /usr/local/Cellar/subversion16 
$ brew install subversion16 
==> Downloading http://subversion.tigris.org/downloads/subversion-1.6.23.tar.bz2 
Already downloaded: /Library/Caches/Homebrew/subversion16-1.6.23.tar.bz2 
==> Downloading patches 

更多信息

brew info svn 
subversion: stable 1.8.8 (bottled) 
http://subversion.apache.org/ 
Not installed 
From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/subversion.rb 
==> Dependencies 
Build: pkg-config ✔, autoconf ✘, automake ✘, libtool ✘, scons ✘ 
Required: sqlite ✘ 
==> Options 

==> Caveats 
svntools have been installed to: 
    /usr/local/opt/subversion/libexec 

我也试着遵循了这太问题的答案,但没有运气this question

回答

1

从已发布什么,它看起来好像subversion16实际上还没有安装。 Brew已经下载了tar文件,但是在地窖里缺少一个小桶会表明它没有成功完成安装。确保brew install subversion16一直运行。