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

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

2003年03月23日() 旧暦 [n年日記]

#1 [Emacs] tcode tc-2.3pre20.tar.gz

tar zxf /a/j/distfiles/tc-2.3pre20.tar.gz
cd tc-2.3pre20/
./configure --with-lispdir=/usr/pkg/share/emacs/site-lisp/tc-2.3pre20
make install
個人的に変更しているもの があるが、それをどこに反映するのか 分らなくなっている。
  1. bushu.dic
  2. tc-tbl.el
    "快否歯筆里■皿輯蓄戻浴秀糸春幸記朝知ワ送限研労統役セ運ツ特谷ァ導認健尾序振練念働"  
                   
    "快否歯筆里■皿濱蓄戻浴秀糸春幸記朝知ワ送限研労統役セ運ツ特谷ァ導認健尾序振練念働"
    
右 + 矢 = 知 ?
pre1 に戻したが、

Can't activate input method `japanese':

activate-input-method: Can't activate input method `japanese' [2 times]

M-x set-input-method RET japanese-T-code RET
Loading tc-sysdep (source)...done
Loading tc...done
Loading tc-tbl...done
Loading advice...done
Tコードモードでは「?」でヘルプが表示されます。

"Recursive load suspected":

error: "Recursive load suspected",
"/usr/pkg/share/emacs/site-lisp/tc-2.3pre1/tc.elc",
"/usr/pkg/share/emacs/site-lisp/tc-2.3pre1/tc-bushu.elc",
"/usr/pkg/share/emacs/site-lisp/tc-2.3pre1/tc-setup.elc",
"/usr/pkg/share/emacs/site-lisp/tc-2.3pre1/tc.elc"

cat tc-site.el:

(defvar tcode-data-directory "/usr/local/share/tc/"
"see Info of tc.")
これは関係なさそう。

tc-setup.el の次の部分が関係ありそう:

68 (if (featurep 'tc-setup)
69     ()
70   ;; load configuration file
71   (load "tc-site")
72   (and tcode-init-file-name
73        (load tcode-init-file-name t))
tcode-init-file-name の中身は ~/.tc だったので、~/.tc の最後に
(provide 'tc-setup)
を付けておいたら、無限ループ読出はなくなった。

tc-2.3pre20 を改めて使うこととする:

doc/sample.tc -> ~/.tc の変更
部首合成は確かに、信じられないくらい速くなった。快適。

#2 [無題] じゃんぱら千葉店

が開店(3/07)とは知らなかった。 DOS/V パラダイスの隣らしい。

#3 [Web] apache-2.0.44

cgi-bin の FollowSymlinks がうまく行かない。 httpd-2.0.44/server/request.c の次のところで失敗している。
397     if (opts & OPT_SYM_LINKS) {
398         if ((res = apr_stat(&fi, d, lfi->valid & ~(APR_FINFO_NAME
399                                                  | APR_FINFO_LINK), p))
400                  != APR_SUCCESS) {
401             return HTTP_FORBIDDEN;
のは link 先を入れるのを忘れているだけだった... ので
(画面に表示される文字は、お客様向けだから、あまり真剣に考えては いけない。error_log の方の字を良く見ること...)

namazu を入れる:

cvs [checkout aborted]: cannot stat /var/lock/cvs: No such file or directory
# mkdir -p /var/lock/cvs # chown my_login /var/lock/cvs

kakasi で:

libkakasi.c:116: warning: no previous prototype for `digest_start_copy'
libkakasi.c:130: warning: no previous prototype for `put_separator'
libkakasi.c:147: warning: no previous prototype for `putchars'
libkakasi.c:157: warning: no previous prototype for `digest_out'
libkakasi.c:200: warning: no previous prototype for `digest'
libkakasi.c:263: warning: no previous prototype for `digest_shift'
libkakasi.c: In function `kakasi_do':
libkakasi.c:504: argument `str' doesn't match prototype
libkakasi.h:34: prototype declaration
libkakasi.c:508: warning: pointer targets in passing arg 1 of `setcharbuffer' differ in signedness
gmake[2]: *** [libkakasi.lo] Error 1
gmake[2]: Leaving directory `/export/pkgsrc/textproc/kakasi/work/kakasi-2.3.4/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/pkgsrc/textproc/kakasi/work/kakasi-2.3.4'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

patch-ad:

「NetBSD の方で unsigned にしているが、一か所、不充分だった」ような。

make install:

===> [Automatic ELF shared object handling]
ls: /usr/pkg/lib/libnmz.so.5: No such file or directory
ls: /usr/pkg/lib/libnmz.so.5.0: No such file or directory
===> Registering installation for namazu-2.0.12
pkg_create: can't stat `/usr/pkg/lib/libnmz.so.5'
pkg_create: can't stat `/usr/pkg/lib/libnmz.so.5.0'
namazu-2.0.12 requires installed package chasen-2.2.9
namazu-2.0.12 requires installed package chasen-base-2.2.9
namazu-2.0.12 requires installed package ipadic-2.4.4nb1
namazu-2.0.12 requires installed package kakasi-2.3.4nb1
namazu-2.0.12 requires installed package p5-File-MMagic-1.13
namazu-2.0.12 requires installed package p5-Text-ChaSen-1.03nb1
namazu-2.0.12 requires installed package p5-Text-Kakasi-1.04
namazu-2.0.12 requires installed package p5-nkf-1.7
namazu-2.0.12 requires installed package perl-5.6.1nb7
ttyp1:makoto@hoge 13:55:59/030323(...personal-pkgsrc/namazu-mef)>
これで何とか動いた。 Forbidden と言われても、実際には Not Found の場合もある、 ということかな。

#4 [hns] apache-1.x から apache-2.x に移行する場合

(何も考えないと) apache (httpd)の走っている権限が違うので、
Content-Type: text/html; charset=EUC-JP
Error Occured: can't write cache file, /home/makoto/diary/cache/2003/20030323.xhnf at lib/HNS/Diary.pm line 268.
のような文字が表示されてしまう。移行なら、変更してしまえば いいが、両方走らせる時には、工夫が要る。

#5 [Emacs] Wanderlust の問題(覚え)

2.10.0 を使っている
  • selecting deleted buffer 問題
  • draft buffer で C-c C-c で送った時に、 ( ~/.elmo/sendlog を見ると)送られているのに、画面が 変化せず、つい同じものをもう一通送ったりしてしまう。
  • (続き) この時は M-x kill-buffer (しかも「変更しているけれどいい ?」
    Buffer +draft/16 modified; kill anyway? (yes or no)
    に、「大丈夫いい」という必がある。
  • [ buffer つまり Namazu の検索で、最初に何かの理由 で失敗すると、次に(本来は検索結果があるのに)ない、 と言われてしまう。

#6 [Web] apachectl startssl

tty00:root@hoge 15:19:54/030323(...textproc/kakasi)# /usr/pkg/sbin/apachectl startssl
Syntax error on line 111 of /usr/pkg/etc/httpd/ssl.conf:
SSLCertificateFile: file '/usr/pkg/etc/httpd/ssl.crt/server.crt' does not exist or is empty



最近の日記
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)