如何在OSX上向svn添加ra_neon

时间:2013-05-13 15:16:21

标签: macos svn

我在svn上有最新版本,但没有ra_neon。我需要通过https协议访问svn存储库。有没有办法添加ra_neon模块?

这是一台OSX 10.8.4计算机。

svn --version

svn, version 1.7.8 (r1419691)
   compiled Feb  8 2013, 14:56:55

Copyright (C) 2012 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 (link removed)

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

那里的大多数帖子都说你需要编译SVN源并以这种方式添加霓虹灯模块。我注意到有一个我可以更新的SVN版本。所以我尝试了这条路线。

以下是SVN更新网址:https://subversion.apache.org/download/#recommended-release 以下是neon的网址:http://www.webdav.org/neon/

然后我尝试使用此命令配置霓虹灯支持: ./configure --with-neon = / path_to_neon / neon-0.29.6 /

make make和make install完成后,我查看是否已安装。令我惊骇的是SVN已经更新,但没有安装霓虹灯模块。

svn --version

svn, version 1.7.9 (r1462340)
   compiled May 13 2013, 10:08:54

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  (link removed)

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

再次,是否有人知道如何安装或启用ra_neon模块?

2 个答案:

答案 0 :(得分:1)

我不知道是否可以安装模块而不编译它来对抗颠覆源,所以我认为你最好的选择是下载subversion源(和neon)并从源代码安装。

以下是对我有用的序列:

  1. 下载neon
  2. 编译并安装neon
  3. 下载,编译,安装subversion
  4.     Right-Effort:lmg42$ cd neon-0.29.6
        Right-Effort:lmg42$ ./configure --help
        Right-Effort:lmg42$ ./configure --with-ssl=openssl
        Right-Effort:lmg42$ make
        Right-Effort:lmg42$ sudo make install
        Right-Effort:lmg42$ cd ../subversion-1.7.9
        Right-Effort:lmg42$ ./configure --with-neon=/usr/local --with-openssl --prefix=/usr
        Right-Effort:lmg42$ make
        Right-Effort:lmg42$ sudo make install
    
        Right-Effort:lmg42$ svn --version
        svn, version 1.7.9 (r1462340)
           compiled May 30 2013, 12:41:24
    
        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/
    
        The following repository access (RA) modules are available:
    
        * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
          - handles 'http' scheme
          - handles 'https' scheme
        * ra_svn : Module for accessing a repository using the svn network protocol.
          - with Cyrus SASL authentication
          - handles 'svn' scheme
        * ra_local : Module for accessing a repository on local disk.
          - handles 'file' scheme  
    

答案 1 :(得分:0)

这是10.2.8?你的意思是你在捷豹?这是十多年前Windows XP发布一年后发布的。我认为任何人都不再支持它了。 Jaguar应该有Subversion版本(1.4或1.5),包括霓虹灯和Apache,以及Subversion所需的所有铃声和口哨声。

不再支持10.2.8。我检查了各种二进制文件,但最早支持的带有预构建二进制文件的版本是Leopard(10.5.x)。您仍然使用PowerPC而非英特尔。

如果出现错误,并且您的操作系统不是那么老,您可以转到CollabNet上的SVN Binaries并查看它们的内容。

否则,您应该前往Macports,看看他们有什么。