Upgrading SVN to 1.8.9 on OSX 10.10 Yosemite

After fresh Yosemite install SVN version is pretty old (I had 1.7.17), but don’t worry – upgrade process is simple but will take some time (15-25 mins depends on your CPU speed). This tutorial assumes you have XCode installed (but if you need SVN you probably have it):

1. Open terminal and paste

2. Create link to toolchain:

3. Download and unpack SVN 1.8.9:

4. Compile and install:

5. Check version:

You should see something like this:
svn, version 1.8.8 (r1568071)
(yes, I know I downloaded 1.8.9 but it shows 1.8.8 somehow…)

7 comments

  1. Thanks for article, I am trying to upgrade svn on my mac

    I am getting following error when I tried to configure inside surf directory, I shall be thankful for any help.

     

     

     
    Configuring Apache Portable Runtime Utility library…
    checking for APR-util… yes
    checking for gcc… /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/cc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… configure: error: in /Users/Rakesh/Downloads/subversion-1.8.9/serf':
    configure: error: cannot run C compiled programs.
    If you meant to cross compile, use –host’.
    See `config.log’ for more details

  2. I’m getting cross compilation error. while i’m in step 4: ./configure

    checking for APR-util… yes

    checking for gcc… /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/cc

    checking whether the C compiler works… yes

    checking for C compiler default output file name… a.out

    checking for suffix of executables…

    checking whether we are cross compiling… configure: error: in /Users/Kumarraj/Downloads/subversion-1.8.9/serf':

    configure: error: cannot run C compiled programs.

    If you meant to cross compile, use –host’.

    See `config.log’ for more details

Leave a Reply