ThedefaultSVN'sversoinofCentOS5.5is1.4.2WhiletryingtoaccessSVNServerwhichversionishigherthan1.5(including1.5).SoweshouldupdatetheSVNClienttoversion1.5orhigher.
Atfirstweshouldgetthenecessaryfilesweneed.:
-apr-1.3.7.tar.gz
-apr-util-1.3.8.tar.gz
-sqlite-amalgamation-3.6.16.tar.gz
-neon-0.28.4.tar.gz
-subversion-1.6.3.tar.bz2
Afterallneedfilesareready.Webegintoinstalltheystepbystep.:
1.installapr
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
2.installapr-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
3.installsqlite
tar zxvf sqlite-amalgamation-3.6.16.tar.gz cd sqlite-3.6.16/ ./configure --prefix=/usr/local/sqlite make make install
4.installneon
Actuallyyoucaningorethissetupifyoudonotneedtosupporthttp.Butifyouneedtosupporthttps,pleaseremembertoadd'--with-ssl'
tar zxvf neon-0.28.4.tar.gz cd neon-0.28.4 ./configure --prefix=/usr/local/neon --enable-shared --with-ssl make make install
5.installsubversion
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
Afterabove4stepswecandoaverificationtoverifywhetherSVNclientisinstalledsuccessful.
/usr/local/svn/bin/svn --version
Afterthataddthesvnpathintouser'senvironmentpath.(Edit.bash_profile)