Compile SVN for OSX

This reference will describe how to install SVN with support for http/https URLS for OSX. This has only been tested in Mountain Lion. This was done to counter “E170000: Unrecognized URL scheme for http*” and from installing SVN through Xcode.

  1. Download needed source files, and untar each of them: SVN from Apache, and Neon to support http and https urls.

  2. Install neon: Make sure that neon is installed to /usr/local/ by default

    cd neon
    ./configure --with-ssl
    make
    sudo make install
    
  3. Install svn:

    cd subversion
    ./configure --with-ssl -with-neon=/usr/local/
    make
    sudo make install
    
  4. Check to see if the installation worked correctly

    svn --version
    

    This is the response you should be looking for:

svn, version 1.7.8 (r1419691)
   compiled Jan 10 2013, 14:40:15

Copyright (C) 2012 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/

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