さくらインターネットでSubversion

swigをインストール

$HOME/local/srcでの作業。

wget http://jaist.dl.sourceforge.net/sourceforge/swig/swig-1.3.40.tar.gz
tar -zxf swig-1.3.40.tar.gz
cd cd swig-1.3.40
./configure  --prefix=$HOME/local
make
make install

Subversionをインストール。

$HOME/local/srcでの作業。

wget http://subversion.tigris.org/downloads/subversion-1.6.9.tar.gz
tar -zxf subversion-1.6.9.tar.gz
cd subversion-1.6.9
./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

下記エラーが出た。

get it with SVN and put it in a subdirectory of this source:

   svn co \
    http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x \
    apr

Run that right here in the top level of the Subversion tree.
Afterwards, run apr/buildconf in that subdirectory and
then run configure again here.

Whichever of the above you do, you probably need to do
something similar for apr-util, either providing both
--with-apr and --with-apr-util to 'configure', or
getting both from SVN with:

   svn co \
    http://svn.apache.org/repos/asf/apr/apr-util/branches/1.2.x \
    apr-util

configure: error: no suitable apr found

調べたら、aprとapt-utilが足りないとのこと。

aprとapt-utilをインストール。

$HOME/local/srcでの作業。

wget http://ftp.kddilabs.jp/infosystems/apache/apr/apr-1.4.2.tar.gz
tar -zxf apr-1.4.2.tar.gz
wget http://ftp.kddilabs.jp/infosystems/apache/apr/apr-util-1.3.9.tar.gz
tar -zxf apr-util-1.3.9.tar.gz
cp -rf apr-1.4.2 subversion-1.6.9/apr
cp -rf apr-util-1.3.9 subversion-1.6.9/apr-util

NEONのインストール。

$HOME/local/srcでの作業。

wget http://www.webdav.org/neon/neon-0.29.3.tar.gz
tar -zxf neon-0.29.3.tar.gz
cd neon-0.29.3
./configure  --prefix=$HOME/local --with-ssl --with-libs=/usr/local --enable-shared
make
make install

再度Subversionのconfigure。

./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
make
make install

これで完了!!