linux下编译Subversion客户端
2010-12-30 16:38
393 查看
SUSE11下编译Subversion客户端
标签:SUSE11 subversion
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。/article/4429083.html
工作需要在SLES11下面编译svn的客户端,支持svn://,http://,https://。编译的有点小郁闷,最终还是通过了。过程记录在此。
1. apr-1.4.2
下载http://labs.renren.com/apache-mirror/apr/apr-1.4.2.tar.gz
执行
tar xzvf apr-1.4.2.tar.gz
cd apr-1.4.2
./configure
make
make install
2. apr-util-1.3.9
下载http://labs.renren.com/apache-mirror/apr/apr-util-1.3.9.tar.gz
执行
tar xzvf apr-util-1.3.9.tar.gz
cd apr-util-1.3.9
./configure --with-apr=/usr/local/apr/
make
make install
3. sqlite-amalgamation-3.6.23
下载http://www.sqlite.org/sqlite-amalgamation-3.6.23.1.tar.gz
执行
tar xzvf sqlite-amalgamation-3.6.23.1.tar.gz
cd sqlite-amalgamation-3.6.23.1
./configure
make
make install
4. zlib-1.2.5
下载http://zlib.net/zlib-1.2.5.tar.gz
执行
tar xzvf zlib-1.2.5.tar.gz
cd zlib-1.2.5
./configure --with-zlib=/usr/zlib
make
make install
5. libxml2-sources-2.7.7
下载http://xmlsoft.org/sources/libxml2-sources-2.7.7.tar.gz
执行
tar xzvf libxml2-sources-2.7.7.tar.gz
cd libxml2-2.7.7
./configure --with-zlib=/usr/zlib
make
make install
6. openssl-1.0.0a
下载http://www.openssl.org/source/openssl-1.0.0a.tar.gz
执行
tar xzvf openssl-1.0.0a.tar.gz
cd openssl-1.0.0a
./Configure
make
make install
7. neon-0.29.3
下载http://www.webdav.org/neon/neon-0.29.3.tar.gz
执行
tar xzvf neon-0.29.3.tar.gz
8. subversion-1.6.12
下载http://subversion.tigris.org/downloads/subversion-1.6.12.tar.gz
执行
tar xzvf subversion-1.6.12.tar.gz
mv neon-0.29.3 subversion-1.6.12/neon
cd subversion-1.6.12
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/ssl/lib/pkgconfig && ./configure --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr/ LDFLAGS=-L/usr/local/apr/lib/ --with-ssl
make
make install
注:将刚才解压的neon-0.29.3移动到subversion源码文件夹下,并重命名为neon。如果出现make错误,提示有些接口找不到,请重新执行7,8两步。
9. 最终结果如下
# svn --version
svn, version 1.6.12 (r955767)
compiled Jul 7 2010, 09:05:44
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
标签:SUSE11 subversion
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。/article/4429083.html
工作需要在SLES11下面编译svn的客户端,支持svn://,http://,https://。编译的有点小郁闷,最终还是通过了。过程记录在此。
1. apr-1.4.2
下载http://labs.renren.com/apache-mirror/apr/apr-1.4.2.tar.gz
执行
tar xzvf apr-1.4.2.tar.gz
cd apr-1.4.2
./configure
make
make install
2. apr-util-1.3.9
下载http://labs.renren.com/apache-mirror/apr/apr-util-1.3.9.tar.gz
执行
tar xzvf apr-util-1.3.9.tar.gz
cd apr-util-1.3.9
./configure --with-apr=/usr/local/apr/
make
make install
3. sqlite-amalgamation-3.6.23
下载http://www.sqlite.org/sqlite-amalgamation-3.6.23.1.tar.gz
执行
tar xzvf sqlite-amalgamation-3.6.23.1.tar.gz
cd sqlite-amalgamation-3.6.23.1
./configure
make
make install
4. zlib-1.2.5
下载http://zlib.net/zlib-1.2.5.tar.gz
执行
tar xzvf zlib-1.2.5.tar.gz
cd zlib-1.2.5
./configure --with-zlib=/usr/zlib
make
make install
5. libxml2-sources-2.7.7
下载http://xmlsoft.org/sources/libxml2-sources-2.7.7.tar.gz
执行
tar xzvf libxml2-sources-2.7.7.tar.gz
cd libxml2-2.7.7
./configure --with-zlib=/usr/zlib
make
make install
6. openssl-1.0.0a
下载http://www.openssl.org/source/openssl-1.0.0a.tar.gz
执行
tar xzvf openssl-1.0.0a.tar.gz
cd openssl-1.0.0a
./Configure
make
make install
7. neon-0.29.3
下载http://www.webdav.org/neon/neon-0.29.3.tar.gz
执行
tar xzvf neon-0.29.3.tar.gz
8. subversion-1.6.12
下载http://subversion.tigris.org/downloads/subversion-1.6.12.tar.gz
执行
tar xzvf subversion-1.6.12.tar.gz
mv neon-0.29.3 subversion-1.6.12/neon
cd subversion-1.6.12
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/ssl/lib/pkgconfig && ./configure --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr/ LDFLAGS=-L/usr/local/apr/lib/ --with-ssl
make
make install
注:将刚才解压的neon-0.29.3移动到subversion源码文件夹下,并重命名为neon。如果出现make错误,提示有些接口找不到,请重新执行7,8两步。
9. 最终结果如下
# svn --version
svn, version 1.6.12 (r955767)
compiled Jul 7 2010, 09:05:44
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
相关文章推荐
- linux 下安装subversion 客户端和服务器(实例)
- linux下从源码编译比特币客户端
- Subversion服务与客户端安装[Linux版]
- Linux下kafka之C/C++客户端库librdkafka的编译,安装以及函数介绍
- 手动编译安装subversion客户端(转)
- linux安装svn客户端subversion及使用方法
- 在ubuntu下编译linux版客户端遇__GNUC_PREREQ编译错误的解决方法
- SUSE11下编译Subversion客户端
- linux下mongodb程序和c++客户端的编译
- linux下源码编译 subversion(SVN)- 解决ra_dav模块加载问题(HTTP)
- spice在桌面虚拟化中的应用系列之二(Linux平台spice客户端的编译安装,支持USB映射)
- Linux下librdkafka客户端的编译运行
- 开发人员学Linux(8):CentOS7编译安装Subversion1.9.5及Apache2.4.25并集成
- linux下编译subversion 出错
- 开发人员学Linux(8):CentOS7编译安装Subversion及Apache并集成
- linux 编译git 客户端源码然后安装
- Linux下编译mongodb以及C++客户端驱动
- Linux下编译mongodb以及C++客户端驱动
- Linux下php5.3编译oracle客户端 推荐
- SUSE11下编译Subversion客户端