TeraTermで、さくらインターネットにログイン(FTPアカウントでログイン可)
%
% bash
$
$ mkdir -p $HOME/local/lib/python2.4/site-packages
$ ln -s ~/local/lib/python2.4 ~/local/lib/python
$ export PYTHONPATH=”$HOME/local/lib/python:$HOME/local/lib/python/site-packages”
$ export PATH=”$HOME/local/bin:$PATH”
$ export LD_LIBRARY_PATH=”$HOME/local/lib”
- SWIG(1.3.29)のインストール
$ mkdir -p $HOME/local/src
$ cd $HOME/local/src
$ wget http://jaist.dl.sourceforge.net/sourceforge/swig/swig-1.3.29.tar.gz
$ gunzip swig-1.3.29.tar.gz
$ tar xvf swig-1.3.29.tar
$ cd swig-1.3.29
$ ./configure -prefix=$HOME/local
$ gmake
$ gmake install
-
Neon(0.28.4)のインストール
$ cd $HOME/local/src
$ wget http://www.webdav.org/neon/neon-0.28.4.tar.gz
$ tar xvzf neon-0.28.4.tar.gz
$ cd neon-0.28.4
$ ./configure -prefix=$HOME/local -with-ssl -with-libs=/usr/local -enable-shared
$ gmake clean && gmake && gmake install
-
APR(1.3.3)とAPR-util(1.3.4)のインストール
$ cd $HOME/local/src
$ wget http://ftp.kddilabs.jp/infosystems/apache/apr/apr-1.3.3.tar.gz
$ tar zxvf apr-1.3.3.tar.gz
$ wget http://ftp.kddilabs.jp/infosystems/apache/apr/apr-util-1.3.4.tar.gz
$ tar zxvf apr-util-1.3.4.tar.gz
-
Subversion(1.6.0)のインストール
$ cd $HOME/local/src
$ wget http://subversion.tigris.org/downloads/subversion-1.6.0.tar.bz2
$ tar jxf subversion-1.6.0.tar.bz2
$ cd $HOME/local/src
$ cp -rf apr-1.3.3 subversion-1.6.0/apr
$ cp -rf apr-util-1.3.4 subversion-1.6.0/apr-util
$ cd $HOME/local/src/subversion-1.6.0
$ ./configure -prefix=$HOME/local -without-berkeley-db -with-python=$HOME/local/lib/python -enable-swig-bindings=python -with-swig=$HOME/local/bin/swig -with-neon=$HOME/local/ -with-ssl -with-libs=$HOME/local -disable-static
$ gmake clean && gmake && gmake install
$ gmake swig-py
$ gmake install-swig-py
-
リンク作成
$ ln -s $HOME/local/lib/svn-python $HOME/local/lib/python/site-packages/svn-python
$ ln -s $HOME/local/lib/svn-python/svn $HOME/local/lib/python/site-packages/svn
$ ln -s $HOME/local/lib/svn-python/libsvn $HOME/local/lib/python/site-packages/libsvn
- リポジトリを作るには(ディレクトリを$HOME/svn-reposと仮定)
$ mkdir $HOME/svn-repos
$ $HOME/local/bin/svnadmin create $HOME/svn-repos