| 1 |
ura |
1.2 |
# |
| 2 |
aonoto |
1.9 |
# $Id: INSTALL,v 1.8 2007/06/23 16:34:16 aonoto Exp $ |
| 3 |
ura |
1.2 |
# |
| 4 |
|
|
|
| 5 |
|
|
# |
| 6 |
|
|
# FreeWnn is a network-extensible Kana-to-Kanji conversion system. |
| 7 |
|
|
# This file is part of FreeWnn. |
| 8 |
|
|
# |
| 9 |
|
|
# Copyright Kyoto University Research Institute for Mathematical Sciences |
| 10 |
|
|
# 1987, 1988, 1989, 1990, 1991, 1992 |
| 11 |
|
|
# Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999 |
| 12 |
|
|
# Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992 |
| 13 |
aonoto |
1.9 |
# Copyright FreeWnn Project 1999, 2000, 2002, 2006, 2007, 2010 |
| 14 |
ura |
1.2 |
# |
| 15 |
aonoto |
1.7 |
# Maintainer: FreeWnn Project |
| 16 |
ura |
1.2 |
# |
| 17 |
|
|
# This program is free software; you can redistribute it and/or modify |
| 18 |
|
|
# it under the terms of the GNU General Public License as published by |
| 19 |
|
|
# the Free Software Foundation; either version 2 of the License, or |
| 20 |
|
|
# (at your option) any later version. |
| 21 |
|
|
# |
| 22 |
|
|
# This program is distributed in the hope that it will be useful, |
| 23 |
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 24 |
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 25 |
|
|
# GNU General Public License for more details. |
| 26 |
|
|
# |
| 27 |
|
|
# You should have received a copy of the GNU General Public License |
| 28 |
|
|
# along with this program; if not, write to the Free Software |
| 29 |
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 30 |
|
|
# |
| 31 |
ura |
1.1 |
|
| 32 |
|
|
FreeWnn �������������������� |
| 33 |
|
|
|
| 34 |
|
|
|
| 35 |
|
|
������������������������������ |
| 36 |
|
|
|
| 37 |
|
|
1. �������������������� |
| 38 |
|
|
|
| 39 |
hiroo |
1.4 |
$ gzcat FreeWnn-*.tar.gz | tar xvf - |
| 40 |
ura |
1.1 |
|
| 41 |
hiroo |
1.5 |
��1: * �������������������������������������� |
| 42 |
ura |
1.1 |
|
| 43 |
hiroo |
1.4 |
2. FreeWnn-*/ ���������� |
| 44 |
ura |
1.1 |
|
| 45 |
hiroo |
1.4 |
$ cd FreeWnn-* |
| 46 |
ura |
1.1 |
|
| 47 |
|
|
3. configure ������������ |
| 48 |
|
|
|
| 49 |
|
|
$ ./configure |
| 50 |
|
|
|
| 51 |
hiroo |
1.5 |
��2: configure ���������������������������������� |
| 52 |
|
|
./configure --help ������������������ |
| 53 |
|
|
|
| 54 |
ura |
1.1 |
4. make ������ |
| 55 |
|
|
|
| 56 |
|
|
$ make |
| 57 |
|
|
|
| 58 |
aonoto |
1.9 |
5. (����������������������)�������� wnn ������������ |
| 59 |
|
|
|
| 60 |
|
|
������������ wnn �������������������������� |
| 61 |
|
|
�������� wnn������������������������������������������������(������������ |
| 62 |
|
|
������)������������������ |
| 63 |
|
|
�������������������� |
| 64 |
|
|
���������������������������������������������������������������� |
| 65 |
|
|
������������������������ |
| 66 |
|
|
|
| 67 |
|
|
��3: [cjkt]server ���������������������������������������������� |
| 68 |
|
|
�������� wnn ������������������������������������������������ |
| 69 |
|
|
������������������������ wnn �� setuid���������������������� |
| 70 |
|
|
���������� |
| 71 |
|
|
|
| 72 |
|
|
6. ������������������������ make install ������ |
| 73 |
ura |
1.1 |
|
| 74 |
|
|
$ su |
| 75 |
|
|
# make install |
| 76 |
|
|
|
| 77 |
aonoto |
1.9 |
��4: ������������������������������������������������������������ |
| 78 |
hiroo |
1.5 |
���������� |
| 79 |
|
|
|
| 80 |
aonoto |
1.9 |
7. ������������������������������ |
| 81 |
ura |
1.1 |
|
| 82 |
|
|
# make install.man |
| 83 |
|
|
|
| 84 |
aonoto |
1.9 |
��5: �������������������������������������������� |
| 85 |
ura |
1.1 |
|
| 86 |
|
|
|
| 87 |
hiroo |
1.5 |
��configure �������������� |
| 88 |
ura |
1.1 |
|
| 89 |
hiroo |
1.5 |
$ ./configure --help |
| 90 |
ura |
1.1 |
|
| 91 |
hiroo |
1.5 |
����configure �������������������������������������������� |
| 92 |
|
|
���������������������� /usr/local ������������������������������������ |
| 93 |
|
|
/opt/FreeWnn ����������������--prefix ������������������������ |
| 94 |
ura |
1.1 |
|
| 95 |
|
|
$ ./configure --prefix=/opt/freewnn |
| 96 |
|
|
|
| 97 |
hiroo |
1.5 |
FreeWnn ������ configure option ���������������������������������� |
| 98 |
hiroo |
1.4 |
|
| 99 |
|
|
default ������������: |
| 100 |
|
|
--enable-libraries FreeWnn ������������������������������������������ |
| 101 |
|
|
--enable-server FreeWnn �������������������������������������� |
| 102 |
|
|
--enable-Wnn Wnn (������) ������������������������������ |
| 103 |
|
|
--enable-cWnn cWnn (������) ������������������������������ |
| 104 |
|
|
--enable-kWnn kWnn (������) ������������������������������ |
| 105 |
aonoto |
1.9 |
--enable-traditional-layout |
| 106 |
|
|
������������������������������ |
| 107 |
|
|
���������������������������������������������������������� |
| 108 |
|
|
��������������������������Wnn4������������������ |
| 109 |
|
|
��������������������������������������������(��6) |
| 110 |
hiroo |
1.4 |
|
| 111 |
|
|
default ������������: |
| 112 |
|
|
--enable-ipv6 IPv6 ���������������� |
| 113 |
|
|
--enable-unsafe-path jserverdir �������������������� jserver ���������� |
| 114 |
aonoto |
1.9 |
��������������������������(��7) |
| 115 |
aonoto |
1.7 |
--enable-client uum ������������������������������ |
| 116 |
aonoto |
1.8 |
|
| 117 |
|
|
configure������������������������������������������: |
| 118 |
aono |
1.6 |
--with-libwrap TCP wrapper��libwrap����������jserver�������������� |
| 119 |
aonoto |
1.9 |
����������������������������(��8) |
| 120 |
aonoto |
1.8 |
--enable-client-utmp (uum��������������)uum������������������������ |
| 121 |
|
|
utmp����������who������������������������������ |
| 122 |
|
|
��������(����������������������������������) |
| 123 |
|
|
--enable-client-setuid[=user] |
| 124 |
|
|
(uum��������������)��������user(�������������� |
| 125 |
|
|
root)��set-uid����uum���������������������� |
| 126 |
|
|
������������������������������������������������ |
| 127 |
|
|
����������������set-uid�������� |
| 128 |
|
|
--enable-client-setgid=group |
| 129 |
|
|
(uum��������������)��������group��set-gid���� |
| 130 |
|
|
uum������������������������������������������������ |
| 131 |
|
|
group������������������������������ |
| 132 |
|
|
������������������������������������������������ |
| 133 |
|
|
����������������set-gid�������� |
| 134 |
aonoto |
1.9 |
--enable-sub-bindir ���������������������������������������� |
| 135 |
|
|
��Wnn4�������������������������������������������� |
| 136 |
|
|
������������������������������ |
| 137 |
|
|
--enable-traditional-layout ������������������������ |
| 138 |
|
|
����������������������������������(��6) |
| 139 |
|
|
|
| 140 |
|
|
��6: ��������FHS (File Hierarchy Standard)�������������������������������� |
| 141 |
|
|
������������������������������������������������������������������������ |
| 142 |
|
|
|
| 143 |
|
|
(��������) enable disable |
| 144 |
|
|
jserver, wnnstat, wnnkill $(bindir)/*Wnn4 $(sbindir) |
| 145 |
|
|
������������������ $(bindir)/*Wnn4 $(bindir) |
| 146 |
|
|
|
| 147 |
|
|
��*Wnn4������������������Wnn4����cWnn4����kWnn4���������������������������� |
| 148 |
|
|
��*Wnn4���������������������� --enable-sub-bindir ���������������� |
| 149 |
hiroo |
1.5 |
|
| 150 |
aonoto |
1.9 |
��7: [cjkt]server ���������� host ���������������������������������� |
| 151 |
hiroo |
1.5 |
--enable-unsafe-path ���������������������� host ���� jserver ������������ |
| 152 |
|
|
���������������� path �� Wnn ������������������������������������������ |
| 153 |
|
|
������������home directory ������lib/wnn/$LANG/dic/usr ���������������� |
| 154 |
|
|
������������������������������������������������������������������������ |
| 155 |
|
|
���������������������������� |
| 156 |
|
|
���������������������������������������������������������������� jserverdir |
| 157 |
|
|
(������ /usr/local/lib/wnn/$LANG/dic) ���������������������������������� |
| 158 |
|
|
������������ |
| 159 |
hiroo |
1.4 |
|
| 160 |
aonoto |
1.9 |
��8: --enable-ipv6����������������������libwrap��IPv6�������������������������� |