さくらサーバに、Subversion最新1.8.10をインストール忘備録です。
1. 最新版ダウンロード
・さくらにTelnet等でログイン
・ダウンロードして解凍
% mkdir local
% mkdir local/src
% cd local/src
% wget http://apache.mirrors.pair.com/subversion/subversion-1.8.10.tar.gz
% tar xvf subversion-1.8.10.tar.gz
2. 最近では、さらに必要な物を下記のコマンドでダウンロード(できるらしい)
% cd subversion-1.8.10
% ./get-deps.sh
3. Makefile, make
APRがないと怒られる。-with-aprで場所を指定しろということか。
% ./configure -prefix=$HOME/local -without-serf -without-berkeley-db
-with-ssl
% checking for APR... no
configure: WARNING: APR not found
The Apache Portable Runtime (APR) library cannot be found.
Please install APR on this system and configure Subversion
with the appropriate --with-apr option.
You probably need to do something similar with the Apache
Portable Runtime Utility (APRUTIL) library and then configure
Subversion with both the --with-apr and --with-apr-util options.
4. apr, apr-utilをコンパイル
最初にaprをインストール
% cd apr
% ./configure -prefix=$HOME/local
% make
% make install
次にapr-utilをインストール
% cd ../apr-util
% ./configure -prefix=$HOME/local -with-apr=$HOME/local
% make
% make install
5. やっとSubversionインストール
% cd ..
% ./configure -prefix=$HOME/local -without-serf -without-berkeley-db
-with-ssl -with-apr=$HOME/local -with-apr-util=$HOME/local
% make
% make install
6.パスを通してバージョン確認、レポジトリ作成
% cd
% vi .cshrc
--> $HOME/local/bin にパスを通す
% source .cshrc
% svn --version
svn, version 1.8.10 (r1615264)
compiled Oct 26 2014, 21:00:45 on x86_64-unknown-freebsd9.1
% svnadmin create quicktest