====== svn ======
* **svn version: 1.6.6**
* **neon version: 0.29.0**
* download source from http://subversion.tigris.org/
* download dependencies source also (make sure you have [[http://www.webdav.org/neon/|neon]] for http and https repository access)
* :!: **unarchive both the source and dependencies into the same directory**
* rename the neon src folder to just 'neon' when you place it in the svn src directory
* use the following commands to build and install (unless you want Berkeley DB or Apache DAV Module - see below)
./configure --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info --disable-mod-activation --with-ssl
make
sudo make install
* since Apple already has an older version of svn installed, rename all /usr/bin/svn* files to something else, such as svn.bak, etc...
* after install, inspect that everything is properly configured with:
svn --version
svn, version 1.6.6 (r40053)
compiled Nov 15 2009, 19:40:55
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
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
===== Leopard Update (svn 1.4) =====
When compiling on Leopard, I received the following error:
sendrecv.c:965:2: error: #error APR has detected sendfile on your system, but nobody has written a
sendrecv.c:966:2: error: #error version of it for APR yet. To get past this, either write apr_sendfile
sendrecv.c:967:2: error: #error or change APR_HAS_SENDFILE in apr.h to 0.
After setting this value to 0 (apr/include/apr.h), the build process continued and completed with make. However, subversion 1.4.4 was installed by Apple in /usr/bin (not sure if it was with XCode or base install of Leopard).
===== Berkeley DB =====
If you don't have Berkeley DB installed or linked to APR-UTIL, you will see this:
You don't seem to have Berkeley DB version 4.1.25 or newer
installed and linked to APR-UTIL. We have created Makefiles which
will build without the Berkeley DB back-end; your repositories will
use FSFS as the default back-end. You can find the latest version of
Berkeley DB here:
http://www.sleepycat.com/download/index.shtml
===== Apache DAV Module =====
FIXME
===== See Also =====
* [[Berkeley DB]]