Subversionを再インストール
読了まで:約2分
概要: Subversion を
前に
以下~/local/src
で
Apache Portable Runtime 0.9.16 のインストール
wget http://ftp.kddilabs.jp/infosystems/apache/apr/apr-0.9.16.tar.gz
tar zxvf apr-0.9.16.tar.gz
cd apr-0.9.16
./configure --prefix=$HOME/local/apr --disable-static
make
make install
Apache Portable Runtime Utility 0.9.15 のインストール
wget http://ftp.kddilabs.jp/infosystems/apache/apr/apr-util-0.9.15.tar.gz
tar zxvf apr-util-0.9.15.tar.gz
cd apr-0.9.16
./configure --prefix=$HOME/local/apr-util \
--with-apr=$HOME/local/apr \
--with-expat=/usr/local \
--with-iconv=/usr/local \
--disable-static
make
make install
Neon 0.26.4 のインストール
wget http://www.webdav.org/neon/neon-0.26.4.tar.gz
tar zxvf neon-0.26.4.tar.gz
cd neon-0.26.4
./configure --prefix=$HOME/local/neon \
--with-libxml2 \
--with-ssl \
--enable-shared \
--disable-static
make
make install
SWIG 1.3.29 のインストール
wget http://jaist.dl.sourceforge.net/sourceforge/swig/swig-1.3.29.tar.gz
tar zxvf swig-1.3.29.tar.gz
cd swig-1.3.29
./configure --prefix=$HOME/local/swig \
--disable-static
make
make install
Subversion 1.4.5 のインストール
wget http://subversion.tigris.org/downloads/subversion-1.4.5.tar.gz
tar zxvf subversion-1.4.5.tar.gz
cd subversion-1.4.5
./configure --prefix=$HOME/local/subversion \
--with-apr=$HOME/local/apr \
--with-apr-util=$HOME/local/apr-util \
--with-neon=$HOME/local/neon \
--with-swig=$HOME/local/swig \
--enable-swig-bindings=all\
--without-berkeley-db \
--disable-static
make
make install
Binding のインストール
Python
cd ~/local/src/subversion-1.4.5
make clean
make swig-py
make install-swig-py --prefix=$HOME/local/subverson
Perl
cd ~/local/src/subversion-1.4.5
make clean
make swig-pl-lib
make install-swig-pl-lib
cd subversion/bindings/swig/perl/native
ここで
自分の@ldpaths
の
my @ldpaths = ("/home/nyarla/local/subversion/lib");
みたいな
ちなみに/home/nyarla/local/subversion/lib
は、
perl Makefile.PL PREFIX=$HOME/local/subversion
make
make test
make install
以上終了/解説
ユーザー領域に~/local/AppName
に
自分の~/home/local/AppName
に
Subversion の
作業を
とり
とり
#FIXME