Ubuntu 14.10 Installation Subversion 1.6.17 version

Source: Internet
Author: User
Tags svn xml parser

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.