Installation Steps for Subversion 1.4.x

Please read this entire document before performing any of the steps. If you already have a version of subversion installed, back up those files before doing this install in case you have any problems. You should also look at the Subversion Web Site and at the documentation files placed in /usr/local/doc/subversion files and subdirectories after the subversion package is installed.
The SPARC/Solaris 8 package needs /usr/lib/ which may not exist on some systems. You can use by just doing ln -s /usr/lib/ /usr/lib/
Subversion uses a lot of other programs and libraries which need to be installed before using the subversion package. For each level of Solaris, you need to have already installed the following packages:

apache-2.0.59 (for subversion 1.4.3) and apache-2.2.4 (for subversion-1.4.4)

from or from your own compiles.

It may be possible to use slightly older or newer versions of these packages and still have subversion run. Next, after you have installed the


package, you can go to /usr/local/bin and do

ldd svn

You will get a list of the libraries that svn related programs use. For example on my SPARC/Solaris 10 system, I get the result like

[1] /usr/local/bin> ldd svn =>  /usr/local/lib/ =>      /usr/local/lib/ =>      /usr/local/lib/ =>    /usr/local/lib/ =>        /usr/local/lib/ =>   /usr/local/lib/ =>      /usr/local/lib/ =>   /usr/local/lib/ =>         /usr/local/lib/ =>  /usr/local/lib/ =>  /usr/local/lib/ =>   /usr/local/lib/ =>    /usr/local/lib/ =>     /usr/local/apr/lib/ =>  /usr/local/lib/ =>  /usr/local/BerkeleyDB.4.2/lib/ =>         /usr/local/lib/ =>         /usr/local/apr/lib/ =>      /usr/lib/ =>    /usr/lib/ =>     /usr/lib/ =>        /usr/lib/ =>       /usr/lib/ =>         /usr/local/lib/ =>       /usr/local/lib/ =>       /usr/local/ssl/lib/ =>    /usr/local/ssl/lib/ =>   /usr/lib/ =>    /usr/lib/ =>         /usr/local/lib/ =>        /usr/lib/ =>     /usr/lib/ =>         /usr/local/lib/ =>   /usr/lib/ =>   /usr/lib/ =>    /usr/lib/ =>   /usr/lib/ =>  /usr/lib/ =>         /usr/lib/

If some software is missing, you will see notices of missing libraries. As you can see above, the svn package installs some programs and libraries in /usr/local/apr. Therefore, you will probably need to put the /usr/local/apr/lib directory in your LD_LIBRARY_PATH environment variable. Alternatively, if you have access to it, use the crle program to add /usr/local/apr/lib and maybe /usr/local/lib to your runtime linking configuration file. Do man crle for details and to see if you have crle on your system.

Once you have all the proper libraries installed along with the subversion package, you will need to edit a file if you are going to use subversion with apache. Go to /usr/local/apache2/conf. The two lines that need to be added to your httpd.conf file are

LoadModule dav_svn_module modules/
LoadModule authz_svn_module modules/

which are added at the end of the other LoadModule lines.

After you have done these steps, go to the documentation files in /usr/local/doc/subversion to find out what else you need to do to configure, start, and use subversion.

For those of you who want to know, subversion was compiled with just the ./configure --disable-nls --with-ssl --with-apxs=/usr/local/apache2/bin/apxs, make, make install steps. All the make check steps passed.

If you have problems with these installation steps, contact me at If you have configuration or usage problems, go to the Subversion web site and then go to the documentation and mailing lists links there.

© Copyright 2007 Steven M. Christensen and Associates, Inc. This page was last updated on August 16, 2007.
Posted by 행복한 프로그래머 궁금쟁이박

댓글을 달아 주세요