Mac下SVN错误: cannot negotiate authentication mechanism

嘿,换了一台新的黑苹果机器,然后在上面使用SVN,checkout公司的仓库,出现了错误。。。

《Mac下SVN错误: cannot negotiate authentication mechanism》 cannot negotiate authentication mechanism

没记错这是我第三次遇到这个问题了,

这个问题主要是因为缺少Cyrus SASL这个安全验证库。

使用Homebrew,安装新的SVN。

如果还没有Homebrew这个必备工具,在终端窗口(Terminal)输入这段安装脚本,

/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”


通过Homebrew安装新的Subversion,终端输入:
```bash
brew install subversion

现在,开启一个新的终端,输入svn命令,使用的就是homebrew新安装的SVN了。问题解决!

其实,使用MacPorts(类似Homebrew的工具),也可以解决类似问题,原理还是一样,安装带Cyrus SASL的Subversion SVN版本。不多叙述了

    原文作者:陈小霖GO
    原文地址: https://www.jianshu.com/p/ee596dab66d9
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞