简单brew install v8
命令给了我以下结果。
Warning: Your Xcode (5.0.2) is outdated
Please update to Xcode 5.1.
Xcode can be updated from the App Store.
==> Downloading https://github.com/v8/v8/archive/3.21.17.tar.gz
Already downloaded: /Library/Caches/Homebrew/v8-3.21.17.tar.gz
==> Checking out http://gyp.googlecode.com/svn/trunk
svn: E175002: Unable to connect to a repository at URL 'http://gyp.googlecode.com/svn/trunk'
svn: E175002: OPTIONS of 'http://gyp.googlecode.com/svn/trunk': Could not read status line: connection was closed by server (http://gyp.googlecode.com)
Error: Failed to download resource "v8--gyp"
Failure while executing: svn checkout -q --force http://gyp.googlecode.com/svn/trunk /Library/Caches/Homebrew/v8--gyp--svn -r 1685
无法在此解读问题。此时的任何信息都会有所帮助。
答案 0 :(得分:2)
发现这个!似乎是AnyConnect的问题。
https://apple.stackexchange.com/questions/113717/svn-cant-co-source-code
我跑了sudo /opt/cisco/anyconnect/bin/websecurity_uninstall.sh
并且瞧
答案 1 :(得分:0)
我遇到了同样的问题,但我找到了另一个解决方案。
只需重新安装svn:
brew install svn
删除旧版本:
rm /usr/local/bin/svnversion
重新创建链接:
brew link subversion
然后安装v8
brew install v8
答案 2 :(得分:0)
我还有另一个解决方案:我的xcode安装是全新的,我从未接受过条款和条件。只是尝试执行$ svn,xcode的条款和条件将提示