简体   繁体   English

无法在Mountain Lion OSX上安装subversion

[英]Can't install subversion on Mountain Lion OSX

I downloaded the subversion installer in the "Community Binaries" at collabnet: http://www.collab.net/downloads/subversion#tab-3 . 我在collabnet的“社区二进制文件”中下载了subversion安装程序: http//www.collab.net/downloads/subversion#tab-3 When I try to install it, I go through Introduction, Read Me, and License. 当我尝试安装它时,我会通过简介,自述文件和许可证。 When I get to Destination Select, "Install for all users of this computer" is greyed out. 当我到达目的地选择时,“为此计算机的所有用户安装”显示为灰色。 I can not proceed during this point. 在这一点上我无法继续。 Does anyone know why? 有谁知道为什么?

Mountain Lion does have Subversion version 1.6.18 available from Apple. Mountain Lion确实有Apple提供的Subversion版本1.6.18。 However, it's a bit convoluted to get it: 然而,获得它有点令人费解:

  • Download Xcode from the Mac OS X App Store (Free program) 从Mac OS X App Store下载Xcode(免费程序)
  • Select the Menu item Xcode->Preferences... 选择菜单项Xcode-> Preferences ...
  • Select the "Downloads" section. 选择“下载”部分。
  • Choose Command Line Tools and click on the Install button. 选择“ 命令行工具” ,然后单击“ 安装”按钮。

After that, the Subversion command line client will be available. 之后,Subversion命令行客户端将可用。 The svnserve server is also included. svnserve服务器也包括在内。 Unfortunately, the mod_dav.so and mod_dav_svn.so files needed for running Subversion server via Apache https are no longer included. 不幸的是,不再包括通过Apache https运行Subversion服务器所需的mod_dav.somod_dav_svn.so文件。 I think they might be included in Mac OS X Server, but that's a $20 purchase. 我认为它们可能包含在Mac OS X Server中,但这是20美元的购买。

Hope this helps. 希望这可以帮助。 It's not version 1.7.x, but it's much easier to get working than the old community binary version which I don't believe works in Mountain Lion (and is also version 1.6.18) 它不是版本1.7.x,但它比我不认为在Mountain Lion中工作的旧社区二进制版本更容易工作(并且也是版本1.6.18)

如果您不需要Xcode,可以直接从https://developer.apple.com/downloads/index.action下载开发人员命令行工具,为您节省大量的磁盘空间和时间......

Apparently it's not been updated is the message on open.Collab.net... 显然它没有更新是open.Collab.net上的消息......

Date 2011-12-20 04:44:22 PST Message The community volunteer who provides the binary on our site has not updated it for Lion or SVN 1.7. Date 2011-12-20 04:44:22 PST Message在我们网站上提供二进制文件的社区志愿者没有为Lion或SVN 1.7更新它。 All of the Mac packaging tools, like MacPorts and HomeBrew have updated and you can get it there. 所有Mac打包工具,如MacPorts和HomeBrew都已更新,您可以在那里获得它。 There is also a listing of places to get them here: http://subversion.ap ​ache.org/packages.ht​ml#osx 还有一个地方列表来获取它们: http://subversion.ap ache.org/packages.ht ml#osx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM