Ubuntu SVN upgrade

Source: Internet
Author: User
Tags collabnet

Sudo apt-Get install Subversion

Ubuntu SVN upgrade

Step 1: Download the installation package (two)

Wget http://subversion.tigris.org/downloads/subversion-deps-1.6.2.tar.gz
Wget http://subversion.tigris.org/downloads/subversion-1.6.2.tar.gz

Step 2: Install and copy the above two packages to the same directory, and decompress

$ Tar xvzf subversion-1.6.2.tar.gz; tar xvzf subversion-deps-1.6.2.tar.gz;

Step 3: Compile and install

$ Cd ~ /Subversion: 1.6.2/
$ Make clean
$ Make
$ Make install

Step 4: test. We can see version 1.6.2. Congratulations! SVN has been upgraded!

$ SVN -- version
SVN, version 1.6.2 (r37639)
Compiled Jun 11 2009, 01:07:59

Copyright (c) 2000-2009 collabnet.
Subversion is open source software, see http://subversion.tigris.org/
This product has DES software developed by collabnet (http://www.Collab.Net /).

The following repository access (RA) modules are available:

* Ra_neon: module for accessing a repository via WebDAV protocol using neon.
-Handles 'HTTP 'Scheme
* Ra_svn: module for accessing a repository using the svn network protocol.
-With Cyrus SASL authentication
-Handles 'svn 'Scheme
* Ra_local: module for accessing a repository on local disk.
-Handles 'file' Scheme
* Ra_serf: module for accessing a repository via WebDAV protocol using serf.
-Handles 'HTTP 'Scheme
-Handles 'https' Scheme


For example, when making, the error/usr/lib/libexpat. So: cocould not read symbols: file in wrong format is reported...

For example, an error is reported during make.

/Usr/lib/libexpat. So: cocould not read symbols: file in wrong format

When configuring configure, add the parameter -- With-expat = builtin.

Checking zlib. h usability... no checking zlib. h presence... no checking zlib. H...

Checking zlib. h usability... no
Checking zlib. h presence... no
Checking zlib. H... no
Configure: Error: Subversion requires zlib


[Root @ 136199 ~] # Cd/usr/ALI/subscription-1.6.2
[Root @ 136199 subversion-1.6.2] # cd zlib/
[Root @ 136199 zlib] #./configure -- shared
[Root @ 136199 zlib] # Make
[Root @ 136199 zlib] # CD ..
[Root @ 136199 subversion-1.6.2] #./configure cppflags = "-izlib/-lzlib/" -- with-OpenSSL =/usr/bin/OpenSSL -- without-serf

OpenSSL parameters are used to solve the problem that OpenSSL cannot be found.

/Usr/bin/ld: cannot find LZ
Solution: Install zlib first,

$ Wget http://www.zlib.net/zlib-1.2.3.tar.gz
$ Tar xzvf zlib-1.2.3.tar.gz
$ Zlib-1.2.3 CD
$ Make
$ Make install

SVN: Unrecognized URL scheme'

SVN: Unrecognized URL scheme for 'http: // svn.test-inc.com/repos/ali_intl/done'

This is the neon library required for SVN access using the WebDAV protocol. We need to install this library. In the source code directory of subversion, we can expand the downloaded neon and name the directory neon.

1. wget http://www.webdav.org/neon/neon-0.25.5.tar.gz

2. Tar-xvzf neon-0.25.5.tar.gz

3. Mv neon-0.25.5 neon

Then compile the subversion.


/Usr/include/OpenSSL/kssl. h: 72: 18: krb5.h: no such file or directory

Export localdefs = "-dopenssl_no_krb5"
Export c_include_path = "/usr/Kerberos/include"

Configure error:

Checking whether apache version is compatible with APR version... no
Configure: Error: Apache version incompatible with APR 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.