Emacs-20.3.6 +Canna +Wnn +Sj3

 tar zxfB /pub/Mule/emacs-20.3.6.tar.gz
 tar zxfB /pub/Mule/leim-20.3.6.tar.gz
 cd emacs-20.3.6/
 patch -s -p0 < 20.3.6-BOOT_TIME.patch

 setenv FTP /home/ftp/pub/20.3.5+c+w+s-not-documented
 zcat $FTP/20.3.6+c+w+s-19990302a.gz | patch -s -p1
 (いまなら↓ )
 zcat $FTP/20.3.6+c+w+s-19990303.gz | patch -s -p1 
find . -name \*.orig | perl -nle unlink  # しなくてもいい
 
 cd ../
 mkdir emacs-20.3.6-work
 cd    emacs-20.3.6-work

../emacs-20.3.6/configure \
--with-wnn4 \
--with-wnn-includes=/usr/local/include/wnn \
--with-wnn-libraries=/usr/local/lib  \
--with-canna \
--with-canna-includes=/usr/local/canna/include \
--with-canna-libraries=/usr/lib  \
--with-sj3 \
--with-x \
--with-x-toolkit \
--with-gcc \
--with-wnn4 

gcc -c  -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/usr/src/making/emacs-20.3.6/src       -I/usr/X11R6/include      -I/usr/local/include/wnn  -I/usr/local/canna/include  -g -O /usr/src/making/emacs-20.3.6/src/coding.c
gcc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1
と出たが、もう一度 make とすると先に行く


gcc -c  -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/usr/src/making/emacs-20.3.6/src       -I/usr/X11R6/include      -I/usr/local/include/wnn  -I/usr/local/canna/include  -g -O /usr/src/making/emacs-20.3.6/src/filelock.c
/usr/src/making/emacs-20.3.6/src/filelock.c: In function `get_boot_time_1':
/usr/src/making/emacs-20.3.6/src/filelock.c:208: structure has no member named `ut_type'
/usr/src/making/emacs-20.3.6/src/filelock.c:208: `BOOT_TIME' undeclared (first use in this function)
/usr/src/making/emacs-20.3.6/src/filelock.c:208: (Each undeclared identifier is reported only once
/usr/src/making/emacs-20.3.6/src/filelock.c:208: for each function it appears in.)
/usr/src/making/emacs-20.3.6/src/filelock.c:209: warning: assignment makes pointer from integer without a cast
/usr/src/making/emacs-20.3.6/src/filelock.c:217: warning: assignment makes pointer from integer without a cast
*** Error code 1

次のようにしておくと src/emacs で起動して全ての機能が使える。

root@harry  23:01:06/990228(~)# cd /usr/local/share/emacs/20.3.6/
root@harry  23:01:15/990228(...emacs/20.3.6)# ln -s ../20.3.5/site-lisp .