Statically compiled subversion on a shared host

May 1st, 2006 | by buddy |

Ever log into a shell account as a non-root user and find it lacking a subversion client? I ran into this recently while setting up capistrano on my current hosting provider. I found the config options I wanted scattered across a few different web pages, so for posterity here are the steps I followed to get a statically compiled subversion client on my path:

  1. fetch the latest subversion tarball from http://subversion.tigris.org
  2. ./configure --enable-all-static --with-ssl --with-zlib
  3. make
  4. cp subversion/clients/cmdline/svn ~/bin/svn (mkdir ~/bin if needed)
  5. add ~/bin to your $PATH

You can tune the options to ./configure as neccessary, but my goals were to get an svn binary that would work against a subversion repository fronted by Apache, accessed via HTTPS, with support for compression.

  1. 2 Responses to “Statically compiled subversion on a shared host”

  2. By richard on Mar 30, 2008 | Reply

    Second!

  3. By Jeff Moon on Jun 12, 2008 | Reply

    I have been trying to do this and basically had done the same things you have done. My problem is that when I go to run the client that I’ve built, it says SSL is not supported. Any ideas?

Post a Comment