Namazu-devel-ja(旧)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Road to 2.0.5
>>>>> In [namazu-devel-ja : No.00824]
>>>>> “kose” = 小関 吉則 (KOSEKI Yoshinori) <kose@xxxxxxxxxxxxxxxxxx> wrote:
kose> src/namazu の
kose> exec $program ${1+"$@"}
kose> の部分は再帰呼び出ししているのでしょうか?
kose> ここでコアダンプしています。試しに以下にしてみると
あれっ? 違うのかな。src/.libs/namazu がコアダンプしているのか。
kose(^.^)casper> pwd
/home/kose/tmp/namazu-2.0.5/src
kose(^.^)casper> gdb .libs/namazu
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.6"...
(gdb) run ../tests/inx1
Starting program: /home/kose/tmp/namazu-2.0.5/src/.libs/namazu ../tests/inx1
Program received signal SIGSEGV, Segmentation fault.
0xef69c1a8 in key_2_text () from /usr/lib/libc.so.1
(gdb) where
#0 0xef69c1a8 in key_2_text () from /usr/lib/libc.so.1
#1 0xef69c094 in dcgettext_u () from /usr/lib/libc.so.1
#2 0xef69b994 in gettext () from /usr/lib/libc.so.1
#3 0x142b8 in print_result (hlist={num = 0, stat = SUCCESS, data = 0x0},
query=0xefffee68 "../tests/inx1", subquery=0xefffea68 "") at output.c:686
#4 0x131c0 in namazu_core (query=0xefffee68 "../tests/inx1",
subquery=0xefffea68 "") at namazu.c:159
#5 0x163fc in main (argc=2, argv=0xeffff2dc) at namazu-cmd.c:346
(gdb) quit
The program is running. Exit anyway? (y or n) y
kose(^.^)casper>
環境が悪いのかしら。
1. LD_LIBRARY_PATH
kose(^.^)casper> echo $LD_LIBRARY_PATH
LD_LIBRARY_PATH: 未定義の変数
で、これはセットされていなくて、この
ftp://ftp.namazu.org/namazu/test/namazu-2.0.5-pre2.tar.gz
は make install しちゃったので library は namazu-2.0.5-pre2
のものを使っているはずです。
2. configure
./configure --with-included-gettext
でやっていますが、これは必要なんでしたっけ?
3. gettext
kose(^.^)casper> gettext --version
gettext (GNU gettext) 0.10.35
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.
4.
kose(^.^)casper> uname -a
SunOS casper 5.6 GENERIC sun4u sparc SUNW,Ultra-30
kose(^.^)casper> perl --version
This is perl, v5.6.0 built for sun4-solaris-thread-multi
kose(^.^)casper> gcc --version
2.95.2
;; ボクの環境だけなのかなぁ。と不安になっています。
--
こせき @ Emacs のページ作成中
http://www.NetLaputa.ne.jp/~kose/Emacs/
kose@xxxxxxxxxxxxxxxxxx