Manually install Subversion1.7 under Ubuntu12.04

Source: Internet
Author: User
Use apt-get in Ubuntu12.04 to install apt-get in version 1.6. To install apt-get in version 1.7, go to the official website of subversion to download the latest version of release: The downloaded file name is subversion-1.7.4.tar.gz. /configure, an error message is displayed, indicating that APR (ApachePortableRuntime (APR) is not installed.

The current version of apt-get installed in Ubuntu 12.04 is 1.6. The installation process is as follows:

Download the latest version of current release to the official website of subversion: Download file name for subversion-1.7.4.tar.gz

If you want to install./configure on your own, you will encounter an error message: although you do not know the installation of APR (Apache Portable Runtime (APR), the installation process is indispensable. Download

Unix Source: apr-1.4.6.tar.gz and

Unix Source: apr-util-1.4.1.tar.gz back to separate, install (./configure, make, make install)

When -- with-apr is input, the -- with-apr =/usr/local/apr parameter is added. When -- with-apr-util is input, add the parameter -- with-apr-util =/usr/local/par/bin.

An error message is reported, indicating that sqllite must be installed and sqlite-autoconf-3071100.tar.gz must be downloaded. installation is the same as installation (./configure, make, sudo make install)

Error: subversion requires zlib →

Download zlib-1.2.6.tar.gz

Tar-xvzf zlib-1.2.5.tar.gz

Cd zlib-1.2.5

(Make, sudo make install)

After installation, run the subversion command again:

./Configure -- prefix =/usr/local/zlib

./Configure -- with-apr =/usr/local/apr -- with-apr-util =/usr/local/apr/bin -- with-zlib =/usr/local/zlib

Appears. WARNING: configure: WARNING: we have configured without BDB filesystem support

......

You don't seem to have Berkeley DB version 4.0.14 or newer

......

Download Berkeley DB 5.3.15 for Linux: db-5.3.15.tar.gz

After the installation, subversion./configure has finally passed.

The last step is to manually install the subversion.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.