Install Subversion1.5 notes on Debian4.0rc3-Linux Release Technology-Debian information. For more information, see the following. Install Subversion 4.0 Notes On Debian 1.5 rc3
Original Author: ba lu
System Environment: Debian 4.0 rc3
Due to environment requirements, I only install the Debian 4.0 rc3 basic system. Therefore, after Debian is installed, the following software is installed to install mysql and subversion:
Apt-get install vim elinks gcc g ++ make libncurses5-dev libpng12-dev libjpeg62-dev zlib1g-dev libxml2-dev
1. install apache
Download httpd-2.2.9.tar.gz from the apache official website [http://www.apache.org]
# Tar-zxvf httpd-2.2.9.tar.gz
#. /Configure -- prefix =/usr/local/apache2 -- enable-so -- enable-ssl -- enable-rewrite -- with-mpm = worker -- enable-dav -- enable-maintainer-mode -- enable-cgi
Note:
-- Enable-dav -- enable-maintainer-mode parameters are required when Subversion is installed. If subversion is not installed
# Make & make install
2. Install subversion
Download To the subversion Official Website: http://subversion.tigris.org/downloads/subversion-1.5.0.tar.gz
# Tar-zxvf subversion-1.5.0.tar.gz
To the neon official website download: http://www.webdav.org/neon/neon-0.28.2.tar.gz
# Tar-zxvf neon-0.28.2.tar.gz
Copy neon-0.28.2 to the subversion-1.5.0 directory and rename: neon
# Mv neon-0.28.2./subversion-1.5.0/neon
Then you can start to install the subversion:
# Cd subversion-1.5.0
#. /Configure -- prefix =/usr/local/subversion -- with-apxs =/usr/local/apache2/bin/apxs -- with-apr =/usr/local/apache2/bin/ apr-1-config -- with-apr-util =/usr/local/apache2/bin/apu-1-config -- with-ssl
In the configure process, there will be a warning: in general, it means that you have not installed Berkeley DB, we can ignore it, because we use fs for data access, rather than using Berkeley DB for data access. continue...
# Make
An error occurred during make:
/Usr/bin/ld: cannot find-lexpat
Collect2: ld returned 1 exit status
Make: *** [subversion/svn] Error 1
The xpat library is not found, so:
# Apt-cache search xpat | grep xpat
Find the libexpat1-dev-XML parsing C library-development kit
And install it:
# Apt-get install libexpat1-dev
Continue compiling...
# Make
# Make install
Everything went well. Your subversion has been successfully installed under/usr/local/subversion.
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.