A default installation of Subversion 1.8 was found after installing the ubuntu-14.10 version. And the 1.8 version is not compatible with the 1.6 version currently used on XP, online search for the use of the 1.8 version of the people are not many, in order to avoid the development of the cost of the environment switch, and temporarily do not want to upgrade XP to 1.8. That only installs on Ubuntu 1.6.
1. Download subversion-1.6.17.tar.gz
http://download.csdn.net/detail/sunwill_chen/8354589
2. Download subversion-deps-1.6.17.tar.bz2
http://download.csdn.net/detail/sunwill_chen/8354593
3. #apt-get install gcc make Libssl-dev Libexpat1-dev
4. #tar XVF subversion-1.6.17.tar.gz
5. #tar XVF subversion-deps-1.6.17.tar.bz2
6. #cd subversion-1.6.17
7.#./configure
8. #make && Make Install
9. #ln-S/usr/lib/i386-linux-gnu/libexpat.so/usr/lib/i386-linux-gnu/libexpat.so.0
10. View the SVN version number:
# SVN--version
SVN, version 1.6.17 (r1128011)
Compiled Jan 12 2015, 20:05:45
questions:
1.configure:error:no XML Parser was found:expat or libxml 2.x required
Solution: Apt-get Install Libxml2-dev
(Note: This can not need to install, after the installation of Libexpat1-dev to really play a role)
2.make Last error occurred:
/home/tools/subversion-1.6.17/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so:undefined reference to ' Xmlfreeparserctxt '
/home/tools/subversion-1.6.17/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so:undefined reference to ' Xmlparsechunk '
/home/tools/subversion-1.6.17/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so:undefined reference to ' Xmlcreatepushparserctxt '
Collect2:error:ld returned 1 exit status
Resolution: The analysis code found no expat to have this problem, because the installation of expat,
#apt-get Install Libexpat1-dev
3. Run the SVN Discovery Library link error,
Svn:error while loading shared libraries:libexpat.so.0:cannot open Shared object file:no such file or directory
Solution: Use dpkg-l Libexpat1-dev installed in which directory, a look without this file, do a soft link can.
#ln-S/usr/lib/i386-linux-gnu/libexpat.so/usr/lib/i386-linux-gnu/libexpat.so.0
Ubuntu 14.10 Installation Subversion 1.6.17 version