2007/02/09(金)12:02
tracインストール完了
ようやくLinuxx86_64にインストール完了。
結局ソースコードからほとんどのものをインストールしなおしました。
こんな感じ
BerkeleyDB
tar zxvpf db-4.5.20.tar.gz
cd db-4.5.20/build_unix
../dist/configure
make
make install
apr
tar zxvfp apr-0.9.13.tar.gz
cd apr-0.9.13
./buildconf
./configure
make
make install
apr-util
tar zxvpf apr-util-0.9.13.tar.gz
cd apr-util-0.9.13
./buildconf --with-apr=/root/work/apr-0.9.13
./configure --with-berkeley-db=/usr/local/BerkeleyDB.4.5 \
--with-apr=/usr/local/apr
make
make install
apache
./configure --enable-so=yes --enable-dav=yes --enable-module=most \
--with-berkeley-db=/usr/local/BerkeleyDB.4.5 --enable-proxy --enable-rewrite \
--with-mpm=prefork --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr \
--enable-mods-shared=all --enable-ssl=static --with-ssl=/usr/local/ssl \
--enable-logio
subversion
tar zxvfp subversion-1.4.3.tar.gz
cd subversion-1.4.3
./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr \
--with-apxs=/usr/local/apache2/bin/apxs \
--with-berkeley-db=/usr/local/BerkeleyDB.4.5
make
make install
make swig-py
make install-swig-py
cd /usr/local/lib/python2.4/site-packages
echo "/usr/local/lib/svn-python" > subversion.pth
viewvc
tar zxvfp viewvc-1.0.3.tar.gz
cd viewvc-1.0.3
./viewvc-install
データベースはpostgresです
create database trac_prj with encoding='utf-8'
tracのイニシャライズ
trac-admin /opt/trac/data/sample initenv
postgresの設定
postgres://trac:@localhost/trac
はぁ、疲れた