Linux下安装svn client
来源:互联网 发布:千锋java培训怎么样 编辑:程序博客网 时间:2024/05/16 19:41
最简单的方式就是 yum install subversion
Linux下安装svn client
仅安装 svn 的client:
1.下载软件
- wgethttp://archive.apache.org/dist/apr/apr-1.3.7.tar.gz
- wget http://archive.apache.org/dist/apr/apr-util-1.3.8.tar.gz
- wget http://www.sqlite.org/sqlite-amalgamation-3.6.16.tar.gz
- wget http://www.webdav.org/neon/neon-0.28.4.tar.gz
- wget http://subversion.tigris.org/downloads/subversion-1.6.3.tar.bz2
2.安装apr
- tar zxvf apr-1.3.7.tar.gz
- cd apr-1.3.7
- ./configure -prefix=/usr/local/apr
- make
- make install
- cat /etc/ld.so.conf
- echo /usr/local/apr/lib >> /etc/ld.so.conf
3.安装apr-util
- tar zxvf apr-util-1.3.8.tar.gz
- cd apr-util-.1.3.8
- ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/
- make
- make install
- echo /usr/local/apr-util/lib >> /etc/ld.so.conf
- ldconfig -v
4.安装sqlite
- tar zxvf sqlite-amalgamation-3.6.16.tar.gz
- cd sqlite-3.6.16/
- ./configure --prefix=/usr/local/sqlite
- make
- make install
不需要支持http协议可以略掉安装
- tar zxvf neon-0.28.4.tar.gz
- cd neon-0.28.4
- ./configure --prefix=/usr/local/neon --enable-shared
- make
- make install
在3时可能会提示configure: error: no XML parser was found: expat or libxml 2.x required,执行下面:
yum install expat-devel
带上--enable-shared报错时:执行下面的
CFLAGS="-O3 -fPIC" ./configure --prefix=/usr/local/neon
方式二:解压后重命名为neon,移动至subversion编译目录
但subversion编译时好像找不到neon
报错如下
- configure: checking neon library
- An appropriate version of neon could not be found, so libsvn_ra_neon
- will not be built. If you want to build libsvn_ra_neon, please either
- install neon 0.28.4 on this system
- or
- get neon 0.28.4 from:
- http://www.webdav.org/neon/neon-0.28.4.tar.gz
- unpack the archive using tar/gunzip and rename the resulting
- directory from ./neon-0.28.4/ to ./neon/
- no suitable neon found
6.安装subversion
- tar -jxvf subversion-1.6.3.tar.bz2
- cd subversion-1.6.3
- ./configure --prefix=/usr/local/svn --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-sqlite=/usr/local/sqlite --with-neon=/usr/local/neon
- make
- make install
/usr/local/svn/bin/svn --version
然后将svn的path加到系统path中就好了~
- Linux下安装svn client
- Linux下安装svn client 1.8
- linux安装svn client
- linux 下安装fastdfs-client
- Linux下安装SVN
- linux下安装SVN
- linux下svn安装
- Linux下安装SVN
- linux下安装svn
- Linux下安装svn
- linux下安装svn
- Linux 下安装 SVN
- linux下安装svn
- Linux下安装SVN
- linux 下安装 svn
- linux 下安装svn
- LINUX下安装SVN
- Linux下 SVN 安装
- 记录远程登录 IP MAC 地址
- fmt:formatNumber 说明
- SNMP基本知识
- Android 之 TabWidget
- 从零开始学习jQuery (九) jQuery工具函数
- Linux下安装svn client
- Android应用开发揭秘(国内首本基于Android 2.0的经典著作,5大专业社区一致鼎力推荐!)
- .NET测试四面向对象基础及参考答案
- STL容器比较和基本对象
- 我所钟爱的 HTML5 资源
- net 弹出窗口
- 使用CreateCompatibleBitmap多次后出现内存不足的解决方法
- .NET测试四面向对象基础及参考答案
- [VC] 冒号(:)与C/C++