2012年12月16日

Install emacs24, Mew6.5 and cmigemo20110227 on Debian squeeze with coLinux

make dir
clothoid@debian:~$ sudo aptitude remove emacs org-mode mew
clothoid@debian:~$ sudo aptitude install paco libncurses5-dev texinfo nkf
clothoid@debian:~$ mkdir app
clothoid@debian:~$ cd app

emacs24
clothoid@debian:~/app$ wget http://ftp.gnu.org/pub/gnu/emacs/emacs-24.2.tar.bz2
clothoid@debian:~/app$ tar xjvf emacs-24.2.tar.bz2
clothoid@debian:~/app$ cd emacs-24.2
clothoid@debian:~/app/emacs-24.2$ ./configure --without-x
clothoid@debian:~/app/emacs-24.2$ make bootstrap
clothoid@debian:~/app/emacs-24.2$ sudo paco -D make install
clothoid@debian:~/app/emacs-24.2$ cd ..

Mew
clothoid@debian:~/app$ git clone git://github.com/kazu-yamamoto/Mew.git
clothoid@debian:~/app$ cd Mew/
clothoid@debian:~/app/Mew$ git pull
clothoid@debian:~/app/Mew$ make distclean
clothoid@debian:~/app/Mew$ ./configure
clothoid@debian:~/app/Mew$ make
clothoid@debian:~/app/Mew$ sudo paco -D make install
clothoid@debian:~/app/Mew$ make install-jinfo
clothoid@debian:~/app/Mew$ cd ..

cmigemo
clothoid@debian:~/app$ wget http://cmigemo.googlecode.com/files/cmigemo-default-src-20110227.zip
clothoid@debian:~/app$ unzip cmigemo-default-src-20110227.zip
clothoid@debian:~/app$ cd cmigemo-default-src
clothoid@debian:~/app/cmigemo-default-src$ chmod +x configure
clothoid@debian:~/app/cmigemo-default-src$ ./configure
clothoid@debian:~/app/cmigemo-default-src$ cp src/wordbuf.c src/wordbuf.c.orig
clothoid@debian:~/app/cmigemo-default-src$ /usr/local/bin/emacs src/wordbuf.c
===
*** /home/clothoid/app/cmigemo-default-src/src/wordbuf.c.orig 2012-12-16 02:41:54.000000000 +0000
2--- /home/clothoid/app/cmigemo-default-src/src/wordbuf.c 2012-12-16 02:43:23.000000000 +0000
3***************
4*** 10,15 ****
5--- 10,16 ----
6 #include <stdlib.h>
7 #include <string.h>
8 #include "wordbuf.h"
9+ #include <limits.h>
10
11 #define WORDLEN_DEF 64
12
===
clothoid@debian:~/app/cmigemo-default-src$ make gcc
clothoid@debian:~/app/cmigemo-default-src$ make gcc-dict
clothoid@debian:~/app/cmigemo-default-src$ cd dict/
clothoid@debian:~/app/cmigemo-default-src/dict$ make utf-8
clothoid@debian:~/app/cmigemo-default-src/dict$ cd ..
clothoid@debian:~/app/cmigemo-default-src$ sudo paco -D make gcc-install
clothoid@debian:~/app/cmigemo-default-src$ su
root@debian:/home/clothoid/app/cmigemo-default-src# emacs /etc/ld.so.conf.d/User-Library.conf
===
/path/to/lib
===
root@debian:/home/clothoid/app/cmigemo-default-src# ldconfig
root@debian:/home/clothoid/app/cmigemo-default-src# exit
clothoid@debian:~/app/cmigemo-default-src$ cd ~/.emacs.d/
clothoid@debian:~/.emacs.d$ mkdir migemo
clothoid@debian:~/.emacs.d$ cd migemo/
clothoid@debian:~/.emacs.d/migemo$ wget https://bitbucket.org/sakito/dot.emacs.d/raw/cf8e4c175a9e9c7d46b9a55b23ce1f35784d5267/local-lisp/migemo.el
clothoid@debian:~/.emacs.d/migemo$ /usr/local/bin/emacs ~/.emacs.d/init.el
===
(add-to-list 'load-path
"~/.emacs.d/migemo")
(setq migemo-command "cmigemo")
(setq migemo-options '("-q" "--emacs"))
(setq migemo-dictionary "/usr/local/share/migemo/utf-8/migemo-dict")
(setq migemo-user-dictionary nil)
(setq migemo-regex-dictionary nil)
(setq migemo-coding-system 'utf-8-unix)
(load-library "migemo")
===


[client]
===
# uname -a
CYGWIN_NT-6.1 D257-A71C 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin
# mintty --version
mintty 1.1.2
# ssh -v
openssh_6.1p1, openssl 1.0.1c 10 may 2012
# ~/bin/cocot.exe -v
cocot, version 20100903
# ~/bin/cocot.exe -t CP932 -p UTF-8 ssh IP
===

[server]
===
clothoid@debian:~$ uname -a
linux debian 2.6.33.7-co-0.7.9 #1 preempt sat apr 9 20:30:51 utc 2011 i686 gnu/linux
===

0 件のコメント:

コメントを投稿