Skip to content

Instantly share code, notes, and snippets.

@apk
Created February 25, 2010 16:16
Show Gist options
  • Save apk/314680 to your computer and use it in GitHub Desktop.
Save apk/314680 to your computer and use it in GitHub Desktop.
Build svn for git-svn w/o root access
#!/bin/sh
set -xe
rm -rf subversion-1.6.9
tar xzf subversion-deps-1.6.9.tar.gz
tar xzf subversion-1.6.9.tar.gz
cd subversion-1.6.9
./configure --prefix=$HOME/svn19 --with-apache-libexecdir=$HOME/svn19/ale --with-editor=/bin/vi
make
make install
make swig-pl-lib
make install-swig-pl-lib
cd subversion/bindings/swig/perl/native
perl Makefile.PL PREFIX=$HOME/svn19/pl
make install
# Then set:
# PATH=$HOME/svn19/bin:$PATH
# PERL5LIB=$HOME/svn19/pl/lib/perl5/site_perl/5.8.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment