end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

subversion 1.7.7をsrc install

前準備 - apr , apr-util

$ wget http://ftp.riken.jp/net/apache/apr/apr-1.4.6.tar.gz
$ wget http://ftp.riken.jp/net/apache/apr/apr-util-1.5.1.tar.gz
$ tar -zxvf apr-1.4.6.tar.gz
$ cd apr-1.4.6
$ ./configure
$ make
$ su
# make install

$ tar -zxvf apr-util-1.5.1.tar.gz
$ cd apr-util
              ##↓大事
$ ./configure --with-apr=/usr/local/apr
$ make
$ su
# make install

前準備 - SQLite

An appropriate version of sqlite could not be found. We recommmend
3.7.6.3, but require at least 3.6.18.
Please either install a newer sqlite on this system

or

get the sqlite 3.7.6.3 amalgamation from:
http://www.sqlite.org/sqlite-amalgamation-3.7.6.3.tar.gz
unpack the archive using tar/gunzip and copy sqlite3.c from the
resulting directory to:
/home/endo/tmp/subversion-1.7.7/sqlite-amalgamation/sqlite3.c

↑こうらしいので

$ wget http://www.sqlite.org/sqlite-autoconf-3071401.tar.gz
$ tar -zxvf sqlite-autoconf-3071401.tar.gz
$ cd sqlite-autoconf-3071401
$ ./configure
$ make
$ su
# make install

前準備 - BerkeleyDB

$ wget http://download.oracle.com/otn/berkeley-db/db-5.3.21.tar.gz
$ tar -zxvf db-5.3.21.tar.gz
$ cd build_unix
$ ../dist/configure
$ make
$ su
# make install

前準備 - expat (xml parser)

$ wget http://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0.tar.gz
$ tar -zxvf expat-2.1.0.tar.gz
$ cd expat-2.1.0
$ ./configure
$ make
$ su
# make install

subversion-1.7.7

$ wget http://ftp.jaist.ac.jp/pub/apache/subversion/subversion-1.7.7.tar.gz
$ tar -zxvf subversion-1.7.7.tar.gz
$ cd subversion-1.7.7
$ ./configure --with-apr=/usr/local/apr \
              --with-apr-util=/usr/local/apr \
              --with-berkeley-db=/usr/local/BerkeleyDB.5.3
$ make
$ su
# make install