Ubuntu使用svn命令行创建分支 遇到svn: SSL is not supported错误
2012-03-25 23:36
375 查看
Ubuntu使用svn命令行创建分支 遇到svn: SSL is not supported错误
这主要是因为在编译svn源码的时候,没有加上--with-ssl选项,导致不支持https加密协议。解决办法(以svn1.6.13为例):
1、下载svn1.6.13源码,并解压,得到subversion1.6.13目录,因为在ubuntu下系统缺少一些库文件,还需要一个相应的包,下载subversion-deps-1.6.13.tar.bz2,并将其中的所有子目录,也解压到刚才的subversion1.6.13目录;
2、执行./configure --with-ssl;
3、如上一步没有错误,执行make命令;
4、执行make install命令,安装完毕。
测试方法:输入svn --version,显示如下:
svn, version 1.6.13 (r1002816)
compiled Mar 5 2012, 11:22:32
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
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.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- handles 'http' scheme
- handles 'https' scheme
其中显示 - handles 'https' scheme,表示支持https协议,OK~
这主要是因为在编译svn源码的时候,没有加上--with-ssl选项,导致不支持https加密协议。解决办法(以svn1.6.13为例):
1、下载svn1.6.13源码,并解压,得到subversion1.6.13目录,因为在ubuntu下系统缺少一些库文件,还需要一个相应的包,下载subversion-deps-1.6.13.tar.bz2,并将其中的所有子目录,也解压到刚才的subversion1.6.13目录;
2、执行./configure --with-ssl;
3、如上一步没有错误,执行make命令;
4、执行make install命令,安装完毕。
测试方法:输入svn --version,显示如下:
svn, version 1.6.13 (r1002816)
compiled Mar 5 2012, 11:22:32
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
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.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- handles 'http' scheme
- handles 'https' scheme
其中显示 - handles 'https' scheme,表示支持https协议,OK~
相关文章推荐
- Android studio使用svn创建分支及合并分支----终极图解
- eclipse使用SVN创建,合并分支
- svn 命令行创建和删除 分支和tags
- eclipse使用SVN创建,合并分支
- Eclipse下svn的创建分支/合并/切换使用
- 图解使用Eclipse的SVN插件创建项目的主干/分支/标签
- ubuntu svn命令行下使用
- svn与git区别简介,git分支操作在mac客户端soureTree和使用命令行如何实现
- svn在linux下的使用(svn命令行)ubuntu 删除 新增 添加 提交 状态查询 恢复
- ubuntu svn命令行下使用
- svn在linux下的使用(svn命令行)ubuntu 删除 新增 添加 提交 状态查询 恢复
- Eclipse中使用SVN插件创建项目的主干/分支/标签
- svn在linux下的使用(svn命令行)ubuntu 删除 新增 添加 提交 状态查询 恢复
- svn 命令行创建和删除 分支和tags
- Eclipse下svn的创建分支/合并/切换使用
- Eclipse下svn的创建分支/合并/切换使用
- svn 命令行创建分支、合并主干
- 在UBUNTU命令行svn中使用beyond compare作为对比及merge工具
- svn在linux下的使用(svn命令行)ubuntu 删除 新增 添加 提交 状态查询 恢复
- Eclipse下svn的创建分支/合并/切换使用