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

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

2004年06月20日() 旧暦 [n年日記]

#1 [NetBSD][pkgsrc] named がまた落ちていた

ttyp2:foo@hoge 5:52:15/040620(...bind9/work)> sudo gdb /etc/named/named.core
GNU gdb 5.0nb1
...(omitted)... This GDB was configured as "powerpc--netbsd"..."/etc/named/named.core": not in executable format: File format not recognized

(gdb) quit
ttyp2:foo@hoge 5:52:23/040620(...bind9/work)> ls -l /etc/named/named.core
-rw------- 1 root wheel 8880128 Jun 10 00:12 /etc/named/named.core
ttyp2:foo@hoge 5:52:30/040620(...bind9/work)> sudo file !$
sudo file /etc/named/named.core
/etc/named/named.core: ELF 32-bit MSB core file, PowerPC or cisco 4500, version 1 (SYSV), NetBSD-style, from 'named' (signal 6)
ttyp2:foo@hoge 5:52:44/040620(...bind9/work)>
gdb が古すぎる ?

#2 [] 自分でも情報画面を作る



2004年06月19日() 旧暦 [n年日記]

#1 [Emacs] autolookup -> eldoc



2004年06月18日(金) 旧暦 [n年日記]

#1 [pkgsrc] dvi2ps, rml が見つからない

dvi2ps -d hoge.dvi > /dev/null
...
trying to access /vf/
trying to access /vf/ptex/
trying to access /vf/a2mor2/
trying to access /tfm/dvips/
trying to access /tfm/jis/ptex/
trying to access /tfm/jis/ptex/
trying to access /usr/pkg/share/{texmf.local,texmf}/fonts/vf/
trying to access /usr/pkg/share/{texmf.local,texmf}/fonts/vf/ptex/
trying to access /usr/pkg/share/{texmf.local,texmf}/fonts/vf/a2mor2/
trying to access /usr/pkg/share/{texmf.local,texmf}/fonts/tfm/jis/ptex/
trying to access /usr/pkg/share/{texmf.local,texmf}/fonts/pk/{canonex,modeless}//
kpathsea: Running mktexpk --mfmode canonex --bdpi 600 --mag 0+520/600 --dpi 520 rml
mktexpk: don't know how to create bitmap font for rml.
一応次のようにあるらしいが到達していない
ttypd:makoto@harry 7:31:30/040618(~)> find /usr/pkg/share/{texmf.local,texmf}/fonts/tfm -name rml.\*
/usr/pkg/share/texmf.local/fonts/tfm/jis/dvips/rml.tfm
/usr/pkg/share/texmf.local/fonts/tfm/nmin-ngoth/dvips/rml.tfm
/usr/pkg/share/texmf.local/fonts/tfm/ptex/rml.tfm
/usr/pkg/share/texmf.local/fonts/tfm/standard/dvips/rml.tfm
次のように追加したら出力されるようになった。
--- fontsk/bikan-mor2-keep	2004-06-09 22:10:49.000000000 +0900
+++ fontsk/bikan-mor2	2004-06-18 11:21:58.000000000 +0900
@@ -1,3 +1,4 @@
+font	jfm	* 0	$tmf/tfm/ptex/
 font	jfm	* 0	$tmf/tfm/jis/ptex/
 map	rml	JSNR	Ryumin-Light-H
 map	gbm	JSNR	GothicBBB-Medium-H

#2 [] アマゾン で 3,346 位

(きょうだけ?)


2004年06月17日(木) 旧暦 [n年日記]

#1 [機械] ルータ再起動

pppoe の先がつながっていなかった。 良く分らないのと、時間がなかったので、再起動したが、 回復した。 (もしかしていつものように工事後の問題 ?)

#2 [Emacs][MacOSX] ことえりのメニューで落ちない

念のため、
   Sticky Date:         2004.05.20.15.00.00
つまり 2004-05-21 で取出して emacs-im-patch を当てたもの は落ちなかった。 どう組立てたものが落ちるのか一寸不明。

#3 [] Emacs らくらく入門 正誤表

正誤表 が出来た。数が多くて申訳けありません。6/18日現在の正誤表の正誤表:
 p.413 B.3.4 mu-cite                                                                                                                  
 ┌─┬─────────────────┐                                                                                            
 │誤│http://www.jpl.org/pub/elisp/mu/  │                                                                                            
 ├─┼─────────────────┤                                                                                            
 │正│http://www.jpl.org/elisp/mu/      │                                                                                            
 └─┴─────────────────┘                                                                                            
この中にある elisp という字は二つとも 
elisp
  ↓
elips

新横浜教文堂 に 30 冊以上:

平積になっているのを発見。すぐ近くのビックカメラには一冊もないのに。 他に(知合いからの情報で)
石丸電気本店       平積  5冊
LAOXコンピュータ館 平積 10冊
三省堂本店         平積  8冊


2004年06月16日(水) 旧暦 [n年日記]

#1 [Emacs][MacOSX] ことえり、メニュー入力で落ちる

gdb /Applications/Emacs.app/Contents/MacOS/Emacs
(gdb) run
Starting program: /Applications/Emacs.app/Contents/MacOS/Emacs
Reading symbols for shared libraries ................................................... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x001456b0 in XTread_socket (sd=0, expected=0, hold_quit=0xbfffcc70) at macterm.c:8410
8410 macterm.c: No such file or directory.
in macterm.c
(gdb) where
#0 0x001456b0 in XTread_socket (sd=0, expected=0, hold_quit=0xbfffcc70) at macterm.c:8410
#1 0x00088a40 in read_avail_input (expected=0) at keyboard.c:6636
#2 0x00088c38 in handle_async_input () at keyboard.c:6778
#3 0x00088c9c in input_available_signal (signo=0) at keyboard.c:6817
#4 <signal handler called>
#5 0x900429ac in kill ()
#6 0x00124aa8 in wait_reading_process_input (time_limit=30, microsecs=0, read_kbd=3560664, do_display=1) at process.c:4430
#7 0x00011ca0 in sit_for (sec=10791728, usec=536870912, reading=3555604, display=1, initial_display=3559128) at dispnew.c:6407
#8 0x000839fc in read_char (commandflag=1, nmaps=3, maps=0xbfffefa0, prev_event=58721281, used_mouse_menu=0xbffff0a4) at keyboard.c:2710
#9 0x0008be14 in read_key_sequence (keybuf=0x1e, bufsize=3572580, prompt=0, dont_downcase_last=Cannot access memory at address 0x1d8
) at keyboard.c:8781
#10 0x00080ff4 in command_loop_1 () at keyboard.c:1489
#11 0x000e9734 in internal_condition_case (bfun=0x80acc <command_loop_1>, handlers=58766377, hfun=0x80438 <cmd_error>) at eval.c:1333
#12 0x0008086c in command_loop_2 () at keyboard.c:1271
#13 0x000e9190 in internal_catch (tag=0, func=0x8082c <command_loop_2>, arg=58721281) at eval.c:1094
#14 0x000807c4 in command_loop () at keyboard.c:1250
#15 0x0008019c in recursive_edit_1 () at keyboard.c:961
#16 0x00080334 in Frecursive_edit () at keyboard.c:1022
#17 0x0007ee10 in main (argc=0, argv=0xbffffe2c) at emacs.c:1693
(gdb)
foo:~ hoge$

XTread_socket の中の note_mouse_movement の時:

に、その先のアドレスは EXC_BAD_ACCESS, そんなメモリアドレスはない とおこられているような。
8406:    SetPortWindowPort (window_ptr);
8407:    GlobalToLocal (&mouse_loc);
8408:    /* activateEvt counts as mouse movement,                                                                    
8409:       so update things that depend on mouse position.  */
8410:    note_mouse_movement (mac_window_to_frame (window_ptr),
8411:                         &mouse_loc);
8412:  }

note_mouse_movement というのは:

*event で mouse が動いたことが分る。もし以前と違う字(glyph)の上にいたら、 Emacs の主処理側に mouse が動いたことを知らせる。 もし、そうでなかったら、次の mouse 移動まで待つ(?)

:

一方 cvs は ? (040520.gz patch 後):

Loading cus-face (compiled; note, source file is newer)...
Loading faces (compiled; note, source file is newer)...
Symbol's function definition is void: tty-supports-face-attributes-p
make[1]: *** [emacs] Error 255


2004年06月15日(火) 旧暦 [n年日記]

#1 [pkgsrc] vfxdvi

ttyp1:makoto@harry  8:27:45/040615(~/cvs-work/)> vfxdvi hoge.dvi 
Unexpected error in "read_ZEIT_char()"
ja-kochi-ttfonts-20030118 を入直したら直る という話があった(が、今ではちょっと違うような気がする)。 自分の日記の 11/12 日 にも書いてある(が解決方法は ?)


2004年06月14日(月) 旧暦 [n年日記]

#1 [perl] きょうの一行 perl

(大文字の譜名を小文字にする)。 p173 参照 emacs で
%m 
\.JPG
%l
\!
(機械の入替後) Summary は表示するが、選んだ後で、 読めるメールと、読めないメールがある。 (機械の入替とは、/home 以外をすっかり入替えてしまったということ)。
byte-code(".... " [err wl-message-buffer-cache-delete signal] 3) wl-message-buffer-display([elmo-imap4-folder [0 0 0 0 0 0 0] imap4 "%inbox" "%" "/home/makoto/.elmo/imap/localhost/makoto/inbox" ((... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (... ... ... ... ... ... ... ... ...) ([0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 <873RND_LC_CHAR\[1-5\]716febv$50560x8$53ek8ei01@cog> 0 <r183-he9i$0$4$--$99q-6meh26-2n@qtf\.f\.xoi\.9604> 0 0 0 0 0 0 0 0 0 0 <44548810\.CD303yflPJmyf29921021@sherwood4\.loci46christian\.com> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] . [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...])) nil t t t nil nil "makoto" clear "localhost" 143 nil "inbox"] 7454 mime nil)
buffer-cache を消せばいいのかな。
この場合、~/.elmo/cache を消してしまう ?

Cannot open load file: elmo-shimbun:

.folders から shimbun 関係を除いたら:

動くようになった。emacs-w3m-1.3.6 から 1.4 にした時と同じ ?

#2 [pkgsrc] ImageMagick -> textproc/libxml2

./.libs/libxml2.so: undefined reference to `__fpclassifyd'
./.libs/libxml2.so: undefined reference to `__signbitd'
looks like supposed to be in libc ? source-changes 10/28/2003

#3 perl58

の方は出来ないので perl 5.6.1nb1 を入れた

#4 emacs-w3m

emacs-w3m-1.4 から w3m-0.5 を呼ぶと:
ucs_conv=1: bad option
w3m version w3m/0.5, options lang=en,m17n,color,ansi-color,mouse,menu,cookie,ssl,ssl-verify,external-uri-loader,w3mmailer,nntp,ipv6,alarm,mark
usage: w3m [options] [URL or filename]
using w3m-0.4-m17n-20030224 instead:

#5 [NetBSD][macppc] きのうからの作業をまとめて

おいた (特に NetBSD/macppc 関係)。 NetBSD/macppc 20040128
 9:                 HFS ofwboot           16384 @ 1544     (  8.0M)
...
Command (? for help): d 9
Command (? for help): C 9p
Length in blocks: 16384
Name of partition: ofwboot
Type of partition: Apple_HFS
Command (? for help): P
...
Partition map (with 512 byte blocks) on '/dev/wd0c'
 #:                type name              length   base     ( size )
 9:           Apple_HFS ofwboot            16384 @ 1544     (  8.0M)

USETOOLS=no しておけば、toolchain は使わない ?:

make USETOOLS=no install
namazu を入れるのを忘れていた。
ls: /usr/pkg/lib/libnmz.so.6: No such file or directory
ls: /usr/pkg/lib/libnmz.so.6.0: No such file or directory
ls: /usr/pkg/share/locale/es/LC_MESSAGES/namazu.mo: No such file or directory
ls: /usr/pkg/share/locale/fr/LC_MESSAGES/namazu.mo: No such file or directory
ls: /usr/pkg/share/locale/ja/LC_MESSAGES/namazu.mo: No such file or directory
ls: /usr/pkg/share/locale/ja_JP.SJIS/LC_MESSAGES/namazu.mo: No such file or directory
===> Registering installation for namazu-2.0.13
pkg_create: can't stat `/usr/pkg/lib/libnmz.so.6'
pkg_create: can't stat `/usr/pkg/lib/libnmz.so.6.0'
pkg_create: can't stat `/usr/pkg/share/locale/es/LC_MESSAGES/namazu.mo'
pkg_create: can't stat `/usr/pkg/share/locale/fr/LC_MESSAGES/namazu.mo'
pkg_create: can't stat `/usr/pkg/share/locale/ja/LC_MESSAGES/namazu.mo'
pkg_create: can't stat `/usr/pkg/share/locale/ja_JP.SJIS/LC_MESSAGES/namazu.mo'
namazu-2.0.13 requires installed package p5-File-MMagic-1.22
namazu-2.0.13 requires installed package p5-Text-ChaSen-1.03nb2
namazu-2.0.13 requires installed package p5-Text-Kakasi-1.04
namazu-2.0.13 requires installed package p5-nkf-2.04
namazu-2.0.13 requires installed package perl-5.6.1nb10
ttyp1:makoto@harry  15:12:26/040614(...personal-pkgsrc/namazu-mef)> 

以前の disk から、一式写したら 4 時間:

ttyp0:makoto@harry  12:44:33/040614(~)> sudo rsync -a /mnt/20040610/ /export/20040610/
ttyp0:makoto@harry  16:46:22/040614(~)> du -sk  /mnt/20040610/ /export/20040610/
(USB の disk なので遅いのだろう) 初めから作った方が早かった気がする。

#6 [Emacs] Carbon Emacs パッケージ



2004年06月13日() 旧暦 [n年日記]

#1 [NetBSD][macppc] gcc-3.4.0 を作って見る

   214  21:10   tar zxf /e/u/j/distfiles/gcc-3.4.0.tar.bz2
   219  21:29   patch -s -p0 < /e/u/j/nandra/gcc-3.4.0.diff
   221  21:29   cd gcc-3.4.0/
   223  21:30   ./configure
   266  23:10   gmake
ttyp2:makoto@harry  0:52:21/040613(...local-src/gcc-3.4.0)> 
   272  9:23    mkdir /export/dest-gcc
   273  9:23    setenv DESTDIR /export/dest-gcc
   276  9:24    sudo gmake install
   278  9:35    cd /export/dest-gcc/usr/local/
   283  9:36    tar zcf /tmp/gcc-3.4.0-macppc.tar.gz .
実行は 1:40 ?
という訳で gcc-3.4.0-macppc.tar.gz

#2 [機械] /usr 区画がおかしい

ので disk を交換

20040128ts 版に入替:

X11 が古いのか、次のようになってしまう。 (X は別に入れている)
===> Configuring for Xaw3d-1.5
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/pkg/lib/X11/config -I/usr/X11R6/lib/X11/config
In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:222,
                 from Imakefile.c:8:
/usr/X11R6/lib/X11/config/Imake.rules:1593: unterminated argument list invoking macro "Concat"
/usr/X11R6/bin/imake: Exit code 1.
  Stop.
*** Error code 1
?

fwohci:

Jun 13 21:55:21 harry /netbsd: fwnode at fwohci0 not configured

以前の disk は usb でつないでいる:

/netbsd: you should be able to recover with fsck_ffs -b 32 -c 4
/netbsd: See the file src/UPDATING or
/netbsd: for more details
これが出ている。
23:55 何とか復活。

(実はまだメールが読めない):

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
signal(wrong-type-argument (stringp nil))
byte-code(....[demo-buf obj buffer-live-p kill-buffer signal] 3)
wl(nil)
call-interactively(wl)
.wl も .folders も名前を変えて emacs -q で起動すると、問題がない。
.folders だけ名前を変えて、.wl は戻して、emacs で起動しても問題なし。
.folders 問題か。folders の中の漢字コードが、前と違う ? 以前は euc-japan で、今は jis のように見える。
emacs は 21.3

/etc/passwd, /etc/master.passwd を他から写したら:

pwd_mkdb が必要 ?
pwd_mkdb /etc/master.passwd
こうかなぁ。


2004年06月12日() 旧暦 [n年日記]

#1 [build] apache-2.0.49

Fedora Core 1 に Apache-2.0.49 を入れて見る。 rpm の依存関係を調べるのが面倒だったので、手で入れてみる。
 1022  tar zxf ../distfiles/expat-1.95.7.tar.gz 
 1023  cd expat-1.95.7/
 1025  ./configure
 1026  make
 1027  sudo make install
 1028  cd ../
 1030  tar zxf ../distfiles/openssl-0.9.6m.tar.gz 
 1031  cd openssl-0.9.6m/
 1035  ./config
 1036  make
 1037  make install
 1038  sudo make install
 1039  cd ../
 1040  tar zxf ../distfiles/httpd-2.0.49.tar.gz 
 1041  cd httpd-2.0.49/
 1042  ./configure
 1043  time make
 1045  sudo  make install
 1048  sudo  /usr/local/apache2/bin/apachectl start
動いた。


2004年06月11日(金) 旧暦 [n年日記]

#1 [XFree86] ちょっと gdb を使って:

Xserver/hw/xfree86/os-support/bsd/bsd_init.c:
の次のところに来た。
case PCVT:
    /*
     * First activate the #1 VT.  This is a hack to allow a server
     * to be started while another one is active.  There should be
     * a better way.
     */
    if (initialVT != 1) {
(==) Using config file: "/etc/X11/XF86Config"

Breakpoint 1, xf86OpenConsole () at bsd_init.c:149
149     {
(gdb) n
xf86OpenConsole () at bsd_init.c:158
158         if (serverGeneration == 1)
(gdb) n
161             if (geteuid() != 0)
(gdb) n
166             if (!KeepTty)
(gdb) n
173                 setpgrp(0, getpid());
(gdb) n
174                 if ((i = open("/dev/tty",O_RDWR)) >= 0)
(gdb) n
176                     ioctl(i,TIOCNOTTY,(char *)0);
(gdb) n
177                     close(i);
(gdb) n
182             for (driver = xf86ConsTab; *driver; driver++)
(gdb) n
184                 if ((fd = (*driver)()) >= 0)
(gdb) n
210             switch (xf86Info.consType)
(gdb) n
207             xf86Info.consoleFd = fd;
(gdb) n
208             xf86Info.screenFd = fd;
(gdb) n
210             switch (xf86Info.consType)
(gdb) n
250                 if (initialVT != 1) {
(gdb) n
252                     if (ioctl(xf86Info.consoleFd, VT_ACTIVATE, 1) != 0)
(gdb) n
257                     sleep(1);
(gdb) n
264                 SYSCALL(result =
(gdb) n
266                 if (result != 0)
(gdb) n
270                 SYSCALL(result =
(gdb) n
272                 if (result != 0)
(gdb) n
277                 signal(SIGUSR1, xf86VTRequest);
(gdb) n
283                 if (ioctl(xf86Info.consoleFd, VT_SETMODE, &vtmode) < 0) 
(gdb) n
279                 vtmode.mode = VT_PROCESS;
(gdb) n
280                 vtmode.relsig = SIGUSR1;
(gdb) n
281                 vtmode.acqsig = SIGUSR1;
(gdb) n
282                 vtmode.frsig = SIGUSR1;
(gdb) n
283                 if (ioctl(xf86Info.consoleFd, VT_SETMODE, &vtmode) < 0) 
(gdb) n
294                 if (ioctl(xf86Info.consoleFd, KDSETMODE, KD_GRAPHICS) < 0)
(gdb) n
322     }
(gdb) n
0x0806be96 in InitOutput ()
(gdb) 
-g を付けたのは bsd_init.c だけなので、行先で symbol table 無 になってしまっている。全部に付けて作り直せばいいのかな。はて
> vi /export/xc-4.3.99.902/Imakefile 
> grep -i cdebug Imakefile 
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS) -g"
> time make World > & CFLAGS-g-2.log
4585.616u 493.450s 1:28:18.75 95.8%     0+0k 4932+134883io 15441pf+79w
> 
(gdb) file /export/xc-4.3.99.902/programs/Xserver/XFree86
Reading symbols from /export/xc-4.3.99.902/programs/Xserver/XFree86...done.
(gdb) 

#2 [BUG] ChiBUG 2004 勉強会

参加者・発表者が少ないなぁ。飛入歓迎。 僕の本 の 紹介 もあるのだけれど。

#3 [] ヨドバシカメラに 2 冊

あるのを確認(千葉)

横浜有隣堂では 10冊:




最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、10 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)