sudo -s
Create a symbolic link to your Xcode toolchain:
ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain
Download SVN 1.8 sources
cd ~/Downloads/
curl -o subversion-1.8.9.tar.gz http://archive.apache.org/dist/subversion/subversion-1.8.9.tar.gz
tar -xvf subversion-1.8.9.tar.gz
Compile SVN 1.8 from sources
cd ~/Downloads/subversion-1.8.9
sh get-deps.sh serf
cd serf/
./configure
make
make install
export CC=/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain/usr/bin/cc
cd ..
./configure --prefix=/usr/local --enable-javahl --with-serf=/usr/local/serf
make
sudo make install
make javahl
sudo make install-javahl
$ cd /Library/Java/Extensions /Library/Java/Extensions $ sudo ln -sf /usr/local/lib/libsvnjavahl-1.dylib /Library/Java/Extensions $ sudo ln -sf /usr/local/lib/libsvnjavahl-1.jnilib /Library/Java/Extensions $ ls -l total 16 lrwxr-xr-x 1 root admin 35B 29 Jun 13:59 libsvnjavahl-1.dylib@ -> /usr/local/lib/libsvnjavahl-1.dylib lrwxr-xr-x 1 root admin 36B 29 Jun 13:59 libsvnjavahl-1.jnilib@ -> /usr/local/lib/libsvnjavahl-1.jnilib