This page contains instructions for building SVK in your home directory. Nothing will be installed outside of your home directory, so you won't need root for anything.
(Alternatively, you can build absolutely everything that SVK requires from scratch: SvkFromScratch)
This is based on my personal adventures. Your milage may vary. --BrianIngerson
(Much of this was adapted from InstallingOnDebianWoody)
I reworked this to be an actual shell script. I haven't tested it yet. Please report back here if it works for you.
(You can't install SVN::Simple::Edit or VCP::Dest::svk until after you've done some of the other installations. --KenRaeburn)
Since subversion r12717 http://svn.collab.net/viewcvs/svn?rev=12717&view=rev supports the latest SWIG (1.3.24). Thus, if you use subversion 1.1.4 or above or 1.2, the SWIG version can be bumped to 1.3.24
#!/bin/sh
# Install Perl
wget http://www.cpan.org/src/stable.tar.gz
tar xzf stable.tar.gz
cd perl-5.8.6/
sh Configure -ders -Dprefix=$HOME/local
make
make test # I didn't really do this step :P
make install
cd ..
export PATH=$HOME/local/bin:$PATH
# Install CPAN Modules
rm -f $HOME/local/lib/perl5/5.8.6/CPAN/Config.pm
rm -fr .cpan
perl -e 'print "\n\n\n\n\n\n\n\nfollow\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n5\n4\n1\n\nq\n"' > answers
perl -MCPAN -eshell < answers
rm answers
cpan Bundle::CPAN < /dev/null
cpan LWP < /dev/null
cpan ExtUtils::AutoInstall < /dev/null
cpan Module::Build < /dev/null
cpan Module::Install < /dev/null
cpan Module::Signature < /dev/null
cpan SVN::Simple::Edit < /dev/null
cpan version < /dev/null
cpan Sort::Versions < /dev/null
cpan Algorithm::Annotate < /dev/null
cpan Clone < /dev/null
cpan YAML < /dev/null
cpan Regexp::Shellish < /dev/null
cpan Data::Hierarchy < /dev/null
cpan Pod::Escapes < /dev/null
cpan Pod::Simple < /dev/null
cpan PerlIO::via::dynamic < /dev/null
cpan PerlIO::via::symlink < /dev/null
cpan IO::Digest < /dev/null
cpan Date::Parse < /dev/null
cpan File::Type < /dev/null
cpan PerlIO::eol < /dev/null
cpan Locale::Maketext::Simple < /dev/null
cpan Locale::Maketext::Lexicon < /dev/null
cpan FreezeThaw < /dev/null
cpan HTML::Element < /dev/null
cpan IPC::Run3 < /dev/null
cpan Pod::HTML_Elements < /dev/null
cpan Text::Diff < /dev/null
cpan XML::ValidWriter < /dev/null
cpan VCP::Dest::svk < /dev/null
# Install Apache 2.0
wget http://apache.mirrors.pair.com/httpd/httpd-2.0.52.tar.gz
tar xzf httpd-2.0.52.tar.gz
./configure --prefix=$HOME/local/apache2 --enable-mods-shared='headers rewrite dav ssl'
make
make install
cd ..
# XXX Apache configuration/startup juju goes here...
# Install SWIG
wget http://optusnet.dl.sourceforge.net/sourceforge/swig/swig-1.3.19.tar.gz
tar xzf swig-1.3.19.tar.gz
cd SWIG-1.3.19/
./configure --with-perl5=$HOME/local/bin/perl5.8.6 --prefix=$HOME/local
make
make runtime
make install install-runtime
cd ..
# Install Subversion
wget http://subversion.tigris.org/tarballs/subversion-1.1.3.tar.gz
tar xzf subversion-1.1.3.tar.gz
cd subversion-1.1.3
./configure \
SWIG=$HOME/local/bin/swig \
PERL=$HOME/local/bin/perl5.8.6 \
--prefix=$HOME/local \
--with-apxs=$HOME/local/apache2/bin/apxs
make
make swig-pl
make check-swig-pl
make install
make install-swig-pl
cd ..
# Install SVN-Mirror
svn co svn://svn.clkao.org/member/clkao/modules/SVN-Mirror/ SVN-Mirror
cd SVN-Mirror
perl Makefile.PL
make
make test
make install
cd ..
# Install VCP
wget http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/VCP-autrijus-snapshot-0.9-20050110.tar.gz
tar xzf VCP-autrijus-snapshot-0.9-20050110.tar.gz
cd VCP-autrijus-snapshot-0.9-20050110
perl Makefile.PL
make
make test
make install
cd ..
# Install SVK
svn co svn://svn.clkao.org/svk/trunk svk
cd svk/
perl Makefile.PL
make
make test
make install
cd ..
rm -fr SVN-Mirror/ SWIG-1.3.19/ perl-5.8.6/ stable.tar.gz \
subversion-1.1.3* svk swig-1.3.19.tar.gz
svk help commands
# Done!
Since subversion 1.3.0, there is no more compile-time or runtime SWIG dependencies with SWIG bindings. This makes the installation process much easier. Following is my installation script on Red Hat 8.0. (This script does not include Apache since I do not need it) -- salagadoola
#!/bin/sh # Install Perl 5.8.8 wget http://ftp.funet.fi/pub/CPAN/src/perl-5.8.8.tar.bz2 tar -jxf perl-5.8.8.tar.bz2 cd perl-5.8.8 sh Configure -de -Dprefix=$HOME/local make && make test && make install cd .. # Install Subversion 1.3.1 wget http://subversion.tigris.org/downloads/subversion-1.3.1.tar.bz2 tar -jxf subversion-1.3.1.tar.bz2 cd subversion-1.3.1 sh configure --prefix=$HOME/local --without-berkeley-db PERL=$HOME/local/bin/perl make && make swig-pl && make install && make install-swig-pl cd .. export PATH=$HOME/local/bin:$PATH # Config CPAN rm -rf ~/.cpan ~/local/lib/perl5/5.8.8/CPAN/Config.pm perl -e 'print "\n"x8, "follow\n", "\n"x20, "2\n14\n8\n\nq\n"' > answers perl -MCPAN -e shell < answers rm answers # Install VCP cpan URI::URL < /dev/null cpan XML::Parser < /dev/null cpan XML::Doctype < /dev/null cpan A/AU/AUTRIJUS/VCP-autrijus-snapshot-0.9-20050110.tar.gz < /dev/null # install SVK cpan Sort::Versions < /dev/null cpan SVN::Mirror < /dev/null cpan SVK < /dev/null # Done!