hns - 日記自動生成システム - Version 2.19.9

先月 2001年12月 来月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2001年12月18日(火) 旧暦 [n年日記]

#1 [Namazu] namazu-2.0.10rc1.tar.gz

NetBSD/macppc 1.5.2 OK:

perl-5.6.1
kakasi-2.3.4                        (kakasi -version)
chasen-2.2.8                        (pkg_info chasen |grep Info)
nkf  p5-nkf-1.7                     (pkg_info p5-nkf |grep Info)
Text-ChaSen    p5-Text-ChaSen-1.03nb1 (ditto)
Text-Kakasi    p5-Text-Kakasi-1.04    (ditto)
p5-File-MMagic p5-File-MMagic-1.13    (ditto)

./configure;time make;time make check;

All 42 tests passed
===================
Making check in template
326.543u 193.707s 10:36.80 81.6%        0+0k 1593+14246io 300pf+0w

NetBSD/macppc-current 2001/11:

gcc -g -O2 -Wall -pedantic -o .libs/namazu form.o namazu.o output.o rcfile.o result.o usage.o namazu-cmd.o ../nmz/.libs/libnmz.so ../lib/libnmzut.a -lm -Wl,--rpath -Wl,/usr/local/lib output.o: In function `print_page_index':
output.o:/export/local/src/namazu-2.0.10rc1/src/output.c:682: more undefined references to `gettext' follow makoto@u ■8:17:53/011218(...src/namazu-2.0.10rc1)> which gettext
/usr/local/bin/gettext
確かに gettext を見つけていない。これって autoconf-2.1 の台の時の話のようだ
checking for gettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for gettext in libintl... checking for gettext in -lintl... yes
yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for dcgettext... no
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext

/usr/pkgsrc/japanese/namazu2:

(はまだ 2.0.9 だけれど、そちらは)
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
となる。Makefile の最後で
.include "../../devel/gettext-lib/buildlink.mk"
していて、 その中に、
Add -lintl to LIBS in CONFIGURE_ENV to work around broken gettext.m4: gettext.m4 does not add -lintl where it should, and the resulting configure script fails to detect if libintl.a is the genuine GNU gettext or not.
という説明がある。 gettext は 0.10.40 なのだけれど。
env LIBS=-lintl ./configure
time make
34.335u 9.817s 1:01.18 72.1% 0+0k 0+784io 0pf+0w
time make check

Segmentation fault - core dumped
FAIL: namazu-cgi-9
====================
1 of 42 tests failed

(もう一度 
sh -xv namazu-cgi-9
したら問題ない)
makoto@u ■8:55:12/011218(...namazu-2.0.10rc1/src)> gdb .libs/namazu.cgi namazu.cgi.core
GNU gdb 4.17
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 "powerpc--netbsd"...
Core was generated by `namazu.cgi'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...done.
Reading symbols from /export/local/src/namazu-2.0.10rc1/src/../nmz/.libs/libnmz.so.5...done.
Reading symbols from /usr/lib/libm.so.0...done.
Reading symbols from /usr/local/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libc.so.12...done.
#0 0x2e6e616c in ?? ()
(gdb) where
#0 0x2e6e616c in ?? ()
(gdb)

もう一度やって見たが、やはり:

Segmentation fault - core dumped
FAIL: namazu-cgi-9

時として、segfault しやすい状態があって、:

再起動で直るので、一応やって見るが、全く同じ。

--with-included-gettext したら、問題ない。:

All 42 tests passed
===================
Making check in template
127.846u 24.975s 2:51.25 89.2%  0+0k 28+9079io 8pf+0w

libintl は複数入っている ?:

makoto@u 14:10:32/011218(...src/namazu-2.0.10rc1)> ldd src/.libs/namazu.cgi
src/.libs/namazu.cgi:
-lm.0 => /usr/lib/libm.so.0
-lnmz.5 => /usr/local/lib/libnmz.so.5
-lintl.1 => /usr/local/lib/libintl.so.1
-lc.12 => /usr/lib/libc.so.12
三つ入っているらしい
/usr/pkg/lib   (2000/11/21)
/usr/lib       (2001/08/02)
/usr/local/lib (2001/11/30)

#2 [Macintosh] 「PowerBook G4」のすべてのモデルに DVD-ROM/CD-RW 両用コンボ

「PowerBook G4」のすべてのモデルにスロットローディング方式 DVD-ROM/CD-RW 両用コンボドライブを標準搭載
PowerBook G4 550MHzモデル:256MBのSDRAM、20GBのUltra ATA/66ハードディスク ドライブ、DVD-ROM/CD-RW両用のコンボドライブを装備。価格は272,600円 (Apple Storeプライス、税別)。
そうか、同じ値段ではないという訳。確か以前は 258k 円だったはず。

#3 [NetBSD] 1.5.2 で 1G の swap を付けたら、起動しない ?

root file system type: ffs
uvm_anon_add: can not allocate 255999 anons
panic: uvm_anon_add
Stopped in swapctl at cpu_Debugger+0x10:      lwz r0, r1, 0x14,
db> trace
at panic+e8
at uvm_anon_add+a0
at sys_swapctl+864
at sys_swapctl+420
at trap+400
at ddblow+e0
..



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)