Subversion: Difference between revisions
From charlesreid1
| Line 7: | Line 7: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
#!/bin/sh | #!/bin/sh | ||
# | |||
# run this configure script | |||
# make | |||
# make install | |||
./configure \ | ./configure \ | ||
| Line 20: | Line 24: | ||
I have to point subversion to apache so that it can handle subversion repository addresses that begin with <code>http://</code> or <code>https://</code> (as opposed to the default <code>svn://</code>, which works fine out of the box). | I have to point subversion to apache so that it can handle subversion repository addresses that begin with <code>http://</code> or <code>https://</code> (as opposed to the default <code>svn://</code>, which works fine out of the box). | ||
== Dependencies == | == Dependencies == | ||
Revision as of 06:04, 5 October 2010
Installation
Configuration
I configure subversion with the following configure line:
#!/bin/sh
#
# run this configure script
# make
# make install
./configure \
--prefix=/path/to/subversion-1.5.2 \
--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).