File: INSTALL

package info (click to toggle)
sdic 2.1.2-7
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 924 kB
  • ctags: 252
  • sloc: lisp: 1,534; sh: 560; perl: 388; makefile: 190
file content (164 lines) | stat: -rw-r--r-- 6,576 bytes parent folder | download | duplicates (9)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
 SDIC 󥹥ȡ륬

ʸǤϡSDIC ڤ˥󥹥ȡ뤹ˤĤƤޤ
Ǥꤷ䤹ǡȤơΡפʤɤۤƤGENE 
פꡢμȤΥ󥹥ȡˡˤĤƼ


  * GENE95  http://www.forest.impress.co.jp/dict.html#gene95
  * EDICT   ftp://ftp.u-aizu.ac.jp/pub/SciEng/nihongo/ftp.cc.monash.edu.au/




 󥹥ȡ ( UNIX Ķξ )

(1) ΥեƱǥ쥯ȥˡGENEפΥǡ gene95.lzh 
     gene95.tar.gz ȡEDICTפΥǡ edict.gz ֤Ʋ
    ( make dict ˼ưŪŸޤΤǡưŸ
    ɬפϤޤ)

(2) ./configure ¹Ԥơ󥹥ȡΥǥ쥯ȥȡǥեȤ
    Ѥ뼭ưꤷޤ

    GENEפϱ¼ʤΤǤ±ѼѴ뤿Υ
    ץ jgene.perl ƱƤޤѤơGENE
    ±ѼȤƤѤϡEDICTפΥǡפޤ
    󡣤ѴˤϿʬޤ

    դˡEDICTפ±ѼʤΤǤ¼Ѵ
    Ѥ뤳ȤǤޤξϡGENEפΥǡפȤʤ
    ޤѴˤϿʬޤ

    ʥץ
      --with-emacs=EMACS      compile with EMACS [EMACS=emacs, xemacs...]
        + Ѥ Emacs μꤹ
      --with-lispdir=DIR      emacs lisp files go to DIR [guessed]
        + Lispץ򥤥󥹥ȡ뤹ǥ쥯ȥꤹ
      --with-dictdir=DIR      dictionary files go to DIR [/usr/local/share/dict]
        + ե򥤥󥹥ȡ뤹ǥ쥯ȥꤹ
      --with-dicttype=TYPE    use TYPE of dictionaries [sdic]
        + μꤹ sdic ޤ compat

(3) make ¹Ԥ Lisp ץޤ

(4) make install ¹Ԥ Lisp ץ򥤥󥹥ȡ뤷ޤ
    󥹥ȡΥǥ쥯ȥˤäƤ root øɬפǤ

(5) make install-info ¹Ԥ Info 򥤥󥹥ȡ뤷ޤEmacs
    ΥСˤäƤ˽Ǥʤ礬ޤξϡ
    ľ sdic.texi  Emacs ɤ߹Ǥ顢M-x texinfo-format-buffer
    ԤäơȤǥ󥹥ȡ뤷Ƥ


    ******************************************************************
    󥹥ȡѤμեѤˤϡ(6),(7) νɬ
    פޤ󡣤ǥեȤΥǥ쥯ȥ (/usr/local/share/dict)
    ʳ˼եǼƤϡconfigure 
    --with-dictdir=DIR ץǡΥǥ쥯ȥꤷƤ
    ******************************************************************

(6) make dict ¹ԤƼեޤ

(7) make install-dict ¹ԤƼե򥤥󥹥ȡ뤷ޤ
    󥹥ȡΥǥ쥯ȥˤäƤ root øɬפǤ


(8) ~/.emacs ԽƸĿԤޤsample.emacs 㤬
    ƤޤΤǡͤˤƤ򤽤Τޤ޻Ȥϡ

        make config

    Ȥ꤬λޤMule/Emacs  C-c w ȥפȡ
    sdic-mode ưϤǤ

    Emacs20 ޤ XEmacs ǻѤϡˡ

        (set-language-environment "Japanese")

    ꤵƤ뤫ǧƤ
	



 󥹥ȡ ( Windows Ķξ )

Windows ĶǤϡɬפʥޥɤ­Ƥ뤿ˡ嵭 UNIX Ѥ
󥹥ȡ¹Ԥ뤳ȤϺǤΤᡢMule for windows 
ޤ Meadow ʳΥޥɤɬפȤʤ褦ʴʰץ󥹥ȡ륹
ץȤѰդޤʲˤμޤ

(1) GENEΥǡ gene95.lzh ޤ gene95.tar.gz Ÿơ
    gene.txt 򤳤ΥեƱǥ쥯ȥ֤Ʋ

(2) EDICTΥǡ edict.gz Ÿơedict 򤳤ΥեƱ
    ǥ쥯ȥ֤Ʋ

(3) Υޥɤ¹Ԥơ󥹥ȡԤʤޤ

        % mule -batch -q -l install.el -f make-sdic

    ΥץȤϡ¹Ԥ줿 Meadow δĶŬڤʥ󥹥ȡ
    ꤷơ󥹥ȡ¹Ԥޤºݤ˲˥󥹥ȡ뤵
    뤫ǧϡΤ褦ˤƤ

        % mule -batch -q -l install.el -f make-sdic -n

    󥹥ȡΥǥ쥯ȥѹϡʲΥץ
    ꤷƤ

      --with-lispdir=DIR      emacs lisp files go to DIR [guessed]
        + Lispץ򥤥󥹥ȡ뤹ǥ쥯ȥꤹ
      --with-dictdir=DIR      dictionary files go to DIR [guessed]
        + ե򥤥󥹥ȡ뤹ǥ쥯ȥꤹ
      --infodir=DIR           Info files go to DIR [guessed]
	+ Info 򥤥󥹥ȡ뤹ǥ쥯ȥꤹ

    ʤΥץϡ`-f make-sdic' ˻ꤹ褦
    ˤƤe.g.

        % mule -batch -q -l install.el -f make-sdic --with-lispdir=C://home/elisp

    ˼ե뤬󥹥ȡ뤵Ƥϡ(1),(2) νɬ
    פޤ󡣤ǥեȰʳΥǥ쥯ȥ˼򥤥󥹥ȡ
    뤷ϡΥǥ쥯ȥ򥪥ץǻꤹɬפޤ

(4) ~/.emacs ԽƸĿԤޤsample.emacs 㤬
    ƤޤΤǡͤˤƤ




 ֱѼϺפȤΥ󥹥ȡ

    ֱѼϺפȤϡNifty-Serve ѲåեޤϽҤǽ
    ʼǤܤϤ°ΥɥȤ򻲾ȤƲñ
    ʥƥȷۤƤ¼ȤƤϡ餯Τ
    ΤȻפޤǰʤ饤󥿡ͥåȾǤۤƤޤ
    

    ֱѼϺפѤϡѼϺե뷲ĥǥ
    ȥ֤configure ˤΥǥ쥯ȥ --with-eijirou=DIR 
    ץǻꤷޤ (ɸǤ configure  ./eijirou Ĵ٤ޤ) 
    e.g.

        % ./configure --with-eijirou=/somewhere/eijirou

    # configure Ʊǥ쥯ȥ gene95.lzh, gene95.tar.gz, edict.gz
    # ֤ƤȤͥ褷Ƥޤޤդ

    ֱѼϺפ϶ˤƵʤΤǡSDICǤ grep ˤ븡
    ˻֤ޤǽʤ SUFARY Ѥ뤳Ȥ򤪴
    ᤷޤܺ٤ˤĤƤ Info 򻲾ȤƲ

    COMPATǤСˡפȴפ˸¤ޤ
    look ޥɤѤƽʬ˼Ū®٤ǸǤޤCOMPAT
    Ȥˤ configure  --with-dicttype=compat ȥץ
    ꤷޤ

    ޤ±ѼϺפȤ±ѼۤƤޤѤ
    ֱѼϺפȴŪƱǤ--with-waeijirou=DIR ץ
    ǥǥ쥯ȥꤷޤ (ɸǤ configure  ./waeijirou 
    Ĵ٤ޤ) e.g.

        % ./configure --with-waeijirou=/somewhere/waeijirou