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

先月 2006年07月 来月
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 による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2006年07月31日(月) 旧暦 [n年日記] [更新:"2006/07/31 09:09:16"]

#1 [Emacs] Emacs の zone-mode で DNS 情報を編集

.emacs に次のように書いておく
(add-hook 'find-file-hooks
	  (function 
	   (lambda ()
		;;; ... ( omitted) ...
	     (if (string-match "/etc/named/" buffer-file-name)
		 (progn
		   (zone-mode)
		   (jaspace-mode) ))
)))
これで PATH の一部分に /etc/named/ がある譜を編集する時に zone-mode になる( jaspace-mode は関係ないが便利なので)。 zone 情報が 一つだけというような時なら、その情報の最後に次のような 字を付けておいても、もちろんいい。
;; Local Variables:
;; mode: zone
;; End;
実は、いつも、Variables: か Variable: か、zone-mode か単に zone か、まよう。

これの機能は、次の二つ(だけ)

  • serial を自動で更新してくれる
  • 色付
で、実は、serial を更新してくれなかったので、lisp/net/zone-mode.el を読んで見た。
    (while (re-search-forward "\\b\\([0-9]+\\)\\([0-9][0-9]\\)\\([ \t]+;[ \t]+[Ss]erial\\)" (point-max) t)
つまり 約束事として、次のように、「数字 ; serial 」という行を探して、それを更新してくれる。
 2006073100 ; serial 
うまく行かなかったのは、最近は serial という字を付けていなかったから。

簡単に試すのなら、 (何も設定をしない時でも) 次のように書いて、保存して、もう一度開けて、何か変更を加えて見ると分る。

2006073103 ; serial
test ...     
;; Local Variables:
;; mode: zone
;; End:

#2 [game] Mod chip Mod チップとは ?

最近 モトチップという言葉を聞いて、実は google でも探せなかった。 つづりを最近聞き直して google 出来た。 買えば済む っていう問題ではないのか。 しかし楽しそ しかし (言っては悪いが)、こういうところに Credit Card の番号を教えるっていう のは、ちょっと気が進まないなぁ。


2006年07月30日() 旧暦 [n年日記] [更新:"2006/07/31 00:01:43"]

#1 [NetBSD] build.sh (TNF) NetBSD/macppc

cpu0 at mainbus0: 7455 (Revision 303), ID 0 (primary) 1200.00 MHz
   115  22:22   cvs update -D 20060728-UTC
                time sudo ./build.sh release >& log-D.20060728-UTC
11901.426u 3546.210s 4:20:36.78 98.7%   0+0k 37500+583680io 25380pf+211w
runs again with: patch for using gdb6
ttyp2:makoto@st4200 19:16:35/060730(/export/20060729)> time sudo ./build.sh release > & log-D.20060728-UTC-gdb6
Password:
11964.620u 3546.302s 4:14:50.96 101.4%  0+0k 17101+568545io 19074pf+247w


2006年07月29日() 旧暦 [n年日記] [更新:"2006/07/31 09:19:22"]

#1 [pkgsrc] pukiwiki が何も表示しない

「pukiwiki が何も表示しない」なと思って、 php index.php して見ると、
 get_script_uri() failed: Please set $script at INI_FILE manually.
とのたもうていた。
pukiwiki.ini.phpに$scriptを書けばいいんじゃないでしょうか
との御託宣が。 *1 確かに次のようなものがある。
// index.php などに変更した場合のスクリプト名の設定
// とくに設定しなくても問題なし
//$script = 'http://example.com/pukiwiki/';
しかし php-4.4.1nb1 の機械では、これは必要ない。一応変更して見よう。
php-4.4.1nb1不要
php-4.4.2nb2必要
php index.php を良く見たら、次のように書いてある。
<div id="body"><h3>Runtime error</h3>
<strong>Error message : <br />
<br />
Directory is not found or not writable (DATA_DIR)<br />
Directory is not found or not writable (DIFF_DIR)<br />
Directory is not found or not writable (BACKUP_DIR)<br />
Directory is not found or not writable (CACHE_DIR)<br />
</strong></div>

*1: (託 = 言 + セ)

#2 [NetBSD] ./build.sh -> Could not find sbin/chown/Makefile

nbmake: "/export/20060729/sbin/chown/(stdin)" line 3: Could not find /export/20060729/sbin/chown/Makefile
nbmake: Fatal errors encountered -- cannot continue
( cd vi; printf '.PATH: /export/20060729/usr.bin/vi/build\n.CURDIR:= /export/20060729/usr.bin/vi/build\n.include "${.CURDIR}/Makefile"\n' | /export/20060729/obj/tooldir.NetBSD-3.99.21-powerpc/bin/nbmake -f- CRUNCHEDPROG=1 DBG="-Os" vi.ro )
`vi.ro' is up to date.
( cd chown; printf '.PATH: /export/20060729/sbin/chown\n.CURDIR:= /export/20060729/sbin/chown\n.include "${.CURDIR}/Makefile"\n' | /export/20060729/obj/tooldir.NetBSD-3.99.21-powerpc/bin/nbmake -f- CRUNCHEDPROG=1 DBG="-Os" depend )
nbmake: "/export/20060729/sbin/chown/(stdin)" line 3: Could not find /export/20060729/sbin/chown/Makefile
nbmake: Fatal errors encountered -- cannot continue
vi の時には usr.sbin となっているのに chown の時には sbin となっている のが良くない
rescue/obj/rescue.mk
   1831 chown_make: chown .PHONY
   1832         ( cd chown; printf '.PATH: ${chown_SRCDIR]}\n.CURDIR:= ${chown_SRCDIR}\n.include "$${.CURDIR}/Makefile"\n'\
   1833         | ${MAKE} -f- CRUNCHEDPROG=1 DBG="${DBG}" depend )
chown_SRCDIR が usr.sbin なのか sbin なのか ..
<- rescue.conf
<- parselist mode=crunch
<- distrib/common/parselist.awk


2006年07月28日(金) 旧暦 [n年日記] [更新:"2006/07/29 07:39:23"]

#1 [NetBSD] ./build.sh for gdb6



2006年07月27日(木) 旧暦 [n年日記] [更新:"2007/08/30 12:25:41"]

#1 [pkgsrc] mktexpk: don't know how to create bitmap font for rml.

ttyp5:makoto@mini 16:15:55/060727(~...finance/hoge)> dvipdfmx 20060727.dvi
20060727.dvi -> 20060727.pdf
[1kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+577/600 --dpi 577 rml
mktexpk: don't know how to create bitmap font for rml.
kpathsea: Appending font creation commands to missfont.log.
n
** WARNING ** Could not locate a virtual/physical font for TFM "rml".
** WARNING ** >> There are no valid font mapping entry for this font.
** WARNING ** >> Font file name "rml" was assumed but failed to locate that font.
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...

Output file removed.
ttyp5:makoto@mini 16:15:56/060727(~...finance/hoge)> 
ttyp0:makoto@yoshimi 16:17:57/060727(~...finance/hoge)> sudo find /usr/pkg -name dvipdfm
Password:
/usr/pkg/bin/dvipdfm
/usr/pkg/share/texmf-dist/dvipdfm
/usr/pkg/share/texmf-dist/fonts/map/dvipdfm
/usr/pkg/share/texmf-dist/tex/latex/dvipdfm
/usr/pkg/share/texmf-local/dvipdfm
/usr/pkg/share/texmf-local/fonts/map/dvipdfm
/usr/pkg/share/texmf-var/fonts/map/dvipdfm
ttyp0:makoto@yoshimi 16:18:11/060727(~...finance/hoge)> 
/usr/pkg/share/texmf-dist/dvipdfm/config
-rw-r--r--  1 root  wheel  1803 Dec 26  2002 README.config
-rw-r--r--  1 root  wheel   898 Jul 19 09:58 config
/usr/pkg/share/texmf-local/dvipdfm/config
-r--r--r--  1 root  wheel    120 Jul 19 13:32 cid-x.map
-r--r--r--  1 root  wheel   6830 Jul 19 13:33 dvipdfmx.cfg
-r--r--r--  1 root  wheel  80664 Jul 19 13:32 glyphlist.txt
ttyp5:makoto@mini 16:31:52/060727(...pkg/share)> find tex* -name \*map -type f -exec grep rml '{}' /dev/null \;
texmf-dist/fonts/map/fontname/bitstrea.map:brmli8a   CarminaBT-LightItalic             BT  0624    carminli
texmf-dist/fonts/map/fontname/bitstrea.map:brml8a    CarminaBT-Light                   BT  0667    carminal
texmf-dist/fonts/map/fontname/bitstrea.map:bpi005    Formal436BT-Regular               BT  1141    frml436n
texmf-local/fonts/map/dvips/ptex/jis.map:rml             Ryumin-Light-H
texmf-local/fonts/map/dvips/ptex/jis.map:rmlv    Ryumin-Light-V
texmf-local/fonts/map/dvips/ptex/nmin-ngoth.map:rml              Ryumin-Light-H
texmf-local/fonts/map/dvips/ptex/psfonts_jp.map:rmlsl       ".167 SlantFont"  Ryumin-Light-H 
texmf-local/fonts/map/dvips/ptex/psfonts_jp.map:rml         Ryumin-Light-H
texmf-local/fonts/map/dvips/ptex/psfonts_jp.map:rmlv        Ryumin-Light-V
texmf-local/fonts/map/dvips/ptex/psfonts_jp.map:%rml         Ryumin-Light-Ext-H
texmf-local/fonts/map/dvips/ptex/psfonts_jp.map:%rmlv        Ryumin-Light-Ext-V
ttyp5:makoto@mini 16:32:15/060727(...pkg/share)> 
一か所、
/usr/pkg/share/texmf-local/dvipdfm/config/dvipdfmx.cfg

に f jis.map を追加して見たが
ttyp5:makoto@mini 16:39:12/060727(~...finance/hoge)> dvipdfmx 20060727.dvi
20060727.dvi -> 20060727.pdf
[1
** ERROR ** Could not find encoding file "Ryumin-Light-H".
2007/08/30 記入 → patch
ttyp5:makoto@mini 16:55:21/060727(...pkg/share)> sudo find tex* -type f -name R\*.tfm
texmf-local/fonts/tfm/morisawa/ptex/Ryumin-Light-H.tfm
texmf-local/fonts/tfm/morisawa/ptex/Ryumin-Light-J.tfm
texmf-local/fonts/tfm/morisawa/ptex/Ryumin-Light-V.tfm
ttyp5:makoto@mini 16:55:47/060727(...pkg/share)> 
pdvips の方もだめだなぁ。... だめなのは pkg_add した方だけのような気もする。

xpdf:

Error: Couldn't find a font for 'Ryumin-Light-Identity-H'
ttyp5:makoto@mini 17:35:23/060727(~)> pkg_info | grep pdf
pdflib-4.0.3nb7     C library to produce PDF files
xpdf-3.01pl2nb1     Display tool for PDF files
xpdf-japanese-20040727nb1 Xpdf support files for Japanese
dvipdfmx-0.0.0.20050831nb5 Dvi to pdf converter with CID-keyed font support
Error: Couldn't find a mapping to Unicode for font 'Ryumin-Light-Identity-H'
何だか全然だめー。 いつも同じようなことばかり。 進歩がないな。 以前のメール。

#2 [NetBSD] ./build.sh for gdb6

ttyp4:makoto@mini 19:48:54/060727(...checkout/src)> \
?  time sudo ./build.sh release > & make-gdb6-active-version-if-no-etc.mk
8626.675u 2618.057s 3:15:22.00 95.9%    0+0k 18354+282476io 37103pf+246w
ttyp4:makoto@mini 23:04:21/060727(...checkout/src)> 
flist で失敗。直したつもりだったが ...
=======  2 extra files in DESTDIR  =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/bin/gdbtui
./usr/bin/psim
=========  end of 2 extra files  ===========
単に置いただけではやはりだめなのかな。
ttyp4:makoto@mini 23:10:07/060727(...checkout/src)> cat distrib/sets/lists/comp/gdb6.ad.powerpc
# $NetBSD: gcc4.ad.i386,v 1.1 2006/06/09 03:14:54 dogcow Exp $
./usr/bin/gdbtui                                comp-c-bin              gdbcmds
./usr/bin/psim                                  comp-c-bin              gdbcmds
これは多分次のようにして簡単に確かめられる。
ttyp4:makoto@mini 23:19:42/060727(...distrib/sets)> ./makeflist comp | grep gdb
./usr/bin/gdb
./usr/include/sys/kgdb.h
./usr/share/man/cat1/gdb.0
./usr/share/man/man1/gdb.1
./set.subr の中に書いてあった。hardcode ..
                elif [ "${HAVE_GCC}" = "4" ]; then
これで確認
 cd distrib/sets
 env HAVE_GDB=6 ./makeflist | egrep 'psim|gdb'
./usr/bin/gdb
./usr/bin/gdbtui
./usr/bin/psim
(以下略)
これでも失敗してしまった... 現在の diff


2006年07月26日(水) 旧暦 [n年日記] [更新:"2006/07/27 21:33:16"]

#1 [機械] KERNEL_DATA_INPAGE_ERROR

家人の Let's Note CF-R2 が、これを言っている。 どうも disk の swap に使っているところが変とかいうことの気がしている。

一応簡単な方から: memtest86 (Download - Memtest86 v3.2 ISO image (gzip)) → memtest86-3.2.iso.gz を現在実行中


#2 [pkgsrc] sysutils/cdrecord-ossdvd が Segfault する

Starting program: /usr/pkg/bin/mkisofs -volid XXXX -part -hfs -r -J -l -o CDimage dir
(no debugging symbols found)
(no debugging symbols found)
/usr/pkg/bin/mkisofs: Warning: no Apple/Unix files will be decoded/mapped

Program received signal SIGSEGV, Segmentation fault.
0x419611e4 in memmove () from /usr/lib/libc.so.12
(gdb) bt
#0  0x419611e4 in memmove () from /usr/lib/libc.so.12
#1  0x0182dec0 in getopt_long ()
#2  0x01827858 in getopt_long ()
#3  0x0182804c in getopt_long ()
#4  0x01827a4c in getopt_long ()
#5  0x0180df34 in ?? ()
#6  0x0180d930 in ?? ()
#7  0x01803464 in ?? ()
#8  0x018016c4 in ?? ()
#9  0x418733f0 in _rtld_start () from /usr/libexec/ld.elf_so
Previous frame inner to this frame (corrupt stack?)
(gdb) 
これは 3.99.17 (つまり gcc-3.3.3) でも起きる。どうも引数によるらしい。

#3 [NetBSD] gdb6 を使うとすると

./build.sh の時には -Werror を付けているので、一つでも warning があると 止ってしまう。 で、gdb6 は三か所出るが、そのうちの二つは直せた。しかし、 これが分らない。
src/gnu/dist/gdb6/sim/ppc/device.h
   729  EXTERN_DEVICE\
   730  (void volatile) device_error
   731  (device *me,
   732   const char *fmt,
   733   ...) __attribute__ ((format (printf, 2, 3)));
/export/20060702/checkout/src/gnu/dist/gdb6/sim/ppc/device.h:733: warning: type qualifiers ignored on function return type

[KJ] [PATCH] Fix warning: type qualifiers ignored on function return

cat -n readline/rlstdc.h | sed -n '39,$p

    39  #ifndef __attribute__
    40  #  if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
    41  #    define __attribute__(x)
    42  #  endif
    43  #endif
これって今は意味がないのか。古い gcc では __attribute__ 以下は無視するっていう意味か。

__attribute__ は関数属性:

format .. first-to-check
また、 first-to-check は、書式文字列に照らし合わせてチェックすべき最初の引き数の番号です。チェックすべき引き数を指定できない関数に対しては、第 3 パラメータに 0 を指定してください。この場合、コンパイラは、書式文字列だけを対象にして整合性のチェックを行います。
(M-x text-adjust-region 済)

gdb6 を使う変更:

これで出来た気が する。えー、実は (void) と (void volatile) の違いは分っていません。 UNIX入門 > C言語 > 17.2. volatile 何か勝手に外してしまっては良くない気もしますが sim なので、いいことにしませう。

多分、 「そのようなところ (関数の戻り値) に volatile なんか付けても無視するよ」 (type qualifiers ignored on function return type) って gcc が言っているのだから、外して正解という気がする



2006年07月25日(火) 旧暦 [n年日記] [更新:"2006/07/26 09:33:32"]

#1 [NetBSD][macppc] /usr/bin/gdb が Segfault する

core を作ってしまうものがあったので gdb しようとすると:
ttyp6:makoto@mini 12:01:58/060725(...gas/work)> gdb gas/as-new as-new.core
GNU gdb 5.3nb1
Copyright 2002 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 `as-new'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libc.so.12...done.
Loaded symbols for /usr/lib/libc.so.12
Reading symbols from /usr/libexec/ld.elf_so...done.
Loaded symbols for /usr/libexec/ld.elf_so
Segmentation fault (core dumped)
ttyp6:makoto@mini 12:02:40/060725(...gas/work)> 
で gdb の方はどこで落ちているかというと:
 gdb /usr/bin/gdb gdb.core
   ....(omitted) ...
#0  0x0183fd84 in decode_locdesc ()
(gdb) bt
#0  0x0183fd84 in decode_locdesc ()
#1  0x0183d43c in new_symbol ()
#2  0x01838728 in read_func_scope ()
#3  0x01838320 in read_file_scope ()
#4  0x01837ca0 in psymtab_to_symtab_1 ()
#5  0x01837a5c in dwarf2_psymtab_to_symtab ()
#6  0x018d5954 in psymtab_to_symtab ()
#7  0x018de548 in find_pc_sect_symtab ()
#8  0x018d42a8 in select_frame ()
#9  0x018092e8 in reinit_frame_cache ()
#10 0x018c6af0 in solib_add ()
#11 0x0182d490 in solib_add_stub ()
#12 0x018e9354 in do_catch_errors ()
#13 0x018e9254 in catcher ()
#14 0x018e93a0 in catch_errors ()
#15 0x0182d7c4 in core_open ()
#16 0x0189c67c in nbsd_core_open ()
#17 0x0182c7d4 in core_file_command ()
#18 0x018e93e8 in do_captured_command ()
#19 0x018e9354 in do_catch_errors ()
#20 0x018e9254 in catcher ()
#21 0x018e93a0 in catch_errors ()
#22 0x018e9434 in catch_command_errors ()
#23 0x01887914 in captured_main ()
#24 0x018e9354 in do_catch_errors ()
#25 0x018e9254 in catcher ()
#26 0x018e93a0 in catch_errors ()
#27 0x01887ca8 in gdb_main ()
#28 0x01856d0c in main ()
#29 0x01802a48 in _start ()
#30 0x41b733f0 in ?? () from /usr/libexec/ld.elf_so
(gdb) 
OS3.99.21NetBSD/macppc (TsubaiBSD)
gdb5.3nb1
gcc4.1.220060628 prerelease (NetBSD nb1 20060602)
objdump -d /usr/bin/gdb |less
0183fd14 <decode_locdesc>:
 183fd14:       7c 08 02 a6     mflr    r0
 183fd18:       94 21 fe a0     stwu    r1,-352(r1)
 183fd1c:       39 20 00 00     li      r9,0
 183fd20:       92 41 01 28     stw     r18,296(r1)
 183fd24:       3e 40 01 b9     lis     r18,441
 183fd28:       92 61 01 2c     stw     r19,300(r1)
 183fd2c:       3e 60 01 b9     lis     r19,441
 183fd30:       92 81 01 30     stw     r20,304(r1)
 183fd34:       7c b4 2b 78     mr      r20,r5
 183fd38:       92 a1 01 34     stw     r21,308(r1)
 183fd3c:       3e a0 01 b9     lis     r21,441
 183fd40:       92 c1 01 38     stw     r22,312(r1)
 183fd44:       3e c0 01 b9     lis     r22,441
 183fd48:       92 e1 01 3c     stw     r23,316(r1)
 183fd4c:       3e e0 01 b9     lis     r23,441
 183fd50:       93 01 01 40     stw     r24,320(r1)
 183fd54:       7c 98 23 78     mr      r24,r4
 183fd58:       93 21 01 44     stw     r25,324(r1)
 183fd5c:       3b 21 00 08     addi    r25,r1,8
 183fd60:       93 61 01 4c     stw     r27,332(r1)
 183fd64:       3b 60 00 00     li      r27,0
 183fd68:       90 01 01 64     stw     r0,356(r1)
 183fd6c:       38 00 00 01     li      r0,1
 183fd70:       93 41 01 48     stw     r26,328(r1)
 183fd74:       93 81 01 50     stw     r28,336(r1)
 183fd78:       93 a1 01 54     stw     r29,340(r1)
 183fd7c:       93 c1 01 58     stw     r30,344(r1)
 183fd80:       93 e1 01 5c     stw     r31,348(r1)
 183fd84:       83 43 00 00     lwz     r26,0(r3)
 183fd88:       83 c3 00 04     lwz     r30,4(r3)
 183fd8c:       2f 9a 00 00     cmpwi   cr7,r26,0
 183fd90:       91 33 a1 34     stw     r9,-24268(r19)
 183fd94:       90 15 a1 20     stw     r0,-24288(r21)
 183fd98:       91 21 00 0c     stw     r9,12(r1)
 183fd9c:       91 36 a1 24     stw     r9,-24284(r22)
 183fda0:       91 37 a1 28     stw     r9,-24280(r23)
 183fda4:       91 32 a1 30     stw     r9,-24272(r18)
 183fda8:       40 9d 00 e4     ble-    cr7,183fe8c <decode_locdesc+0x178>
gdb/dwarf2read.c
   6376 static CORE_ADDR
   6377 decode_locdesc (struct dwarf_block *blk, struct objfile *objfile,
   6378                 const struct comp_unit_head *cu_header)
    ...
   6388   i = 0;
   6389   stacki = 0;              
   6390   stack[stacki] = 0;
   6391   isreg = 0;
   6392   offreg = 0;
   6393   isderef = 0;
   6394   islocal = 0;
   6395   optimized_out = 1;
   6396
   6397   while (i < size)
万一どこが悪いと分っても gdb だけ作り直すのは大変だから pkgsrc の gdb6 でも、と思ったら、
ERROR: privilege-escalation vulnerability in gdb-6.2.1nb3 - see http://secunia.com/advisories/15449/ for more information
gdb<6.3
ERROR: Define ALLOW_VULNERABLE_PACKAGES if this package is absolutely essential
6.4 が出たのはかなり古い話の気がする。 patch の数が 40 もあると、それを上げるというのも ..
ttyp6:makoto@mini 12:27:37/060725(...devel/gdb6)> ls patches/|wc
      40      40     356
src の方に gdb6 が用意されている。そちらは 6.4 のようだ。
cat src/gnu/dist/gdb6/gdb/version.in 
6.4
   268  12:32   tar zxf $DISTFILES/gdb-6.4.tar.bz2
   269  12:33   mkdir gdb-6.4-work
   270  12:33   cd gdb-6.4-work
   271  12:33   ../gdb-6.4/configure
   272  12:33   time make

481.843u 125.106s 10:31.90 96.0%        0+0k 119+15385io 135pf+21w
                make install
                env PATH=/usr/local/bin:${PATH} gdb gas/as-new as-new.core	    
こっちは動いた。

/etc/mk.conf に

HAVE_GDB=	6 
と書いておけば、gdb6 になる。 src/gnu/usr.bin/Makefile より。
     19 .if ${MKGDB} != "no"
     20 .if ${HAVE_GDB} == "5"
     21 SUBDIR+=        gdb53
     22 .else
     23 SUBDIR+=        gdb6
     24 .endif
     25 .endif
でも、見る限り、何の設定もない場合、gdb6 に行くような ? どこかに HAVE_GDB= 5 って書いてあるのかな。


2006年07月24日(月) 旧暦 [n年日記] [更新:"2006/07/24 17:36:44"]

#1 [NetBSD][pkgsrc] 3.99.21 三台目

機種PowerMac G4/400
CPU1.2GHz7455 (Revision 303)
disk wd010GIBM-DTTA-371010
disk wd180GWDC WD800BB-00CAA1
ifconfig gm0
media auto-select通信出来ない。
media 100BaseTX-FDX通信出来るが Full dup のランプが付かない
OF の時には Full dup のランプは付いている ....
  1. multi-user の時に
    cp netbsd-GENERIC_MD.gz /20060702.gz 
    
    のように用意しておいて boot ultra1,ofwboot.elf hd:10/20060702.gz
  2. (sysinst で) Install。全て区画をやり直し。 この時に HFS 区画も作る。(.. 作れるんだ)。
  3. しかし、何故か通信出来ずに、そのまま消えてしまった (autoselect が使えないなどととは想像出来なかった)
  4. 実は、この時点であわてて CDROM を作る
  5. boot cd:,ofwboot.elf で sysinst から入直し。今度は Use existing partition。
  6. pdisk が空っぽのため、起動出来ず
  7. pdisk /dev/wd0c で起動して disklabel wd0 を見ながら手動で区画を作る
  8. boot cd:,ofwboot.elf hd:3/netbsd で起動

pkg_add config-serv:

これは何かな
pkg_add: Where did our dependency go?!
getty[169]: /dev/ttyE0: Device not configured
こう言われるのは何の話か、良く教えてもらっている気がするが、 思い出せない。

ofwboot.elf を写す:

ttyZ0:root@st4200  10:52:50/060724(/cdrom)# disklabel wd0
     (omitted)
16 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:   1023120      9072     4.2BSD   1024  8192 46512  # (Cyl.      9 -   1023)
 b:   2040192   1032192       swap                     # (Cyl.   1024 -   3047)
 c:  19746720         0     unused      0     0        # (Cyl.      0 -  19589)
 d:   8201088   3072384     4.2BSD   1024  8192 46600  # (Cyl.   3048 -  11183)
 e:      9009        63        HFS                     # (Cyl.      0*-      8)
 f:   8191008  11273472     4.2BSD   1024  8192 46544  # (Cyl.  11184 -  19309)
ttyZ0:root@st4200  10:52:55/060724(/cdrom)# hformat /dev/wd0e
Volume name is "Untitled"
Volume was created on Mon Jul 24 10:53:03 2006
Volume was last modified on Mon Jul 24 10:53:03 2006
Volume has 4536832 bytes free
ttyZ0:root@st4200  10:53:03/060724(/cdrom)# hmount /dev/wd0e
Volume name is "Untitled"
Volume was created on Mon Jul 24 10:53:03 2006
Volume was last modified on Mon Jul 24 10:53:03 2006
Volume has 4536832 bytes free
ttyZ0:root@st4200  10:53:09/060724(/cdrom)# hcopy ofwboot.elf :
二台目には次の link があるが、これが出来ていない。なくてもいいかな ?
lrwxr-xr-x 1 root wheel 22 Jul 22 10:36 /usr/pkg/bin/mkfontdir@ -> /usr/X11/bin/mkfontdir

samba Unsupported relocation type 6 in non-PLT relocations:

ttypf:makoto@mini 14:13:30/060724(~)> sudo /etc/rc.d/samba start
Starting nmbd.
/usr/pkg/sbin/nmbd: Unsupported relocation type 6 in non-PLT relocations

Starting smbd.
/usr/pkg/sbin/smbd: Unsupported relocation type 6 in non-PLT relocations

ttypf:makoto@mini 14:13:37/060724(~)> 
If you look the src, binutils-2.16/include/elf/ppc.h:
  RELOC_NUMBER (R_PPC_ADDR16,		  3)
  RELOC_NUMBER (R_PPC_ADDR16_LO,	  4)
  RELOC_NUMBER (R_PPC_ADDR16_HI,	  5)
  RELOC_NUMBER (R_PPC_ADDR16_HA,	  6)
  
  RELOC_NUMBER (R_PPC_GOT16,		 14)
  RELOC_NUMBER (R_PPC_GOT16_LO,		 15)
  RELOC_NUMBER (R_PPC_GOT16_HI,		 16)
  RELOC_NUMBER (R_PPC_GOT16_HA,		 17)
This is the number we are seeing now:
ttypf:makoto@mini 15:05:42/060724(...work/samba-3.0.22)> objdump -R /usr/pkg/sbin/smbd | grep ADDR16
002b1a3e R_PPC_ADDR16_HA   .rodata+0x00325c10
002b1a46 R_PPC_ADDR16_LO   .rodata+0x00325c10
002b1a8e R_PPC_ADDR16_HA   .rodata+0x00304d54
002b1a92 R_PPC_ADDR16_HA   .rodata+0x00304d58
002b1a96 R_PPC_ADDR16_LO   .rodata+0x00304d54
002b1a9a R_PPC_ADDR16_LO   .rodata+0x00304d58
002b1aca R_PPC_ADDR16_HA   .rodata+0x00325c18
002b1ace R_PPC_ADDR16_LO   .rodata+0x00304d58
002b1ad6 R_PPC_ADDR16_HA   .rodata+0x002bfddc
002b1ade R_PPC_ADDR16_LO   .rodata+0x002bfddc
Probably, this (Reloc 6) should not appear.

-fPIC or -fpic is missing somewhere ? objdump -d /usr/pkg/sbin/smbd | grep ^00

002b0c74 <__udivdi3>:
002b10f0 <__moddi3>:
002b15c0 <__divdi3>:
002b1a3c <__fixdfdi>:
002b1a8c <__fixunsdfdi>:
find . -name \*.o | awk '{print "echo " $0 "; nm ", $0" | grep fixdfdi"}' | sh
./libsmb/libsmbclient.o
U __fixdfdi

lang/gcc3-c:

/bin/tcsh ./genfixes machname.h
SHELL=/bin/sh: Command not found.
export: Command not found.
if: Expression Syntax.
gmake[2]: *** [machname.h] Error 1
gmake[2]: Leaving directory `/export/pkgsrc/lang/gcc3-c/work/gcc-3.3.5/gcc/fixinc'
gmake[1]: *** [fixinc.sh] Error 2
unsetenv SHELL
env PATH=/usr/pkg/gcc3/bin:${PATH} make
...
Compiling lib/time.c
lib/time.c: In function `GetTimeOfDay':
lib/time.c:66: error: too few arguments to function `gettimeofday'
*** Error code 1
void GetTimeOfDay(struct timeval *tval)
{
#if 1 
	gettimeofday(tval,NULL);
#else
	gettimeofday(tval);
#endif
}
with gcc-3.3.5,
ttypf:makoto@mini 16:13:18/060724(...net/samba)> sudo /etc/rc.d/samba start
Starting nmbd.
/usr/pkg/gcc3/lib/libgcc_s.so.1: Unsupported relocation type 10 in non-PLT relocations
in the log, we have the line
Compiling libsmb/libsmbclient.c with -fPIC -DPIC

gcc-3.3.6 with tsubai patch:

gcc-3.3.6/gcc/config -I../../gcc-3.3.6/gcc/../include ../../gcc-3.3.6/gcc/f/com.c -o f/com.o
../../gcc-3.3.6/gcc/f/com.c:11080: error: conflicting types for 'ffecom_gfrt_basictype'
../../gcc-3.3.6/gcc/f/com.h:236: error: previous declaration of 'ffecom_gfrt_basictype' was here
*** Error code 1
--- gcc-3.3.6/gcc/f/com.c~      2004-01-01 13:44:56.000000000 +0900
+++ gcc-3.3.6/gcc/f/com.c       2006-07-24 16:34:26.000000000 +0900
@@ -11075,7 +11075,7 @@
   return decl;
 }
 
-ffeinfoBasictype
+ffeinfoKindtype 
 ffecom_gfrt_basictype (ffecomGfrt gfrt)
 {
   assert (gfrt < FFECOM_gfrt);
../../gcc-3.3.6/gcc/java/gjavah.c:49: error: static declaration of 'flag_jni' follows non-static declaration
--- gcc-3.3.6/gcc/java/gjavah.c~        2003-03-29 07:18:48.000000000 +0900
+++ gcc-3.3.6/gcc/java/gjavah.c 2006-07-24 16:43:16.000000000 +0900
@@ -46,7 +46,7 @@
 static int found_error = 0;
 
 /* Nonzero if we're generating JNI output.  */
-static int flag_jni = 0;
+           flag_jni = 0;  // see java-tree.h line 170, or different variable ?
 
 /* When nonzero, warn when source file is newer than matching class
    file.  */
ttyq5:makoto@mini 16:43:19/060724(/export/local-src)> 
Making all in testsuite

/export/local-src/gcc-3.3.6-work/powerpc-unknown-netbsd3.99.21/soft-float/libstdc++-v3/include/bits/stl_alloc.h:652: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string[in-charge](char const*, std::allocator<char> const&)'

sudo pkg_add samba-3.0.21a.tgz:

Using old package for 3.99.15
ttypf:makoto@mini 17:17:33/060724(...packages/All)> sudo pkg_add samba-3.0.21a.tgz
pkg_add: Warning: package `/cdrom/packages/All/./samba-3.0.21a.tgz' was built for a different version of the OS:
pkg_add: NetBSD/powerpc 3.99.15 (pkg) vs. NetBSD/powerpc 3.99.21 (this host)


2006年07月23日() 旧暦 [n年日記] [更新:"2006/07/23 19:16:53"]

#1 [NetBSD][pkgsrc] 最近気が付いた meta-pkg の問題

最近は、(出来れば)、 自分で用意している meta-pkg を毎月更新している。 meta-pkg の バイナリパッケージ というものも出来る。 これは、本来は、とても良く出来たもので、例えば次のような形をしている。
-rw-r--r--  1 root  wheel  2028 Jul 20 18:52 config-serv-1.0.2.tgz
これを
sudo pkg_add config-serv-1.0.2.tgz
とか
sudo pkg_add config-serv
すれば、この操作だけで、 それに含まれている全てのバイナリパッケージを設置してくれる。 *1

で作る時にちょっと問題があることが分った。 作る時には

cd personal-pkgsrc/config-serv
sudo make package
とやる。全てに何も問題がなければ、これだけでいい訳だが、なかなかそうは行かない。 これに必要なパッケージを作っている段階で
  • make で失敗
  • make install で失敗
  • make package で失敗
のようなことがある。全て止るが、その問題を修正して再び
cd personal-pkgsrc/config-serv
sudo make package
をする。この時に、あるパッケージが終了しているか未了かは、 make install が済んでるかどうかで確認している。 もっと正確には pkg_info で表示される状態かどうかで判断する。 つまり、 失敗の段階が make package だった場合には、その段階は、再びは実行されない。 それで、その要素のバイナリパッケージは作られずに、次に行ってしまう。

この問題は、単に自分の理解や設定が悪いだけなのか、 あるいは解決するようなしくみはまだ用意されていないのか現在は不明。


*1: 現ディレクトリにバイナリパッケージが置いてあるか、 PKG_PATH で置いてある位置を ( 複数ある時には PATH を ; で区切って) 指定しておく必要がある。

#2 [pkgsrc] mysql-php4

Your PHP installation appears to be missing the MySQL which is required for WordPress.
php4-mysql-4.4.2 は入っている(はず)。server 側で
mysql> grant all on hoge.* to username@localhost identified by 'username';
はやってある 以前の日記 (2005/10/30) には
/usr/pkg の下に次の二つが必要なのに mysql.so が入っていなかったのです。

./lib/php/20020429/mysql.so (これがなかった)
./lib/httpd/mod_php4.so
とあるが..既に両方ともある。apache の httpd.conf には、次の行もある
LoadModule php4_module lib/httpd/mod_php4.so
しかし、php_info() で表示される画面には右のような表示がない .. /usr/pkg/etc/php.ini に次の行が入っていなかった。
extension=mysql.so
extension=pgsql.so
これで見えるようになった ( pgsql.so の行は mysql には関係ありません)。

(関係ないはずだが) 再び 4 MySQL Database Administration より

GRANT INSERT(user) on mysql.user to 'user''hostname';


2006年07月22日() 旧暦 [n年日記] [更新:"2007/12/24 21:30:42"]

#1 [Emacs] 所謂 install 大会

2005/05/04 の日記 (所謂 install 大会)

semi emacs-w3m mu-cite elscreen (自分の日記) ElScreen (FTP)

apel10.6
flim14.8
semi14.6
emacs-w3m1.4.4
wanderlustcvs
riececvstexinfo が出来ない(?) ので make -i で通過
auc-texcvs
tcode2.3.1+ patch + symbol.rev
mu-cite200507060209
x-facex-face-e21.el
elscreen1.4.3
elscreen-gf1.5.1
ttyp0:makoto@mini 8:48:18/060722(...local-src/riece)> autoreconf -f -i
Can't exec "aclocal": No such file or directory at /usr/pkg/bin/autoreconf line 181.
Use of uninitialized value in pattern match (m//) at /usr/pkg/bin/autoreconf line 181.
Can't exec "automake": No such file or directory at /usr/pkg/bin/autoreconf line 182.
Use of uninitialized value in pattern match (m//) at /usr/pkg/bin/autoreconf line 182.
Can't exec "aclocal": No such file or directory at /usr/pkg/share/autoconf/Autom4te/FileUtils.pm line 290.
autoreconf: failed to run aclocal: No such file or directory
./riece-ja.texi:747: 知らないコマンド `$G$-$'.
makeinfo: エラーにより、出力ファイル `./riece-ja.info' を削除します。
       -- 残したい場合には `--force' オプションを使ってください。
*** Error code 1
   181  8:06    mkdir local-src
   183  8:33    setenv CVS_RSH ssh
   198  8:46    setenv DISTFILES /e/u/j/distfiles/

semi:

   184  8:33    cd local-src/
   186  8:40    tar zxf $DISTFILES/apel-10.6.tar.gz
   187  8:41    tar zxf $DISTFILES/flim-1.14.8.tar.gz
   188  8:41    tar zxf $DISTFILES/semi-1.14.6.tar.gz

   189  8:42    cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/root checkout wanderlust
   190  8:42    cd apel-10.6/
   192  8:43    sudo make EMACS=/usr/local/bin/emacs install
   193  8:44    cd ../flim-1.14.8/
   192  8:43    sudo make EMACS=/usr/local/bin/emacs install
   195  8:44    cd ../semi-1.14.6/
   192  8:43    sudo make EMACS=/usr/local/bin/emacs install
   197  8:44    cd ..

emacs-w3m:

   199  8:46    tar zxf $DISTFILES/emacs-w3m-1.4.4.tar.gz
   200  8:46    cd emacs-w3m-1.4.4/
   201  8:46    ./configure --with-emacs=/usr/local/bin/emacs
   202  8:47    sudo make install
   203  8:47    sudo make install-icons

wanderlust:

   204  8:47    cd ../wanderlust/
   205  8:47    sudo make EMACS=/usr/local/bin/emacs install

riece:

   206  8:47    cd ..
   207  8:48    cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/root login
   208  8:48    cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/root checkout riece
   209  8:48    cd riece/
   211  8:49    less INSTALL-CVS
   210  8:48    autoreconf -f -i
                (automake was not installed
   214  8:51    pkg_info | grep automake
   215  8:52    pushd $PKGSRC/packages/powerpc/All
   216  8:52    sudo pkg_add automake-1.9.6.tgz
   217  8:52    popd
   218  8:52    autoreconf -f -i
   219  8:52    ./configure --with-emacs=/usr/local/bin/emacs
   221  8:53    setenv LANG C
   222  8:53    sudo make -i install
   156  9:00    env LANG=ja_JP.eucJP make
   157  9:00    env LANG=ja_JP.eucJP make -i
   158  9:00    env LANG=ja_JP.eucJP sudo make -i install

auc-tex:

(You need TeX/LaTeX or pLaTeX to install auc-tex)
225  9:01    cvs -d :ext:anoncvs@savannah.gnu.org:/cvsroot/auctex co auctex
   226  9:09    cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/auctex co auctex
   227  9:09    cd auctex/
   228  9:09    ./autogen.sh
   229  9:09    ./configure
   230  9:10    ./configure --with-emacs=/usr/local/bin/emacs
   231  9:10    make
   232  9:10    sudo make install

t-code:

   236  9:12    tar zxf $DISTFILES/tc-2.3.1.tar.gz
   237  9:12    cd tc-2.3.1/
   238  9:12    patch -s -p1 < ~/Mail/ml/tcode/1545
   239  9:12    patch -s -p1 < ~/Mail/ml/tcode/1528
   242  9:12    cd etc
   244  9:13    mv bushu.rev bushu.rev-orig
   245  9:13    cat bushu.rev-orig symbol.rev | sort > bushu.rev
   246  9:13    cd ..
   249  9:14    ./configure --with-emacs=/usr/local/bin/emacs
   250  9:14    sudo make install

mu-cite:

   253  9:17    tar zxf $DISTFILES/mu-cite-200507060209.tar.gz
   276  9:22    cd mu-cite-200507060209/
   277  9:22    sudo make EMACS=/usr/local/bin/emacs install

x-face:

   284  9:30    sudo mkdir /usr/local/share/emacs/site-lisp/a-files
   286  9:30    cd /export/local-src/
   287  9:30    cp $DISTFILES/x-face-e21.el.gz .
   289  9:30    gunzip x-face-e21.el.gz
   293  9:31    /usr/local/bin/emacs -batch -f batch-byte-compile x-face-e21.el
   294  9:31    sudo cp x-face-e21.el* /usr/local/share/emacs/site-lisp/a-files/
Symbol's value as variable is void: image-type-regexps

elscreen + elscreen-gf:

まず elscreen を入れる
   121  11:02   tar zxf $DISTFILES/elscreen-1.4.3.tar.gz
   124  11:02   cd elscreen-1.4.3/
   125  11:02   emacs -batch -f batch-byte-compile elscreen.el
   126  11:02   /usr/local/bin/emacs -batch -f batch-byte-compile elscreen.el
   134  11:05   sudo cp -p * /usr/local/share/emacs/site-lisp/elscreen
   138  11:06   ( cd /usr/local/share/emacs/site-lisp/elscreen ; \
                  sudo mv README README-elscreen )
その後で elscreen-gf を入れる(この順は重要)。
                cd ..
   122  11:02   tar zxf $DISTFILES/elscreen-gf-1.5.1.tar.gz
   135  11:05   cd elscreen-gf-1.5.1/
   140  11:07   /usr/local/bin/emacs -batch -f batch-byte-compile read-directory-name.el
   141  11:07   /usr/local/bin/emacs -batch -f batch-byte-compile elscreen-gf.el
   143  11:07   sudo cp -p * /usr/local/share/emacs/site-lisp/elscreen

wanderlust を起動:

--- Wanderlust NEWS ---  press 'a' to show all NEWS
                         press 'm' to mail this NEWS to your folder
                         press 'q' to quit
                         press 'Q' to force quit

--------------
* 2.14.x から 2.16.0 への変更点

** namazu フォルダは機能を拡張した search フォルダに置き換えられました。
   namazu 以外の外部プログラムを使った検索が出来るようになりました。デ
   フォルトでは、grep での検索がサポートされています。


--------------
* Changes in 2.16.0 from 2.14.x

** A folder type `namazu' is abolished.  New folder type `search' is added instead.

机上機入替:

Mac mini の開腹手術をして 80G disk を 80G disk と交換。 起動方法は次の通り。
boot-devicehd:,ofwboot.elf
boot-filehd:3/netbsd
/etc/fstab の sd を wd に直しておかなかったので、ちょっとだけびっくり。
mount /
ed /etc/fstab
/sd
s/sd/wd
/
s/sd/wd
w
q 
等のようにして直す

#2 [pkgsrc] mozilla が動かない

作り直そうとすると、「gtk+ の版が分らない」とか言う。 どうも
/usr/X11R6 -> /usr/X11 
の接続 (symlink) が必要そうな雰囲気。多分どこかで間違えたとは思うが。
その上で make package し直したら、動いた。何だか文字が大きい気がする。 font が足りないのかな。


2006年07月21日(金) 旧暦 [n年日記] [更新:"2006/07/22 01:12:15"]

#1 [NetBSD][X11] error: conflicting types for 'malloc'

これって一つづつ char * -> void * と 直すしかないのかな ?
ttyp0:makoto@yoshimi 9:11:44/060721(/export/xc)> cat -n ../xc-make-world-log-2 | grep 'error: conflicti' 
  4591  AuFileName.c:36: error: conflicting types for 'malloc'
  6562  AuFileName.c:36: error: conflicting types for 'malloc'
  9230  CloseHook.c:61: error: conflicting types for 'malloc'
  9268  CvtCache.c:38: error: conflicting types for 'malloc'
 12278  bmtoa.c:42: error: conflicting types for 'malloc'
 12288  atobm.c:39: error: conflicting types for 'malloc'
 12289  atobm.c:39: error: conflicting types for 'calloc'
 12439  iceauth.h:44: error: conflicting types for 'malloc'
 12440  iceauth.h:44: error: conflicting types for 'realloc'
 12447  iceauth.h:44: error: conflicting types for 'malloc'
 12448  iceauth.h:44: error: conflicting types for 'realloc'
 13254  parsedpy.c:47: error: conflicting types for 'malloc'
 13389  xconsole.c:277: error: conflicting types for 'malloc'
 14207  utils.c:396: error: conflicting types for 'realloc'
 15508  dsimple.c:72: error: conflicting types for 'malloc'
 15510  dsimple.c:88: error: conflicting types for 'realloc'
 15722  dsimple.c:72: error: conflicting types for 'malloc'
 15724  dsimple.c:88: error: conflicting types for 'realloc'
 15807  xrefresh.c:62: error: conflicting types for 'malloc'
 15809  xrefresh.c:88: error: conflicting types for 'malloc'
 16149  charproc.c:99: error: conflicting types for 'malloc'
 16150  charproc.c:100: error: conflicting types for 'realloc'
 16862  xwd.c:246: error: conflicting types for 'calloc'
 16884  dsimple.c:73: error: conflicting types for 'malloc'
 16886  dsimple.c:89: error: conflicting types for 'realloc'
 16973  dsimple.c:73: error: conflicting types for 'malloc'
 16975  dsimple.c:89: error: conflicting types for 'realloc'
 16988  xwud.c:47: error: conflicting types for 'malloc'
 17308  utils.c:859: error: conflicting types for 'malloc'
 17310  utils.c:948: error: conflicting types for 'realloc'
ttyp0:makoto@yoshimi 9:11:56/060721(/export/xc)> 
直した (少しだけ warning を外しただけの部分もある)。

#2 [build.sh][NetBSD][macppc] ./build.sh release を Firewire の上で

ttyp0:makoto@mini 14:58:51/060721(...checkout/src)> time sudo ./build.sh release >& ../log-1
9851.609u 2959.855s 3:32:30.78 100.4%   0+0k 19770+323586io 25200pf+240w
ttyp0:makoto@mini 18:31:28/060721(...checkout/src)> 
いつもだと 3:10 くらいで終わるが、今回は ATA/IDE disk ではまだ測れていないので、 とりあえず比較なし。と思ったら、失敗している
adb_direct.o: In function `adb_reinit':
adb_direct.c:(.text+0x578): undefined reference to `adb_dummy_noop'
adb_direct.c:(.text+0x714): undefined reference to `adb_dummy_noop'
変だなぁ、一度作れたはずなのだが。そうか gcc-4 で kernel を作るのは 初めてかも知れない。
static void adb_dummy_noop(void);
static void adb_dummy_panic(void);
 
void  
adb_dummy_noop()
{
}
もっと変。そのままでカーネルは完走:
time sudo env TOOLDIR=/export/20060702/checkout/src/tooldir.NetBSD-3.99.21-powerpc ./build.sh kernel=GENERIC

#3 [Emacs] 久振りに emacs-22.0.50 の make

   150  23:47   cd /export/
                cvs -d :pserver:anoncvs@cvs.sv.gnu.org:/sources/emacs co emacs
   154  23:47   mkdir emacs-work
   155  23:47   cd emacs-work/
   156  23:47   ../emacs/configure
   158  23:48   time make bootstrap
Wrote /export/emacs/lisp/cus-load.el
Generating /export/emacs/lisp/cus-load.el...done
1596.902u 151.485s 29:55.75 97.3%       0+0k 553+8203io 154pf+9w
ttyp0:makoto@mini 0:18:45/060722(/export/emacs-work)> 
(相変らず Firewire の上で動いている NetBSD/macppc の上で)
ttyp0:makoto@mini 0:34:00/060722(/export/emacs-work)> env DISPLAY=cvsync:0.0 /usr/local/bin/emacs
Fatal error (11)Segmentation fault (core dumped)
あっれーっという感じで: bt したら、もう一度
ttyp0:makoto@mini 0:36:49/060722(/export/emacs-work)> gdb /usr/local/bin/emacs emacs.core 
...
(gdb) bt
#0  0x41e093e8 in ?? () from /usr/lib/libc.so.12
Segmentation fault (core dumped)
2006/2/13 の日記
やはり --without-xim すると問題ない。


2006年07月20日(木) 旧暦 [n年日記] [更新:"2006/07/21 00:44:56"]

#1 [NetBSD] multi-user で sysinst

きょうは不思議なことを三つやった (NetBSD/macppc)
  1. 同じ大きさの disk の 最初の sector を写すことで disklabel を写した
    dd if=/dev/wd0c of=/dev/sd0c count=1
    
  2. 普通に動いている機械に disk を外付けにして、それに対して sysinst *1 を実行した (この外付は FireWire、sd0 として見えている)。起動は、次のような方法
    sudo src/distrib/macppc/floppies/ramdisk/obj/work/sysinst
    
    つまり ./build.sh したそのままを使った。
  3. FireWire の disk から単独で NetBSD を起動しそのまま普通に使用することを試した
    起動方法は
    boot fw/node/sbp-2/@0:,ofwboot.elf  fw/node/sbp-2/@0:3/netbsd
    
    つまり
    boot-devicefw/node/sbp-2/@0:,ofwboot.elf
    boot-filefw/node/sbp-2/@0:3/netbsd
    ちなみに、最初は内蔵の方の ofwboot.elf を使って起動して、 pkg_add hfsutils をした後に hformat/hcopy で ofwboot.elf を写した。
まあ、考えて見れば、不思議というほどでもなく、もしかしたら、極く普通のことかも知れない。 いや、少なくとも後の 2 つは普通やらないと思う。.. fw で起動出来るということは外付 installer というのも出来るのか。
        +---------------------+
    0   |                     |
        |      mbr            | (Master Boot Record)
        |                     |
        +---------------------+
  100   |                     |
        |  NetBSD disklabel   |
        |                     |
        +---------------------+
  200   |                     |
        | Apple Partitionmap  |
        |                     |
        +---------------------+
こうなっているのかな(だとすると、count=2 であるべきか)。そのようにした 気もする。

実は残っていること


*1: sysinst は NetBSD の設置系


2006年07月19日(水) 旧暦 [n年日記] [更新:"2006/07/20 23:21:21"]

#1 [pkgsrc][NetBSD] making mozila-1.7.13 with gcc-4.1.2

c++ -o mimemult.o -c -DE ....
mimemult.cpp:55: warning: missing braces around initializer for 'MimeContainerClass'
mimemult.cpp:55: warning: missing braces around initializer for 'MimeObjectClass'
mimeeobj.h:57: error: previous declaration of 'MimeExternalObjectClass mimeExternalObjectClass' with 'C++' linkage
mimemult.cpp:76: error: conflicts with new declaration with 'C' linkage
debian-bugs-dist Bug#377176

mozilla/mailnews/mime/src/mimemult.cpp:

mozilla/mailnews/mime/src/mimemult.cpp
    54  #define MIME_SUPERCLASS mimeContainerClass
    55  MimeDefClass(MimeMultipart, MimeMultipartClass,
    56                           mimeMultipartClass, &MIME_SUPERCLASS);


    76  extern "C" MimeExternalObjectClass mimeExternalObjectClass;
mozilla/mailnews/mime/src/mimeeobj.h
    57  extern MimeExternalObjectClass mimeExternalObjectClass;
change the 57 line to:
57 extern "C" MimeExternalObjectClass mimeExternalObjectClass;
submitted as #345134 実はこの後に 山ほどの Duplicate だとか、 1.7 は古いから直されることはないとか、いろいろ あった。少なくとも同じようなものはないかは探したのだけれど、やり方が悪かったのかなぁ。


2006年07月17日(月) 旧暦 [n年日記] [更新:"2006/07/17 16:08:27"]

#1 [NetBSD][pkgsrc] 久し振りに meta-pkg で sudo make package

3.99.21 が入ったので、久し振りに meta-pkg の config-base, config-serv を作っている。 (実は今回から gcc-4)。これは多分一時的なものだと思うけれど:
Index: PLIST
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/net/wget/PLIST,v
retrieving revision 1.12
diff -u -r1.12 PLIST
--- PLIST       17 Apr 2006 07:07:31 -0000      1.12
+++ PLIST       17 Jul 2006 02:02:51 -0000
@@ -1,7 +1,6 @@
 @comment $NetBSD: PLIST,v 1.12 2006/04/17 07:07:31 jlam Exp $
 bin/wget
 info/wget.info
-man/man1/wget.1
 share/examples/wget/wgetrc
 share/locale/bg/LC_MESSAGES/wget.mo
 share/locale/ca/LC_MESSAGES/wget.mo
ttyZ0:makoto@yoshimi 11:03:45/060717(...net/wget)> 
これのおかげで、寝ていた間、計算機も寝ていたようだ。
ttyZ0:makoto@yoshimi 11:08:07/060717(...powerpc/All)> ls -lt
total 38052
-rw-r--r--  1 root  wheel    483236 Jul 17 11:06 w3m-0.5.1nb4.tgz
-rw-r--r--  1 root  wheel    555923 Jul 17 11:03 wget-1.10.2nb1.tgz
-rw-r--r--  1 root  wheel    367674 Jul 17 11:01 boehm-gc-6.7.tgz
-rw-r--r--  1 root  wheel    676782 Jul 17 00:35 curl-7.15.4.tgz
-rw-r--r--  1 root  wheel    251365 Jul 17 00:28 libidn-0.6.5.tgz
-rw-r--r--  1 root  wheel     52263 Jul 17 00:25 pkg-config-0.20.tgz
-rw-r--r--  1 root  wheel    138269 Jul 17 00:19 id-utils-3.2d.tgz
-rw-r--r--  1 root  wheel    546973 Jul 17 00:09 screen-4.0.2nb5.tgz
-rw-r--r--  1 root  wheel     37813 Jul 17 00:07 lha-114.9nb2.tgz
-rw-r--r--  1 root  wheel    141496 Jul 17 00:06 unzip-5.52nb3.tgz
-rw-r--r--  1 root  wheel    223774 Jul 17 00:04 rsync-2.6.8.tgz
-rw-r--r--  1 root  wheel    461122 Jul 17 00:01 gmake-3.81.tgz
-rw-r--r--  1 root  wheel    685486 Jul 16 23:58 autoconf-2.60.tgz
-rw-r--r--  1 root  wheel     87591 Jul 16 23:57 m4-1.4.4.tgz
-rw-r--r--  1 root  wheel     11170 Jul 16 23:55 ja-a2ps-1.45.tgz
-rw-r--r--  1 root  wheel    100129 Jul 16 23:55 ja-less-358nb1.tgz
-rw-r--r--  1 root  wheel      9667 Jul 16 23:53 ack-1.39.tgz
-rw-r--r--  1 root  wheel     84928 Jul 16 23:53 nkf-2.05.tgz
-rw-r--r--  1 root  wheel     25076 Jul 16 23:52 p5-Jcode-2.06.tgz
-rw-r--r--  1 root  wheel     19075 Jul 16 23:51 p5-MIME-Base64-3.07.tgz
-rw-r--r--  1 root  wheel     39132 Jul 16 23:50 hfsutils-3.2.6nb1.tgz
-rw-r--r--  1 root  wheel     99764 Jul 16 23:49 libhfs-3.2.6nb2.tgz
-rw-r--r--  1 root  wheel     74680 Jul 16 23:47 gettext-lib-0.14.5nb2.tgz
-rw-r--r--  1 root  wheel     66667 Jul 16 22:56 bytebench-4.1.0nb3.tgz
-rw-r--r--  1 root  wheel  12622619 Jul 16 22:54 perl-5.8.8nb2.tgz
-rw-r--r--  1 root  wheel    123371 Jul 16 21:25 sudo-1.6.8pl12nb2.tgz
-rw-r--r--  1 root  wheel    532619 Jul 16 21:24 libtool-base-1.5.22nb3.tgz
-rw-r--r--  1 root  wheel    603929 Jul 16 21:20 tcsh-6.14.00nb1.tgz
-rw-r--r--  1 root  wheel     51907 Jul 16 21:17 digest-20060302.tgz
ttyZ0:makoto@yoshimi 11:30:54/060717(...powerpc/All)> 
===> Building for pchar-1.4nb4 c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_HERROR=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBM=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -DHAVE_LIBSNMP=1 -c main.cc -o main.o
GetIfInfo.h:21: error: extra qualification 'GetIfInfo::' on member 'GetName'
*** Error code 1
--- GetIfInfo.h.orig    2006-07-17 11:53:50.000000000 +0900
+++ GetIfInfo.h 2006-07-17 11:47:06.000000000 +0900
@@ -18,7 +18,7 @@
   bool IsValid(void);
 
   const char * GetDescription(void) const;
-  const char * GetIfInfo::GetName(void) const;
+  const char * GetName(void) const;
   const char * GetContact(void) const;
   const char * GetLocation(void) const;
   const char * GetIfDescription(void) const;
ttyp2:makoto@yoshimi 11:56:24/060717(...work.yoshimi/pchar-1.4)> 
gcc-4 ってやはり厳しい ? 同じ Class の中だったら、いいと思うのだけれど。
  • 以前に send-pr されていないか ?
送ってしまった が、もしかして pchar の元の方では直っているかも ?

#2 [機械] 全く同じ disk の間での複写

例えば 20G の disk が二つあって、一つは NetBSD の起動 disk だとします。
(複写元)
wd0 at atabus0 drive 0: <IC25N020ATCS04-0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 19077 MB, 38760 cyl, 16 head, 63 sec, 512 bytes/sect x 39070080 sectors
(複写先)
sd0 at scsibus0 target 0 lun 0: <HD227-FW, , > disk fixed
sd0: fabricating a geometry
sd0: 19077 MB, 19077 cyl, 64 head, 32 sec, 512 bytes/sect x 39070080 sectors
この動いている方の disk が どうも熱を持つと、不安定になるので、たまたま手元にあった別の 20 G に写すにはどういう方法があるか ? です。 複写先の 20G を Firewire 外付箱に入れて、3.99.21 の FW 口につなぎます。 すると sd0 で見えます。
host 名IP address機種OS利用可能な口disk
ibook192.168.1.170iBook G3 Shell3.99.8USB + Ethernet(内蔵) /dev/wd0c
yoshimi192.168.1.226PowerMac G4/AGP3.99.21USB/FW/Ethernet(外付 FW 箱) /dev/sd0c
これに dd で写してみます。

まず sudo 練習をしておきます。

sudo echo test
ssh 192.168.1.170 sudo echo test
これで次の時には passwd を聞かれないで済みます。
ttyp3:makoto@yoshimi 13:50:27/060717(~)> ssh 192.168.1.170 sudo dd if=/dev/wd0c bs=512 | \
sudo dd of=/dev/sd0c bs=512
dd: /dev/wd0c: Input/output error
263296+0 records in
263296+0 records out
134807552 bytes transferred in 213.720 secs (630767 bytes/sec)
263296+0 records in
263296+0 records out
134807552 bytes transferred in 214.625 secs (628107 bytes/sec)
(bs=512 は初期設定、つまり既定値なので、実は不要です) だめか ..
seek出力
skip入力
続けて:
ttyp3:makoto@yoshimi 14:14:12/060717(~)> ssh 192.168.1.170 sudo dd if=/dev/wd0c bs=512 skip=263304 | \
sudo dd of=/dev/sd0c bs=512 seek=263304
kDisconnecting: Corrupted MAC on input.
8340961+0 records in
8340961+0 records out
4270572032 bytes transferred in 4053.961 secs (1053431 bytes/sec)
ttyp3:makoto@yoshimi 15:21:48/060717(~)> 
この方法を使えば、いくつもの同じ型の機械用に disk を高速に写せるかな。 /dev/sd0a (/) と /dev/sd0g (/usr) は fsck -n で問題なし。しかし:
ttyp3:makoto@yoshimi 15:51:20/060717(~)> sudo fsck /dev/sd0e
** /dev/rsd0e
BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE
/dev/rsd0e: LABEL DOES NOT CONTAIN FILE SYSTEM PARAMETERS
ttyp3:makoto@yoshimi 15:51:36/060717(~)> 

findblk を使う:

ふかうみさんに教わって findblk を使って見る。 findblk は相対 block number を使うということで 263296 は disklabel で表示される /dev/sd0a の中の
263296 - 67080 = 196216
を使う。
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:    409600     67080     4.2BSD      0     0     0  # (Cyl.     66*-    472*)
 b:   1024000    476680       swap                     # (Cyl.    472*-   1488*)
 c:  39070080         0     unused      0     0        # (Cyl.      0 -  38759)
 d:     65536      1544    unknown                     # (Cyl.      1*-     66*)
 e:  33473400   5596680     4.2BSD      0     0     0  # (Cyl.   5552*-  38759)
 g:   4096000   1500680     4.2BSD      0     0     0  # (Cyl.   1488*-   5552*)
ttyp3:makoto@yoshimi 16:06:22/060717(~)> 
ttyp1:makoto@yoshimi 16:02:15/060717(...net/pchar)> sudo fsdb -n -f /dev/sd0a
/dev/sd0a is not a character device
CONTINUE? yes

** /dev/sd0a (NO WRITE)
Editing file system `/dev/sd0a'
Last Mounted on /mnt
current inode: directory
I=2 MODE=40755 SIZE=1024
        MTIME=Jul 13 20:45:54 2006 [990000000 nsec]
        CTIME=Jul 13 20:45:54 2006 [990000000 nsec]
        ATIME=Jul 17 15:29:25 2006 [125566000 nsec]
OWNER=root GRP=wheel LINKCNT=23 FLAGS=0x0 BLKCNT=0x2 GEN=0x0
fsdb (inum: 2)> findblk /dev/sd0a 512 196216
block 512: inode block (1792-1856)
fsdb (inum: 2)> quit
ttyp1:makoto@yoshimi 16:03:56/060717(/mnt)> sudo find . -inum 1792
./var/db/pkg/libexif-0.6.12/+REQUIRED_BY
ttyp1:makoto@yoshimi 16:04:01/060717(/mnt)> sudo find . -inum 1793
./var/db/pkg/librsvg2-2.9.5/+BUILD_VERSION
ttyp1:makoto@yoshimi 16:04:04/060717(/mnt)> sudo find . -inum 1794
./var/db/pkg/librsvg2-2.9.5/+BUILD_INFO
ttyp1:makoto@yoshimi 16:04:06/060717(/mnt)> sudo find . -inum 1794


2006年07月16日() 旧暦 [n年日記] [更新:"2006/07/16 10:35:07"]

#1 [機械] Let's Note R1 の復活領域

実は、いま手元には CF-R1 が三台ある。

購入時期価格DiskMemoryOS使用目的等復活領域
12002/10140,00060G128M
(以前現用)なし
22006/0159,80020G256MNetBSD 3.99.15現用?
32006/0739,00020G256MWin XP家人用
1 をずうっと Fedora Core 1 とか NetBSD 3.99.5 等で使って来た が、ちょうど発表に使うというような時に何だか具合が悪くなって、 これではちょっと困るということで 2 を DOV/paradice で入手し、 現在はこれを現用している。

で 2. は、かなり急いで設定したのは事実だったのだが、自分では 全て、消して NetBSD を入れたつもりでいた。ところが、きょう、何げ なく fdisk で見ると、何だかそのまま残っているような気がする。

ttyp2:root@lets  9:51:57/060716(~)# fdisk wd0
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 38760, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 39070080

BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 39070080

Partition table:
0: NetBSD (sysid 169)
    bootmenu: NetBSD
    start 63, size 32901057 (16065 MB, Cyls 0-2048), Active
1: <UNUSED>
2: OS/2 hidden C: drive (sysid 132)
   start 32917185, size 6152895 (3004 MB, Cyls 2049-2432)
3: <UNUSED>
Bootselector disabled.
ttyp2:root@lets  9:52:01/060716(~)# 
そうそう、何故ここで fdisk 操作を行なったかというと
  1. sysid の一覧ってどこかに書いてあるかな ?
  2. sysid 169 hidden で、日本語だけで検索すると、 某氏の日記 が見つかる。(ちなみに何故か sysid hidden 169 だと、そこには行かない ?)
  3. その中を見ていると、fdisk を操作している時に sysid の一覧が表示される らしいので、僕もやって見ようとして、上のことを発見
という訳。自分的には、かなりの衝撃。

実は fdisk -l とやるだけで、一覧を表示する:

ttyp2:root@lets  10:14:02/060716(~)# fdisk -l
000 <UNUSED>
001 Primary DOS with 12 bit FAT
002 XENIX / filesystem
003 XENIX /usr filesystem
004 Primary DOS with 16 bit FAT <32M
005 Extended partition
006 Primary 'big' DOS, 16-bit FAT (> 32MB)
007 NTFS, OS/2 HPFS, QNX2 or Advanced UNIX
008 AIX filesystem or OS/2 (thru v1.3) or DELL multiple drives or Commodore DOS or SplitDrive
009 AIX boot partition or Coherent
010 OS/2 Boot Manager or Coherent swap or OPUS
011 Primary DOS with 32 bit FAT
012 Primary DOS with 32 bit FAT - LBA
013 Type 7??? - LBA
014 DOS (16-bit FAT) - LBA
015 Ext. partition - LBA
016 OPUS
017 OS/2 BM: hidden DOS 12-bit FAT
  (以下略)
続き(全文)。 この中の
015 Ext. partition - LBA
というのが特殊で、 これを設定しておくと、その中をまた更に区画分け出来る (拡張区画という)。 ただし一つの区画にしか設定出来ない、 というものらしい。


2006年07月15日() 旧暦 [n年日記] [更新:"2006/07/15 23:01:24"]

#1 [NetBSD] TsubaiBSD build 20060702 完走

TNFDATE=20060702-UTC
DATE=060702


2006年07月14日(金) 旧暦 [n年日記] [更新:"2006/07/14 21:24:23"]

#1 [FreeBSD] ndis driver ってどうなっているのかなと

cd /tmp
rsync -a rsync://rsync.allbsd.org/freebsd-cvs/src/sys/dev/if_ndis/  if_ndis/
これで手元に持って来れた。allbsd.org and hrs 有難し (実はこれは cvs repository だった)。


2006年07月08日() 旧暦 [n年日記] [更新:"2006/07/08 19:57:56"]

#1 [Calcio] さあ花道は整った

ついにジダンの最後の舞台が提供された。 このままで行けば、我々はフランスの勝敗に関係なく、ジダンのラストダンスを楽しめそうだ。
いや本当、いい科白です。全くもってその通り。


2006年07月07日(金) 旧暦 [n年日記] [更新:"2006/07/07 12:41:18"]

#1 [Emacs] jaspace is coming back

jaspace を使った TAB, 改行文字の表示 何故か以前使えないと思っていた jaspace.el が戻って来た。 次のような設定を ~/.emacs に書いている。(jaspace.el 1.1 と(ちょっと古くて) 2005/10/14 日頃の Emacs-22.0.50)
; Use jascace.pl                                                                  
; ref: http://homepage3.nifty.com/satomii/software/jaspace.el                     
;; うまく動く 20060706  ( jaspace 1.1)
;; 色は emacs -f list-colors-display で確認可
(if t ;  この t  を nil に変えれば、progn 内は全て無効
    (progn
      (setq global-font-lock-mode t)
      (setq jaspace-alternate-eol-string "↓\n")
      (setq jaspace-highlight-tabs ?^)
      (defface jaspace-highlight-tab-face
;	'((t (:background "white smoke"))) nil) ; 実はこの色は外縁(fringe)と同じ
	'((t (:background "azure"))) nil)       ; 
      (require 'jaspace)
      ))
いまは、上のうち一行を次のように変更して TAB のある点を ^ でなく空白に変更
      (setq jaspace-highlight-tabs ? )
fundamental-mode とか systemc-mode だと効いていない。編集を開始した後で M-x jaspace-mode RET としても、上記設定は効かず、単に行末に ↓が表示されるだけ (?)


2006年07月05日(水) 旧暦 [n年日記] [更新:"2006/07/05 09:24:09"]

#1 [Software] afpd said cannot open CNID or invalid CNID backend for /home/hoge/root: cdb

at around Jul 4 01:20:37, I've seen the console is saying:
afpd[14999]: cnid_open: dbenv->open (rw) of /home/hoge/root/.AppleDB failed: Resource temporarily unavailable
afpd[14999]: cnid_open: dbenv->open of /home/hoge/root/.AppleDB failed: Resource temporarily unavailable
afpd[14999]: Cannot open CNID db at [/home/hoge/root].
afpd[14999]: Fatal error: cannot open CNID or invalid CNID backend for /home/hoge/root: cdb

afpd[22229]: cnid_open: dbenv->open (rw) of /home/hoge/root/.AppleDB failed: Resource temporarily unavailable
afpd[22229]: cnid_open: dbenv->open of /home/hoge/root/.AppleDB failed: Resource temporarily unavailable
afpd[22229]: Cannot open CNID db at [/home/hoge/root].
afpd[22229]: Fatal error: cannot open CNID or invalid CNID backend for /home/hoge/root: cdb

afpd[1514]: cnid_open: dbenv->open (rw) of /home/hoge/root/.AppleDB failed: Resource temporarily unavailable
afpd[1514]: cnid_open: dbenv->open of /home/hoge/root/.AppleDB failed: Resource temporarily unavailable
afpd[1514]: Cannot open CNID db at [/home/hoge/root].
afpd[1514]: Fatal error: cannot open CNID or invalid CNID backend for /home/hoge/root: cdb
I remember followin operation fixed the problem.
rm -rf /home/hoge/root/.AppleDB
( I don't know what happened and why.)

The version is:

netatalk-2.0.3nb1 Netatalk appletalk file and print services



2006年07月03日(月) 旧暦 [n年日記] [更新:"2006/07/03 20:31:36"]

#1 [MTA] sendmail で virtusertable を使う

一つの機械で、いくつもの別名を語っている場合、 何も考えないと、例えば
abuse@hostA.example.com
abuse@hostB.example.com
は、一つの宛先としてまとめられてしまう。しかし virtusertable という設定を使えば、それを分けることが可能になる。
  1. /etc/mail/sendmail.mc に次の文を入れるか、あるいは入っていることを確認
    FEATURE(virtusertable,DATABASE_MAP_TYPE` -o 'MAIL_SETTINGS_DIR`virtusertable')
    
    sendmail.mc は、ここに置いてある必要はないが、話の例えとして、この位置 にしている。もし新規に追加した場合には (例えば)
    cf /usr/pkgsrc/mail/sendmail/work/sendmail-8.13.3/cf/cf
    ./Build sendmail.cf 
    
    などとする。
  2. virtusertable を用意する。これはどこに置いてあってもいい。例えば次のように書く
    abuse@hostA.example.com  root@hostA.example.com 
    abuse@hostB.example.com  root@hostB.example.com 
    
  3. makemap を使って上の記述をデータべース化する ( virtusertable -> virtusertable.db)
    makemap hash virtusertable < 上の内容が書いてある譜
    
  4. 上で作った virtusertable.db を /etc/mail に写しておく
  5. /etc/mail/local-domains に
    hostA.example.com 
    hostB.example.com 
    
    を追加するか、入っていることを確認する
  6. sendmail を再起動する
    sudo /etc/rc.d/sendmail restart
    
    virtusertable.db を変更した(だけの)場合には、再起動の必要はない。
ここに紹介した使い方は、ほんの一例で、実際にはもっと色々な記述が可能で、それは 先ほども触れた次の URL を見て下さい。



最近の日記
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)
以上、21 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)