2007-09-22
■[trac][svn]さくらのレンタルサーバの「FreeBSD 6.1」バージョンアップで、trac + Subversion がエラーになってる
一つ前のエントリと同じく、
によって、trac + Subversionもエラーになってるっぽい。
tracのURLにアクセスすると、このあたりのエラーが出る。
Traceback (most recent call last):
File "/home/anjuta/local/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/home/anjuta/local/lib/python2.4/site-packages/trac/web/main.py", line 191, in dispatch
chosen_handler = self._pre_process_request(req, chosen_handler)
File "/home/anjuta/local/lib/python2.4/site-packages/trac/web/main.py", line 263, in _pre_process_request
chosen_handler = f.pre_process_request(req, chosen_handler)
File "/home/anjuta/local/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 73, in pre_process_request
self.get_repository(req.authname).sync()
File "/home/anjuta/local/lib/python2.4/site-packages/trac/versioncontrol/api.py", line 91, in get_repository
raise TracError('Unsupported version control system "%s". '
TracError: Unsupported version control system "svn". Check that the Python bindings for "svn" are correctly installed.
そして、コマンドラインの
でも、
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/home/anjuta/local/lib/svn-python/svn/client.py", line 19, in ?
from libsvn.client import *
File "/home/anjuta/local/lib/svn-python/libsvn/client.py", line 5, in ?
import _client
ImportError: Shared object "libcrypt.so.2" not found, required by "_client.so"
のエラーが出る。
なので、こっちも再度make。
コマンドは、以前の自分メモを
完全にコピペ。
とりあえず、Subversionがらみだけ再度make。
$ cd $HOME/local/src
$ wget http://jaist.dl.sourceforge.net/sourceforge/swig/swig-1.3.31.tar.gz
$ cd swig-1.3.31
$ ./configure --prefix=$HOME/local
$ make
$ make install
$ cd $HOME/local/src
$ wget http://www.webdav.org/neon/neon-0.25.5.tar.gz
$ cd neon-0.25.5
$ ./configure --prefix=$HOME/local --with-ssl=openssl --with-libs=/usr/local/ssl --enable-shared --enable-static
$ make
$ make install
- 「Subversion」(subversion-1.4.3) & 「APR」(apr-0.9.13) & 「APR-util」(apr-util-0.9.13)
$ cd $HOME/local/src
$ wget http://subversion.tigris.org/downloads/subversion-1.4.3.tar.bz2
$ tar jxf subversion-1.4.3.tar.bz2
$ wget http://archive.apache.org/dist/apr/apr-0.9.13.tar.gz
$ wget http://archive.apache.org/dist/apr/apr-util-0.9.13.tar.gz
$ tar zxvf apr-util-0.9.13.tar.gz
$ cp -rf apr-0.9.13 subversion-1.4.3/apr
$ cp -rf apr-util-0.9.13 subversion-1.4.3/apr-util
$ cd subversion-1.4.3
$ ./configure --prefix=$HOME/local --without-berkeley-db --with-neon=$HOME/local/ --enable-swig-bindings=python --with-swig=$HOME/local/bin/swig --disable-static --with-python=$HOME/local/lib/python --with-ssl --with-libs=$HOME/local
$ make clean
$ make clean-swig-py
$ make
$ make install
$ make swig-py
$ make install-swig-py
- Subversionnのリンクをはる。
$ ln -s $HOME/local/lib/svn-python $HOME/local/lib/python/site-packages/svn-python
$ ln -s $HOME/local/lib/svn-python/svn $HOME/local/lib/python/site-packages/svn
$ ln -s $HOME/local/lib/svn-python/libsvn $HOME/local/lib/python/site-packages/libsvn
この状態で、
のエラーは出なくなった。
Traceback (most recent call last):
File "/home/anjuta/local/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/home/anjuta/local/lib/python2.4/site-packages/trac/web/main.py", line 206, in dispatch
req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs())
File "/home/anjuta/local/lib/python2.4/site-packages/trac/web/clearsilver.py", line 135, in __init__
raise TracError, "ClearSilver not installed (%s)" % e
TracError: ClearSilver not installed (Shared object "libz.so.2" not found, required by "neo_cgi.so")
のエラーが残ってる。
上記のエラーメッセージから、なんとなくclearsilverっぽいので、
clearsilverを再度make。
- 「clearsilver」(clearsilver-0.9.14)
$ cd $HOME/local/src
$ wget http://www.clearsilver.net/downloads/clearsilver-0.9.14.tar.gz
$ gunzip clearsilver-0.9.14.tar.gz
$ tar -xvf clearsilver-0.9.14.tar
$ cd clearsilver-0.9.14
$ ./configure --prefix=$HOME/local --oldincludedir=$HOME/local/include --disable-ruby --disable-java --disable-perl --disable-csharp --disable-python --disable-static
$ gmake
$ gmake install
$ cd python
$ python setup.py build
$ python setup.py install --prefix=$HOME/local
エラーが消えてるー。
よかった〜。
- 6 http://discypus.jp/wiki/?ソフト/Bug Tracking/trac/未整理2007
- 6 http://www.google.com/reader/view/
- 3 http://blog-search.yahoo.co.jp/search?p=trac&ei=
- 3 http://d.hatena.ne.jp/nitoyon/20070914/how_to_install_rascut
- 3 http://nakanohito.jp/
- 3 http://www.google.co.jp/search?sourceid=navclient&hl=ja&ie=UTF-8&rlz=1T4GZEZ_jaJP230JP230&q=pear+インストール+VersionControl+SVN
- 2 http://d.hatena.ne.jp/keyworddiary/Python
- 2 http://www.google.co.jp/hws/search?hl=ja&q=タスクバー+常に手前に表示+vista&client=fenrir&adsafe=off&safe=off&lr=lang_ja
- 2 http://www.google.co.jp/search?hl=ja&client=firefox&rls=org.mozilla:ja:official&hs=e2T&q=vista+キーボード 認識しない&btnG=検索&lr=lang_ja
- 2 http://www.google.co.jp/search?hl=ja&q=Thunderbird+パソコン 移行&lr=



