Upgrade subversion to v1.66

Source: Internet
Author: User

The SVN version installed on the fedora8 server is 1.44, while the Windows client is 1.45. After the program is integrated, it is found that there is no

 

. So I decided to upgrade both the svn server and client to the latest version v1.66.

 

Download the source code from http://subversion.tigris.org/and decompress it to compile

./Configure

Make

Make install

 

Restart the server. Check that SVN -- version is 1.66, but there is no webpage in the browser.

Check the apache service. An error occurred while starting httpd:

[Root @ localhost modules] # httpd

Httpd: syntax error on line 205 of/etc/httpd/CONF/httpd. conf: cannot load

 

/Usr/lib/httpd/modules/mod_dav_svn.so into server:/home/Jeff/SVN-source/subversion-

 

1.6.6/subversion/libsvn_subr/. libs/libsvn_subr-1.so.0: Undefined Symbol: apr_hash_clear

 

Google did not find a solution to the apr_hash_clear error. This is over. How can we proceed with the svn strike?

It is suspected that the libsvn_subr-1.so.0 and other libraries do not copy to the lib directory, resulting in the link is not available, so the manual copy, or the same error.

 

View with LDD:

[Root @ localhost modules] # LDD libsvn_subr-1.so.0

Linux-gate.so.1 => (0x00110000)

Libaprutil-1.so.0 = & gt;/home/Jeff/SVN-source/subversion-1.6.6/APR-

 

Util/. libs/libaprutil-1.so.0 (0x001b2000)

Libexpat. so.1 =>/lib/libexpat. so.1 (0x001ce000)

Libiconv. so.2 =>/usr/local/lib/libiconv. so.2 (0x001ef000)

Libapr-1.so.0 =>/home/Jeff/SVN-source/subversion-1.6.6/APR/. libs/libapr-1.so.0

 

(0x002cd000)

Libuuid. so.1 =>/lib/libuuid. so.1 (0x002f2000)

Librt. so.1 =>/lib/librt. so.1 (0x002f6000)

Libcrypt. so.1 =>/lib/libcrypt. so.1 (0x002ff000)

Libpthread. so.0 =>/lib/libpthread. so.0 (0x00331000)

Libdl. so.2 =>/lib/libdl. so.2 (0x0034a000)

Libz. so.1 =>/lib/libz. so.1 (0x0034f000)

Libc. so.6 =>/lib/libc. so.6 (0x00362000)

/Lib/ld-linux.so.2 (0x00b45000)

 

It seems that all these databases exist. But the problem persists.

 

I don't know how to do it. I suddenly thought about checking rpm-QA and checking whether the Subversion version is 1.44. So, uninstall it first.

 

, Uninstall several packages with subversion, and then make install in the source directory again. Then, enter httpd:

[Root @ localhost modules] # httpd

[Tue Dec 22 23:51:27 2009] [warn] module dav_svn_module is already loaded, skipping

[Tue Dec 22 23:51:27 2009] [warn] module authz_svn_module is already loaded, skipping

 

Loaded !! Open your browser and "powered by subversion 1.6.6" appears at the bottom left of the page!

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.