./configure --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info --disable-mod-activation --with-ssl make sudo make install
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
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).
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