docs:mac:builds:svn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:mac:builds:svn [2007/11/23 19:59] billhdocs:mac:builds:svn [2009/11/15 19:58] (current) billh
Line 1: Line 1:
 ====== svn ====== ====== svn ======
-  * first install [[Berkeley DB]]+  * **svn version: 1.6.6** 
 +  * **neon version: 0.29.0**
   * download source from http://subversion.tigris.org/   * download source from http://subversion.tigris.org/
-  * download dependencies source also +  * 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 +  * :!: **unarchive both the source and dependencies into the same directory** 
-  * use [[typical_build_procedure]]+  * 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)<code> 
 +./configure --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info --disable-mod-activation --with-ssl 
 +make 
 +sudo make install 
 +</code> 
 +  * 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:<code> 
 +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
 +</code>
 +
 +===== Leopard Update (svn 1.4) =====
 +When compiling on Leopard, I received the following error:
 +<code>
 +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.
 +</code>
 +
 +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:
 +<code>
 +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
 +</code>
 +
 +===== Apache DAV Module =====
 +FIXME
 +
 +===== See Also =====
 +  * [[Berkeley DB]]
  • docs/mac/builds/svn.1195873161.txt.gz
  • Last modified: 2008/08/03 00:25
  • (external edit)