linux svn install

Since svn needs to depend on apr and apr-uti, you need to install apr and apr-util first.

1. Download apr and apr-uti

   apr :   http://apache.fayea.com//apr/apr-1.5.2.tar.gz

 

   apr-util:   http://mirror.bit.edu.cn/apache//apr/apr-util-1.5.4.tar.gz

 

2. Install apr

    You need to install apr first, because the installation of apr-util depends on apr.

    Unzip apr and enter the directory:

    ./configure --prefix=/usr/local/apr/

   make 

   make install

 

 3. Install apr-util

     Unzip apr-util and enter the directory:

      ./configure --prefix=/usr/local/apr-util/ --with-apr=/usr/local/apr/

       make

        make install

 4. Download SQLite

      There is svn that needs to depend on SQLite. If there is no SQLite installed, it will report:

        subvision configure: error: Subversion requires SQLite     

       SQLite:http://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz

      and unzip the directory

5. Download svn

     svn:http://subversion.tigris.org/downloads/subversion-1.6.16.tar.gz

 6. Install SVN

        Go to the folder sqlite-amalgamation and find sqlite3.c and copy it to 

      subversion-1.6.16/sqlite-amalgamation/sqlite3.c , if there is no sqlite-amalgamation directory, create a new one.
       Then execute:
        ./configure --prefix=/usr/local/svn --without-berkeley-db --with-zlib=/lib/ --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/
     make 
    make install
 
      
 

 

      

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326320089&siteId=291194637