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

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

2003年02月09日() 旧暦 [n年日記]

#1 [MacOSX] emacs -nw

で M-x toggle-input-method RET すると
Can't activate input method `japanese'
と言われる。 そうか、これは emcws ではないので、 tamago を入れるか、それともことえり ? 「MacOSX Emacs と日本語入力」の現状と課題 なんてどこかにないかな。

X11 を入れて見ようかと:

から download すると、 が出来る。 これを二度かちっとやると、 MacOS X の普通の installer になって、正常終了したが、はて、その次は ?
/usr/X11R6/bin/xterm Xt error: Can't open display:

X を起動して見る:

[makoto:~] makoto% /usr/X11R6/bin/X

XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
        If the server is older than 6-12 months, or if your hardware is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/FAQ)
Operating System: Darwin OSVendor
Using keymapping provided in /System/Library/Keyboards/USA.keymapping.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
PseudoramiX screen 0 added: 1280x854 @ (0,0).
PseudoramiX screen 0 placed at X11 coordinate (0,0).
[DRI] screen 0 installation complete
Screen 0 added: 1280x854 @ (0,0)

xterm を起動して見る(一応動くが変):

[makoto:~] makoto% setenv DISPLAY 0:0
[makoto:~] makoto% /usr/X11R6/bin/xterm
Failed to open input method
^Z
Suspended
[makoto:~] makoto% bg
[2]    /usr/X11R6/bin/xterm &
[makoto:~] makoto% /usr/X11R6/bin/twm
_XF86BigfontQueryFont: could not attach shm segment
kCGErrorIllegalArgument : CGSSetWindowClipShape: Invalid region
以前の .xinitrcがあると 良くないらしい。(でも、なかった)

kterm を作って見る( Imake.tmpl 無):

[makoto:~/src] makoto% tar zxf ../distfiles/kterm-6.2.0.tar.gz 
[makoto:~/src] makoto% cd kterm-6.2.0/
[makoto:~/src/kterm-6.2.0] makoto% mkmf -a
mkmf: Command not found.
[makoto:~/src/kterm-6.2.0] makoto% imake
Imakefile.c:13: Imake.tmpl: No such file or directory
imake: Exit code 1.
  Stop.
[makoto:~/src/kterm-6.2.0] makoto% which gcc
/usr/bin/gcc
[makoto:~/src/kterm-6.2.0] makoto% gcc --version
gcc (GCC) 3.1 20020420 (prerelease)
Copyright (C) 2002 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.

[makoto:~/src/kterm-6.2.0] makoto% 
そうか SDK が要るのかな。

上の mkmf は xmkmf の間違いだった:

起動方法が違っていた:

アプリケーションの中の X11 をたたけば良かった。

kterm で他の機械に入って、jis を cat:

emcwsすると、文字が読める。 xhost + (ただし + の位置が変) しておいて、 他の機械から client (emcws) を動かすと、よめるー。 (これはその機械から入力している)

Canna-36p1:

make[2]: *** No rule to make target `../../include/cannaconf.h', needed by `tempdic.o'. Stop. making all in lib/RKC...

とりあえず素の Emacs でも作っておくか:

と思って
ttyp6:makoto@makoto 21:40:47/030209(~/src/emacs-21.2.95)% ./configure
creating cache ./config.cache
checking host system type... powerpc-apple-darwin6.3
configure: error: Emacs hasn't been ported to `powerpc-apple-darwin6.3' systems.
Check `etc/MACHINES' for recognized configuration names.
--- configure.in-ooo    Sun Feb  9 21:42:25 2003
+++ configure.in        Sun Feb  9 21:43:56 2003
@@ -224,6 +224,12 @@
 machine='' opsys='' unported=no
 case "${canonical}" in
 
+  *-*-darwin* )
+    opsys=darwin
+    case "${canonical}" in
+      powerpc-apple-darwin*) machine=macppc ;;
+    esac
+  ;;
   ## NetBSD ports
   *-*-netbsd* )
     opsys=netbsd

autoconf:

ttyp6:makoto@makoto  21:43:56/030209(~/src/emacs-21.2.95)% autoconf
./aclocal.m4:30: error: m4_defn: undefined macro: _m4_divert_diversion
aclang.m4:1479: AC_PROG_CC_STDC is expanded from...
./aclocal.m4:30: the top level

ttyp6:makoto@makoto  21:44:27/030209(~/src/emacs-21.2.95)% autoconf --version
autoconf (GNU Autoconf) 2.52

don't use 2.52
You should really downgrade to autoconf 2.50 pkgsrc/devel/autoconf は 2.57 になっている。 2.57 にして見たが、直らない。2.50 にしても同じ。

もしかして Emacs-21.1 は組立済のものがある?:

(これは X11 用ではないと思うし、そういう問題でなくて 自分で組立てることが重要。例えば emcws とか)

#2 [MTA] sendmail-8.12.6nb1

  • /usr/pkgsrc/mail/sendmail で make package して見る
  • ln -fs /usr/pkg/etc/mailer.conf.sendmail /etc/mailer.conf
  • cf/cf
    ttyp0:makoto@hoge  17:48:21/030209(...cf/cf)> ls -l *bsd*
    -r--r--r--  1 makoto  wheel  39064 Aug 27 10:42 generic-bsd4.4.cf
    -rw-r--r--  1 makoto  wheel    869 Feb  7  1999 generic-bsd4.4.mc
    
    これって同じ ?
    divert(-1)
    #
    # ...
    divert(0)dnl
    VERSIONID(`$Id: generic-bsd4.4.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp $')
    OSTYPE(bsd4.4)dnl
    DOMAIN(generic)dnl
    MAILER(local)dnl
    MAILER(smtp)dnl
    
     mv generic-bsd4.4.cf generic-bsd4.4.cf-oo
     ./Build generic-bsd4.4.cf
     diff generic-bsd4.4.cf*
    
    して見たところ同じ。

#3 [Emacs] wl+namazu で何も表示されない

のは、Replace の問題だった。
namazu -l 'canna macosx' /namazu-index
のようにした時に
Mail/ml/hoge
のように表示される必要がある。



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

Count.cgi (since 2000/02/05)