migemo で ハマッタ ハマッタ
そして、なんでうごいたのかわからん
M-x eshell
---------------------------------------------------------------------------------
~ $ mkdir download
~ $ cd download/
~/download $ wget http://hp.vector.co.jp/authors/VA000501/qkcc100.zip
~/download $ unzip qkcc100.zip
~/download $ make
~/download $ cp -p qkc.exe /usr/local/bin/
~/download $ rm -rf *
~/download $ wget http://cmigemo.googlecode.com/files/cmigemo-default-src-20110227.zip
~/download $ unzip cmigemo-default-src-20110227.zip
~/download $ cd cmigemo-default-src/
---------------------------------------------------------------------------------
ここまではいい感じ
---------------------------------------------------------------------------------------
~/download/cmigemo-default-src $ ./configure
./configure: Permission denied
---------------------------------------------------------------------------------------
なんでやねん!
ーーーーーーーーーーーーーーーーーーーーーーーーーーー
~/download/cmigemo-default-src $ chmod 755 *
~/download/cmigemo-default-src $ ./configure
ーーーーーーーーーーーーーーーーーーーーーーーーーーー
ふむふむ
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
~/download/cmigemo-default-src $ make cyg
/usr/bin/make -f compile/Make_cyg.mak
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' に入ります
cc -O2 -Wall -o build/object/main.o -c src/main.c
src/main.c: In function ‘query_loop’:
src/main.c:34:2: 警告: pointer targets in passing argument 1 of ‘fgets’ differ in signedness
/usr/include/stdio.h:195:9: note: expected ‘char *’ but argument is of type ‘unsigned char *’
src/main.c:41:2: 警告: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
/usr/include/string.h:29:8: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
src/main.c:41:11: 警告: pointer targets in assignment differ in signedness
src/main.c: In function ‘main’:
src/main.c:169:6: 警告: pointer targets in passing argument 3 of ‘migemo_set_operator’ differ in signedness
src/migemo.h:56:21: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/main.c:170:6: 警告: pointer targets in passing argument 3 of ‘migemo_set_operator’ differ in signedness
src/migemo.h:56:21: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/main.c:171:6: 警告: pointer targets in passing argument 3 of ‘migemo_set_operator’ differ in signedness
src/migemo.h:56:21: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/main.c:173:3: 警告: pointer targets in passing argument 3 of ‘migemo_set_operator’ differ in signedness
src/migemo.h:56:21: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/main.c:177:6: 警告: pointer targets in passing argument 3 of ‘migemo_set_operator’ differ in signedness
src/migemo.h:56:21: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/main.c:178:6: 警告: pointer targets in passing argument 3 of ‘migemo_set_operator’ differ in signedness
src/migemo.h:56:21: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/main.c:179:6: 警告: pointer targets in passing argument 3 of ‘migemo_set_operator’ differ in signedness
src/migemo.h:56:21: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/main.c:181:3: 警告: pointer targets in passing argument 3 of ‘migemo_set_operator’ differ in signedness
src/migemo.h:56:21: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/main.c:188:6: 警告: pointer targets in passing argument 2 of ‘migemo_query’ differ in signedness
src/migemo.h:51:32: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
cc -O2 -Wall -o build/object/charset.o -c src/charset.c
cc -O2 -Wall -o build/object/filename.o -c src/filename.c
cc -O2 -Wall -o build/object/migemo.o -c src/migemo.c
src/migemo.c: In function ‘migemo_load’:
src/migemo.c:178:2: 警告: pointer targets in passing argument 2 of ‘romaji_load’ differ in signedness
src/romaji.h:24:5: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’
src/migemo.c: In function ‘migemo_open’:
src/migemo.c:255:6: 警告: pointer targets in passing argument 2 of ‘romaji_load’ differ in signedness
src/romaji.h:24:5: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/migemo.c:256:6: 警告: pointer targets in passing argument 2 of ‘romaji_load’ differ in signedness
src/romaji.h:24:5: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/migemo.c:257:6: 警告: pointer targets in passing argument 2 of ‘romaji_load’ differ in signedness
src/romaji.h:24:5: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/migemo.c:258:6: 警告: pointer targets in passing argument 2 of ‘romaji_load’ differ in signedness
src/romaji.h:24:5: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
src/migemo.c: In function ‘add_dubious_roma’:
src/migemo.c:376:5: 警告: pointer targets in passing argument 1 of ‘my_strlen’ differ in signedness
src/migemo.c:56:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
src/migemo.c:389:5: 警告: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
/usr/include/string.h:29:8: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/migemo.c:391:2: 警告: pointer targets in passing argument 2 of ‘add_dubious_vowels’ differ in signedness
src/migemo.c:355:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’
src/migemo.c:393:2: 警告: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
/usr/include/string.h:29:8: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/migemo.c:399:3: 警告: pointer targets in passing argument 2 of ‘add_roma’ differ in signedness
src/migemo.c:322:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’
src/migemo.c:406:3: 警告: pointer targets in passing argument 2 of ‘add_dubious_vowels’ differ in signedness
src/migemo.c:355:1: note: expected ‘unsigned char *’ but argument is of type ‘char *’
src/migemo.c: In function ‘query_a_word’:
src/migemo.c:466:5: 警告: pointer targets in passing argument 1 of ‘my_strlen’ differ in signedness
src/migemo.c:56:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cc -O2 -Wall -o build/object/mnode.o -c src/mnode.c
cc -O2 -Wall -o build/object/romaji.o -c src/romaji.c
src/romaji.c: In function ‘strdup_lower’:
src/romaji.c:208:5: 警告: pointer targets in passing argument 1 of ‘strdup’ differ in signedness
/usr/include/string.h:67:8: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/romaji.c:208:26: 警告: pointer targets in initialization differ in signedness
src/romaji.c: In function ‘romaji_add_table’:
src/romaji.c:245:5: 警告: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/usr/include/string.h:35:9: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/romaji.c:255:5: 警告: pointer targets in passing argument 1 of ‘strdup’ differ in signedness
/usr/include/string.h:67:8: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/romaji.c:255:24: 警告: pointer targets in assignment differ in signedness
src/romaji.c:259:6: 警告: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
/usr/include/string.h:30:6: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/romaji.c:262:2: 警告: pointer targets in passing argument 1 of ‘strdup’ differ in signedness
/usr/include/string.h:67:8: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/romaji.c:262:22: 警告: pointer targets in assignment differ in signedness
src/romaji.c:265:6: 警告: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
/usr/include/string.h:30:6: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/romaji.c:268:2: 警告: pointer targets in passing argument 1 of ‘strdup’ differ in signedness
/usr/include/string.h:67:8: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/romaji.c:268:23: 警告: pointer targets in assignment differ in signedness
src/romaji.c: In function ‘romaji_load’:
src/romaji.c:376:5: 警告: pointer targets in passing argument 1 of ‘charset_detect_file’ differ in signedness
src/charset.h:35:5: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/romaji.c:379:5: 警告: pointer targets in passing argument 1 of ‘fopen’ differ in signedness
/usr/include/stdio.h:225:8: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/romaji.c: In function ‘romaji_convert2’:
src/romaji.c:454:2: 警告: pointer targets in passing argument 1 of ‘strdup’ differ in signedness
/usr/include/string.h:67:8: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
src/romaji.c:454:9: 警告: pointer targets in assignment differ in signedness
cc -O2 -Wall -o build/object/rxgen.o -c src/rxgen.c
src/rxgen.c: In function ‘rxgen_open’:
src/rxgen.c:156:2: 警告: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
/usr/include/string.h:32:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’
src/rxgen.c:157:2: 警告: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
/usr/include/string.h:32:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’
src/rxgen.c:158:2: 警告: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
/usr/include/string.h:32:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’
src/rxgen.c:159:2: 警告: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
/usr/include/string.h:32:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’
src/rxgen.c:160:2: 警告: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
/usr/include/string.h:32:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’
src/rxgen.c:161:2: 警告: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
/usr/include/string.h:32:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’
src/rxgen.c: In function ‘rxgen_generate’:
src/rxgen.c:322:2: 警告: pointer targets in passing argument 1 of ‘strdup’ differ in signedness
/usr/include/string.h:67:8: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
src/rxgen.c:322:9: 警告: pointer targets in assignment differ in signedness
src/rxgen.c: In function ‘rxgen_set_operator’:
src/rxgen.c:383:5: 警告: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/usr/include/string.h:35:9: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/rxgen.c:387:5: 警告: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
/usr/include/string.h:32:8: note: expected ‘char *’ but argument is of type ‘unsigned char *’
src/rxgen.c:387:5: 警告: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
/usr/include/string.h:32:8: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
cc -O2 -Wall -o build/object/wordbuf.o -c src/wordbuf.c
src/wordbuf.c: In function ‘wordbuf_cat’:
src/wordbuf.c:117:9: 警告: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/usr/include/string.h:35:9: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
src/wordbuf.c:118:19: error: ‘INT_MAX’ undeclared (first use in this function)
src/wordbuf.c:118:19: note: each undeclared identifier is reported only once for each function it appears in
compile/unix.mak:33: recipe for target `build/object/wordbuf.o' failed
make[1]: *** [build/object/wordbuf.o] Error 1
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' から出ます
Makefile:33: recipe for target `cyg-rel' failed
make: *** [cyg-rel] Error 2
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
えー、なにこれ、なんか一杯でたよ
C-x C-f /cmigemo-default-src/src/wordbuf.c
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
*** /home/user/download/cmigemo-default-src/src/wordbuf.c.orig date.old
--- /home/user/download/cmigemo-default-src/src/wordbuf.c date
***************
*** 9,14 ****
--- 9,15 ----
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+ #include <limits.h>
#include "wordbuf.h"
#define WORDLEN_DEF 64
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
M-x eshell
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
~/download/cmigemo-default-src $ make cyg
/usr/bin/make -f compile/Make_cyg.mak
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' に入ります
cc -O2 -Wall -o build/object/wordbuf.o -c src/wordbuf.c
src/wordbuf.c: In function ‘wordbuf_cat’:
src/wordbuf.c:118:9: 警告: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/usr/include/string.h:35:9: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
cc -O2 -Wall -o build/object/wordlist.o -c src/wordlist.c
src/wordlist.c: In function ‘wordlist_open_len’:
src/wordlist.c:27:14: 警告: pointer targets in assignment differ in signedness
src/wordlist.c: In function ‘wordlist_open’:
src/wordlist.c:51:9: 警告: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/usr/include/string.h:35:9: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
dllwrap -o ./build/cygmigemo1.dll --dllname cygmigemo1.dll --implib ./build/libmigemo.dll.a --def ./src/migemo.def ./build/object/charset.o ./build/object/filename.o ./build/object/migemo.o ./build/object/mnode.o ./build/object/romaji.o ./build/object/rxgen.o ./build/object/wordbuf.o ./build/object/wordlist.o
cc -o build/cmigemo.exe ./build/object/main.o -L. -L./build/ -lmigemo
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' から出ます
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー-
んー、なんか へったし、できてたからコピー
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
~/download/cmigemo-default-src $ cd build/
~/download/cmigemo-default-src/build $ cp cygmigemo1.dll /usr/bin/
~/download/cmigemo-default-src/build $ cp cmigemo.exe /usr/bin/
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
えっと、辞書をつくるです。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
~/download/cmigemo-default-src/build $ cd ..
~/download/cmigemo-default-src $ make cyg-dict
/usr/bin/make -f compile/Make_cyg.mak dictionary
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' に入ります
cd dict && /usr/bin/make cyg
make[2]: ディレクトリ `/home/user/download/cmigemo-default-src/dict' に入ります
curl -O http://openlab.ring.gr.jp/skk/dic/SKK-JISYO.L.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:21 --:--:-- 0curl: (7) couldn't connect to host
dict.mak:24: recipe for target `SKK-JISYO.L' failed
make[2]: *** [SKK-JISYO.L] Error 7
make[2]: ディレクトリ `/home/user/download/cmigemo-default-src/dict' から出ます
compile/Make_cyg.mak:41: recipe for target `dictionary' failed
make[1]: *** [dictionary] Error 2
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' から出ます
Makefile:35: recipe for target `cyg-dict' failed
make: *** [cyg-dict] Error 2
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
えー、もーやだ。あ、でも、curl とか、もしかして
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
~/download/cmigemo-default-src $ export http_proxy="http://XXX.XXX.XXX.XXX:YY"
~/download/cmigemo-default-src $ make cyg-dict
/usr/bin/make -f compile/Make_cyg.mak dictionary
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' に入ります
cd dict && /usr/bin/make cyg
make[2]: ディレクトリ `/home/user/download/cmigemo-default-src/dict' に入ります
curl -O http://openlab.ring.gr.jp/skk/dic/SKK-JISYO.L.gz
gzip -d SKK-JISYO.L.gz
perl ../tools/skk2migemo.pl < SKK-JISYO.L > dict.tmp
perl ../tools/optimize-dict.pl < dict.tmp > base-dict
rm -f dict.tmp
qkc -q -u -s < base-dict > migemo-dict
mkdir -p euc-jp.d
qkc -q -u -e < migemo-dict > euc-jp.d/migemo-dict
qkc -q -u -e < zen2han.dat > euc-jp.d/zen2han.dat
qkc -q -u -e < han2zen.dat > euc-jp.d/han2zen.dat
qkc -q -u -e < hira2kata.dat > euc-jp.d/hira2kata.dat
qkc -q -u -e < roma2hira.dat > euc-jp.d/roma2hira.dat
make[2]: ディレクトリ `/home/user/download/cmigemo-default-src/dict' から出ます
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' から出ます
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
きたわー。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
~/download/cmigemo-default-src $ cd dict/
~/download/cmigemo-default-src/dict $ make utf-8
mkdir -p utf-8.d
iconv -t utf-8 -f cp932 < migemo-dict > utf-8.d/migemo-dict
iconv -t utf-8 -f cp932 < zen2han.dat > utf-8.d/zen2han.dat
iconv -t utf-8 -f cp932 < han2zen.dat > utf-8.d/han2zen.dat
iconv -t utf-8 -f cp932 < hira2kata.dat > utf-8.d/hira2kata.dat
iconv -t utf-8 -f cp932 < roma2hira.dat > utf-8.d/roma2hira.dat
~/download/cmigemo-default-src/dict $ cd ../
~/download/cmigemo-default-src $ make cyg-install
/usr/bin/make -f compile/Make_cyg.mak
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' に入ります
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' から出ます
/usr/bin/make -f compile/Make_cyg.mak dictionary
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' に入ります
cd dict && /usr/bin/make cyg
make[2]: ディレクトリ `/home/user/download/cmigemo-default-src/dict' に入ります
make[2]: `cyg' に対して行うべき事はありません.
make[2]: ディレクトリ `/home/user/download/cmigemo-default-src/dict' から出ます
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' から出ます
/usr/bin/make -f compile/Make_cyg.mak install
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' に入ります
mkdir -p /usr/local/bin
mkdir -p /usr/local/lib
mkdir -p /usr/local/include
mkdir -p /usr/local/doc/migemo
mkdir -p /usr/local/share/migemo
mkdir -p /usr/local/share/migemo/cp932
mkdir -p /usr/local/share/migemo/euc-jp
mkdir -p /usr/local/share/migemo/utf-8
/usr/bin/install -c -m 644 dict/migemo-dict /usr/local/share/migemo/cp932
/usr/bin/install -c -m 644 dict/han2zen.dat /usr/local/share/migemo/cp932
/usr/bin/install -c -m 644 dict/hira2kata.dat /usr/local/share/migemo/cp932
/usr/bin/install -c -m 644 dict/roma2hira.dat /usr/local/share/migemo/cp932
/usr/bin/install -c -m 644 dict/zen2han.dat /usr/local/share/migemo/cp932
if [ -d dict/euc-jp.d ]; then \
/usr/bin/install -c -m 644 dict/euc-jp.d/migemo-dict /usr/local/share/migemo/euc-jp; \
/usr/bin/install -c -m 644 dict/euc-jp.d/han2zen.dat /usr/local/share/migemo/euc-jp; \
/usr/bin/install -c -m 644 dict/euc-jp.d/hira2kata.dat /usr/local/share/migemo/euc-jp; \
/usr/bin/install -c -m 644 dict/euc-jp.d/roma2hira.dat /usr/local/share/migemo/euc-jp; \
/usr/bin/install -c -m 644 dict/euc-jp.d/zen2han.dat /usr/local/share/migemo/euc-jp; \
fi
if [ -d dict/utf-8.d ]; then \
/usr/bin/install -c -m 644 dict/utf-8.d/migemo-dict /usr/local/share/migemo/utf-8; \
/usr/bin/install -c -m 644 dict/utf-8.d/han2zen.dat /usr/local/share/migemo/utf-8; \
/usr/bin/install -c -m 644 dict/utf-8.d/hira2kata.dat /usr/local/share/migemo/utf-8; \
/usr/bin/install -c -m 644 dict/utf-8.d/roma2hira.dat /usr/local/share/migemo/utf-8; \
/usr/bin/install -c -m 644 dict/utf-8.d/zen2han.dat /usr/local/share/migemo/utf-8; \
fi
/usr/bin/install -c -m 644 ./build/libmigemo.dll.a /usr/local/lib
/usr/bin/install -c -m 755 ./build/cygmigemo1.dll /usr/local/bin
/usr/bin/install -c -m 644 ./src/migemo.h /usr/local/include
/usr/bin/install -c -m 644 doc/README_j.txt /usr/local/doc/migemo
/usr/bin/install -c -m 755 ./build/cmigemo.exe /usr/local/bin
make[1]: ディレクトリ `/home/user/download/cmigemo-default-src' から出ます
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
おうおう。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
~/download/cmigemo-default-src $ cd ..
~/download $ wget http://0xcc.net/migemo/migemo-0.40.tar.gz
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
ここまではいい感じだが
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
~/download $ gzip -dc migemo-0.40.tar.gz | tar xvf -
migemo-0.40/
migemo-0.40/Makefile.in
migemo-0.40/README
migemo-0.40/AUTHORS
migemo-0.40/COPYING
migemo-0.40/ChangeLog
migemo-0.40/INSTALL
migemo-0.40/Makefile.am
migemo-0.40/NEWS
migemo-0.40/acinclude.m4
migemo-0.40/aclocal.m4
migemo-0.40/configure
migemo-0.40/configure.in
migemo-0.40/elisp-comp
migemo-0.40/install-sh
migemo-0.40/migemo.rb.in
migemo-0.40/missing
migemo-0.40/mkinstalldirs
migemo-0.40/migemo
migemo-0.40/migemo-grep
migemo-0.40/migemo-server
migemo-0.40/migemo-client
migemo-0.40/migemo-dict.rb
migemo-0.40/migemo-regex.rb
migemo-0.40/migemo-convert.rb
migemo-0.40/migemo-index.rb
migemo-0.40/migemo-cache.rb
migemo-0.40/migemo.el.in
migemo-0.40/genchars.sh
migemo-0.40/ngram.sh
migemo-0.40/frequent-chars
migemo-0.40/migemo-dict
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
とここでフリーズ。もーいやでしょ。だが、
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
~/download $ tar zxvf migemo-0.40.tar.gz
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
で、きたー。正常展開。
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
~/download $ mkdir -p ~/.emacs.d/cmigemo
~/download $ mv migemo-0.40/migemo.el.in ~/.emacs.d/cmigemo/migemo.el
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
C-x C-f
~/.emacs.d/init.el
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
;; ------------------------------------------------------------------------
;; @ cmigemo
;; ロードパスの追加
(add-to-list 'load-path
"~/.emacs.d/cmigemo")
(setq migemo-command "cmigemo")
(setq migemo-options '("-q" "--emacs" "-i" "\a"))
(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")
(migemo-init)
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
として、今は正常に動作したけど、なぜか最初うごかなかった。再起動かな?
0 件のコメント:
コメントを投稿