Linux下安装svn client

最简单的方式就是 yum install subversion

Linux下安装svn client

仅安装 svn 的client:1.下载软件q s(h k?v;B _.O v;o

    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.gzwget http://www.sqlite.org/sqlite-amalgamation-3.6.16.tar.gzwget http://www.webdav.org/neon/neon-0.28.4.tar.gzwget http://subversion.tigris.org/downloads/subversion-1.6.3.tar.bz2

8Z ] U!i+q#I#|:J R k2.安装aprBSD爱好者乐园4Q6F D T"]$l N J*R Q

    tar zxvf apr-1.3.7.tar.gzcd apr-1.3.7./configure -prefix=/usr/local/aprmakemake installcat /etc/ld.so.confecho /usr/local/apr/lib >> /etc/ld.so.conf

] } / s } [ c s2C ^1S5k3.安装apr-utilBSD爱好者乐园 [!G e0|1V E P P8K

    tar zxvf apr-util-1.3.8.tar.gzcd apr-util-.1.3.8./configure –prefix=/usr/local/apr-util –with-apr=/usr/local/apr/makemake installecho /usr/local/apr-util/lib >> /etc/ld.so.confldconfig -v

BSD爱好者乐园4? D(o;? R ]"f r p I3b y C

4.安装sqliteBSD爱好者乐园?f ~:~"F c l S-/ V5R I

    tar zxvf sqlite-amalgamation-3.6.16.tar.gzcd sqlite-3.6.16/./configure –prefix=/usr/local/sqlitemakemake install

i*n K%|?}6]5.安装neon){9K:N v9~*{)b不需要支持http协议可以略掉安装BSD爱好者乐园5s V5d&s s b G

    tar zxvf neon-0.28.4.tar.gzcd neon-0.28.4./configure –prefix=/usr/local/neon –enable-sharedmakemake install

BSD爱好者乐园 q M#r0x O L#? }

在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编译目录’E(n s-Z$e s但subversion编译时好像找不到neon n;v Y P _报错如下BSD爱好者乐园/p3z V J r l

    configure: checking neon library An appropriate version of neon could not be found, so libsvn_ra_neonwill not be built. If you want to build libsvn_ra_neon, please eitherinstall neon 0.28.4 on this system or get neon 0.28.4 from: http://www.webdav.org/neon/neon-0.28.4.tar.gzunpack the archive using tar/gunzip and rename the resultingdirectory from ./neon-0.28.4/ to ./neon/ no suitable neon found

*X l P+F j x6.安装subversionBSD爱好者乐园 y ^ z:O"H+^ I

    tar -jxvf subversion-1.6.3.tar.bz2cd 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/neonmakemake install

7G M c/| E n q c7.检查测试BSD爱好者乐园’@+t2u N;V o;N8])s X/usr/local/svn/bin/svn –version然后将svn的path加到系统path中就好了~

成功是什么?就是走过了所有通向失败的路,

Linux下安装svn client

相关文章:

你感兴趣的文章:

标签云: