- 2008-01-04 (金) 13:39
12月上旬にMew(emacs上で動くメールクライアント) にsqliteを使う拡張が入った.これは,今見ている記事の関連ツリーを全フォルダから検索して表示できる機能で,うまく動けばフォルダの振分け構造をあまり考えなくてよくなる(リファレンスをきちんと辿ってくれないメールは無理なのかな)ので素晴しいのだけれど,なぜかうちのFreeBSD5系(on VMWare)の環境ではうまく動いてくれなかった.FreeBSD6系では動いていたので,休みを利用してバージョンアップしてみる.ちょっとリリース前でタイミングが悪いが,せっかくなので一気に7.0RC1に.


が,それでもやはりうまく動かない.インデックスを作るところで cmew.rb が下記のようなエラーを吐いてしまう.
/usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/driver/native/driver.rb:100: [BUG] Segmentation fault
6と7の差?それともVMWareが悪いのか,とかいろいろ悩んだあげくに発見.sqlite のコンパイルオプションが違ってる.WITHOUT_FTS1=true,WITHOUT_FTS2=true で動いた.なんだ,バージョン上げる必要なかったんじゃん…….
こちらもあわせてどうぞ
同一タグの関連投稿
- Newer: P2P today ダブルスラッシュ
- Older: 神戸ショコラミルフィーユ
コメント:3
- sean 08-02-02 (土) 10:01
-
hi satoshi,
though all i can read from this post is the error message, i guess have the same issue with sqlite3-ruby in ruby-1.8.6 running on debian (etch) on a virtual server.
this was the only google result on the error message.
here is what it looked on my box:
——————–
vs137094:/var/rails/webistrano/db# RAILS_ENV=production rake db:migrate
(in /var/rails/webistrano)
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/driver/native/driver.rb:100: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i686-linux]Aborted
——————–would be nice of you to send me a note about your problem and how you (hopefully) fixed it.
thanks,
sean - sean 08-02-02 (土) 10:12
-
hi again,
after a reboot, it worked fine. sorry for bothering you.
good luck,
sean - rudy ray moore 08-04-03 (木) 2:09
-
i was receiving this error when trying to use sqlite3 on redmine (uses ruby on rails). the fix was to recompile sqlite3 without full text search. i.e. WITHOUT_FTS1=true and WITHOUT_FTS2=true
トラックバック:0
- このエントリーのトラックバックURL
- http://kamei.nu/2008/01/04/18/trackback/
- Listed below are links to weblogs that reference
- Mew+sqlite from かめいぬ