From charlesreid1

Line 3: Line 3:
== Configuration ==
== Configuration ==


I configure subversion with the following configure line:
I configured subversion version 1.5.2 with the following configure line:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 13: Line 13:


./configure \
./configure \
  --prefix=/path/to/subversion-1.5.2 \
  --prefix=/path/to/subversion \
  --with-ssl \
  --with-ssl \
  --without-berkeley-db \
  --without-berkeley-db \

Revision as of 06:05, 5 October 2010

Installation

Configuration

I configured subversion version 1.5.2 with the following configure line:

#!/bin/sh
# 
# run this configure script
# make
# make install

./configure \
 --prefix=/path/to/subversion \
 --with-ssl \
 --without-berkeley-db \
 --enable-swig-bindings=no \
 --with-apxs=/path/to/apache/bin/apxs \
 --with-neon=/usr/local \
 --with-apr=/path/to/apache \
 --with-apr-util=/path/to/apache

I have to point subversion to apache so that it can handle subversion repository addresses that begin with http:// or https:// (as opposed to the default svn://, which works fine out of the box).

Dependencies

To install subversion with the above configure line, I had to install Apache, and I also had to install Neon, which is an HTTP and WebDAV client software. It is required for the http:// and https:// repository addresses. It's available from http://www.webdav.org/neon/. I install it to /usr/local/, and without any particularly special configure line (just ./configure).

SVN Guide

Server

Creating a New Repository

SVNAdmin Reference