svn installation under linux

To Red Hat Enterprise Linux 5 as an example to explain.

Related series:

jdk installation under linux

ant installation under linux

linux installation under redis

svn installation under linux

Svn version 1.6.1 installed

1. Download svn

Download: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74

Select subversion-1.6.1.tar.gz and subversion-deps-1.6.1.tar.gz

Copy the downloaded package to / usr / local / Under (random, and find a place like)

2. Installation

cd / usr / local /

tar zxvf subversion-1.6.1.tar.gz

tar zxvf subversion-deps-1.6.1.tar.gz # will automatically extract to subversion-1.6.1 under
cd subversion-1.6.1

According to some web information presentation, execute the following command to complete the installation

. / Configure

make

make install

But in the actual installation process will be, implementation of the. / Configure, depending on the configuration of the system will be different in different error, I am using a new installation of the system, the main configuration is as follows:

 Desktop environment  :GNOME Desktop environment
 Application  : Graphics, graphical Internet  , Editor
 Development   :  Only the choice of development tool
 Server  : The World Wide Web server
 The base system  :java ,X The window system, basic  , Dial-up networking support, and management tools  , System Tools  .
 Language support  : Chinese support  

Then I put my error encountered and solutions as follows:

. / Configure

1 # # errors

configure: error: We require OpenSSL; try - with-openssl

Solution:

Error need to install openssl, so I installed a openssl, installation is as follows:

cd / usr / local

wget http://www.openssl.org/source/openssl-1.0.0a.tar.gz

tar-zxvf openssl-1.0.0a.tar.gz

cd openssl-1.0.0a

. / Config
. / Config-t
make depend
make
make test
make install

Installed in / usr / local generate a ssl directory under

Set environment variables, in the / etc / profile in the PATH to add the following:

PATH = / usr / local / ssl / bin: / sbin /: $ PATH: / usr / sbin
export PATH

ok, an error prompted a settlement.

Re-run. / Configure

2 # # errors

configure: error: subversion requires zlib

Solution:

cd / usr / local

wget http://zlib.net/zlib-1.2.5.tar.gz
tar-xvzf zlib-1.2.5.tar.gz
cd zlib-1.2.5
. / Configure
make
make install

cd / usr / local

ln-s zlib-1.2.5 zlib

ok, error 2 solution.

Re-run. / Configure, success!

Then execute the following command:

make

make install

ok, svn installed.

3. Verification

svn - version

There may be prompted as follows:

svn: error while loading shared libraries: / usr/local/serf/lib/libserf-0.so.0: cannot restore segment prot after reloc: Permission denied

At this point you can solve the problem execute the following command:

setenforce permissive

Note: This is the permission configuration issue, on this part can refer to: http://blog.csdn.net/venoy4806/archive/2009/10/13/4665097.aspx

Re-implementation of svn - version

[root@localhost local]# svn --version
svn, version 1.6.1 (r37116)
   compiled Jun  9 2010, 17:37:07

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes 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.
  - 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

ok, svn configured.

4. Postscript

Overall svn is a little complicated to install, easy to install I use the root user.

Also during the installation process may encounter the following error message:

configure: error: no suitable apr found and configure: error: Subversion requires SQLite

This is because not a member of subversion-deps-1.6.1.tar.gz reasons, subversion-deps-1.6.1.tar.gz includes the installation of some package svn is necessary, note the two versions to download unanimously.

分类:OS 时间:2010-06-09 人气:180
分享到:
blog comments powered by Disqus

相关文章

  • Export invalid environment variables defined 2011-02-02

    Recently written a Shell script. Encountered a very strange question. Shell script online many say that defined the environment variable export. But I wrote two scripts. One is the definition of environment variables. Another is the mission. Tasks in

  • Jdk under Linux jdk installation and setting environment variables 2011-04-09

    We install the Linux system software, we often encounter some system environment variables configuration. What is environment variables? How to customize the environment variables? I will do in the following description. First, what is the environmen

  • linux, unix set, add, delete, script, environment variables 2010-04-28

    #~~~~~~~~~~~~~~~~~~~ New environment variable linux terminal: vi setEnv.sh #~~~ As follows: cd / etc FIVE_TWO_ZERO = $ 2 export FIVE_TWO_ZERO if [-f "profile"] then echo "">> profile echo "FIVE_TWO_ZERO = $ FIVE_TWO_ZERO&quo

  • Under linux tar gz bz2 tgz z zip file decompression method 2010-02-08

    Under linux tar gz bz2 tgz z zip file decompression method Under linux tar gz bz2 tgz z, and many other methods of extracting compressed files This is to facilitate the collection of the http://hi.baidu.com/sillyboy/blog/item/3802b600174d768fe850cd66

  • 解压缩zip,tar,tar.gz,tar.bz2 2013-06-22

    ZIP zip可能是目前使用得最多的文档压缩格式.它最大的优点就是在不同的操作系统平台,比如Linux, Windows以及Mac OS,上使用.缺点就是支持的压缩率不是很高,而tar.gz和tar.gz2在压缩率方面做得非常好.闲话少说,我们步入正题吧: 我们可以使用下列的命令压缩一个目录: # zip -r archive_name.zip directory_to_compress 下面是如果解压一个zip文档: # unzip archive_name.zip TAR Tar是在Linu

  • linux,centos下解压tar,gz,bz2,tgz,zip等 2013-08-13

    1) tar调用gzip gzip是GNU组织开发的一个压缩程序,.gz结尾的文件就是gzip压缩的结果.与gzip相对的解压程序是gunzip.tar中使用-z这个参数来调用gzip.下面来举例说明一下: # tar -czf all.tar.gz *.jpg 这条命令是将所有.jpg的文件打成一个tar包,并且将其用gzip压缩,生成一个gzip压缩过的包,包名为all.tar.gz # tar -xzf all.tar.gz 这条命令是将上面产生的包解开. 2) tar调用bzip2 bz

  • Linux tar command (turn) 2011-06-08

    tar command tar files and directories can be created for the files. Use tar, you can create a file for a specific file (backup file), you can also change the file in the file or files to add new files. tar was originally used to create files on tape,

  • linux tar命令 2011-04-01

    tar [-cxtzjvfpPN] 文件与目录 .... 参数: -c :建立一个压缩文件的参数指令(create 的意思): -x :解开一个压缩文件的参数指令! -t :查看 tarfile 里面的文件! 特别注意,在参数的下达中, c/x/t 仅能存在一个!不可同时存在! 因为不可能同时压缩与解压缩. -z :是否同时具有 gzip 的属性?亦即是否需要用 gzip 压缩? -j :是否同时具有 bzip2 的属性?亦即是否需要用 bzip2 压缩? -v :压缩的过程中显示文件!这个常用

  • linux tar (打包.压缩.解压缩)命令说明 | tar如何解压文件到指定的目录? 2015-04-25

    # 压缩 tar -czvf ***.tar.gz tar -cjvf ***.tar.bz2 # 解压缩 tar -xzvf ***.tar.gz tar -xjvf ***.tar.bz2 +++++++++++++++++++++++++++++++++++++++++++++ 简介 参数: -c :建立一个压缩档案的参数指令(create 的意思): -x :解开一个压缩档案的参数指令! -t :查看 tarfile 里面的档案! 特别注意,在参数的下达中, c/x/t 仅能存在一个!不

  • I used Linux command of the export - set or display environment variables 2011-08-02

    I used Linux command of the export - set or display environment variables This link: http://codingstandards.iteye.com/blog/1138524 (reproduced please indicate the source) Use Description export command can be used to set or display environment variab

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.439 (s). 12 q(s)