|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||||
2000年09月08日(金) 旧暦 [n年日記]
7932歩
#1 [NetBSD] iBook が正常に動き出した。
きのうから、やっと iBook 上で正常に動き出した。例によって椿井さんによる修正のおかげ。
Cache の一貫性の面倒を金物が見ていないので、しりぬぐいというような話で。
( つっこみ )
#2 [NetBSD] amd
きょうの amd memo
○ /etc/amd/amd.home を用意する。この名前は /var/yp/Makefile.yp の中に書いて あるので変更することも可能 ○/var/yp/domain-name で make amd.home する ○ypcat -k amd.home で表示されるか確認する ○ 動いているものがある時には、 /usr/sbin/amd -l syslog -x error,noinfo,nostats -p -a /amd /automount \ amd.home のように起動し直す これで /automount/key で利用出来る (NetBSD の) /etc/rc.conf 的な約束事として、 /etc/amd/master の中を展開して上のように起動しているのでその中に /automount amd.home と書いておく必要がある。二つ目を /etc/amd/map のように書くと NIS map を 見ないで、その譜を直接見る 参考: /usr/src/usr.sbin/amd/doc/am-utils.texi man amdしかし info は例によって読み難い。 ( つっこみ )
#3 [NetBSD] time make
を書直して、名前、秒数、版数で整列するようにした。
欲しい人はいないかな。多分
download
で表示されると思う。
index.pl
も要るかな。型名など hardcoding.
(ま、殆んど冗談ということで)
data も要るのか。
( つっこみ )
#4 [Namazu] libintl.h が見つからない件
はまた後で調べおきます。(あの記録は某所で、手元のものではないので)
入門文書 の中に書いてある 準備と make の版数が古くなっているので直す必要がありそう。 と書いたけれど、やって見る。 @ 2000-09-06 を別の手元の NetBSD/macppc 1.4V で試して見る。:
configure の時間と time make
20.158u 243.953s 4:44.58 92.8% 0+0k 163+3033io 26pf+0w makoto@harry ■23:15:28/000908(...src/namazu-2000-09-06)> time make (中略) gcc -DLOCALEDIR=\"/usr/local//locale\" -DOPT_CONFDIR=\"/usr/local/etc/namazu\" -DOPT_INDEXDIR=\"/usr/local/var/namazu/index\" -DHAVE_SUPPORT_H -DHAVE_CONFIG_H -I. -I.. -I./../lib -I./../src -I./../intl -I./../nmz -g -O2 -Wall -pedantic -c alias.c -fPIC -DPIC -o .libs/alias.lo In file included from alias.c:44: i18n.h:8: libintl.h: No such file or directory *** Error code 1config.cache には makoto@harry ■23:17:03/000908(...src/namazu-2000-09-06)> grep intl config.cache nls_cv_header_intl=${nls_cv_header_intl=''} ac_cv_header_libintl_h=${ac_cv_header_libintl_h='no'} makoto@harry ■23:18:11/000908(...src/namazu-2000-09-06)>そう言えば configure の時には次のように言っていて、何か変。 checking whether NLS is requested... yes checking for libintl.h... no checking whether catgets can be used... no --omit-header: not found found xgettext program is not GNU xgettext; ignore it checking for main in -lm... yesconfig.log は次のようになっていて、 configure:3137: checking whether NLS is requested configure:3172: checking for libintl.h configure:3182: gcc -E conftest.c >/dev/null 2>conftest.out configure:3178: libintl.h: No such file or directory configure: failed program was: #line 3177 "configure" #include "confdefs.h" #include <libintl.h> configure:3520: checking whether catgets can be used次のようなものを作って、実行すると、 --- configure Wed Sep 6 23:30:09 2000 +++ configure-libintl Fri Sep 8 23:31:23 2000 @@ -3181,17 +3181,19 @@ { (eval echo configure:3182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then - rm -rf conftest* +# rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 - rm -rf conftest* +# rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi -rm -f conftest* +# rm -f conftest* fi +echo '' +exit if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6次のようなものが残るので、 makoto@harry ■23:34:00/000908(...src/namazu-2000-09-06)> lslt total 2552 -rw-r--r-- 1 makoto wheel 12468 Sep 8 23:34 config.log -rw-r--r-- 1 makoto wheel 53 Sep 8 23:33 conftest.out -rw-r--r-- 1 makoto wheel 66 Sep 8 23:33 conftest.c -rw-r--r-- 1 makoto wheel 758 Sep 8 23:33 confdefs.h -rw-r--r-- 1 makoto wheel 1367 Sep 8 23:32 config.cacheその時には、次のようになります。って情報になっていないか。 makoto@harry ■23:34:18/000908(...src/namazu-2000-09-06)> cc conftest.c configure:3178: libintl.h: No such file or directory makoto@harry ■23:34:46/000908(...src/namazu-2000-09-06)> cc -I/usr/local/include -c conftest.c makoto@harry ■23:35:01/000908(...src/namazu-2000-09-06)> cc --version egcs-1.1.2一応念の為、環境変数など makoto@harry ■23:38:32/000908(...src/namazu-2000-09-06)> env | grep LD LD_LIBRARY_PATH=:/usr/X11R6/lib:/usr/local/lib:/usr/lib makoto@harry ■23:38:39/000908(...src/namazu-2000-09-06)> env | grep FLAG makoto@harry ■23:38:41/000908(...src/namazu-2000-09-06)> env | grep CC CC=gcc makoto@harry ■23:38:49/000908(...src/namazu-2000-09-06)>xgettext が GNU でないなんて言っているので、これも念為 makoto@harry ■23:38:49/000908(...src/namazu-2000-09-06)> which xgettext /usr/local/bin/xgettext makoto@harry ■23:42:29/000908(...src/namazu-2000-09-06)> xgettext --version xgettext (GNU gettext) 0.10.35 Copyright (C) 1995, 1996, 1997, 1998 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. makoto@harry ■23:42:34/000908(...src/namazu-2000-09-06)>(遅いので、きょうはこれまで) ( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||