Develop and Download Open Source Software

Browse CVS Repository

Contents of /freewnn/FreeWnn/INSTALL.en

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download)
Thu Dec 23 17:57:32 2010 UTC (13 years, 3 months ago) by aonoto
Branch: MAIN
CVS Tags: freewnn-1-1-1-a023-1, freewnn-1-1-1-a023, freewnn-1-1-1-a022, freewnn-1-1-1-a022I002, HEAD
Branch point for: freewnn-1-1-1-a022I001
Changes since 1.6: +43 -11 lines
Update INSTALL.en to follow current INSTALL document.

1 #
2 # $Id: INSTALL.en,v 1.6 2007/06/23 16:34:16 aonoto Exp $
3 #
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 # Copyright FreeWnn Project 1999, 2000, 2002, 2006, 2007, 2010
14 #
15 # Maintainer: FreeWnn Project
16 #
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
32 How to install FreeWnn
33
34
35 [Basic Method of Installation]
36
37 1. expand FreeWnn tarball.
38
39 $ gzcat FreeWnn-*.tar.gz | tar xvf -
40
41 *1: You should use appropriate filename depending the FreeWnn version.
42
43 2. change directory to FreeWnn-*/
44
45 $ cd FreeWnn-*
46
47 3. run configure
48
49 $ ./configure
50
51 *2: For configure options, see below or type `./configure --help'.
52
53 4. run make
54
55 $ make
56
57 5. (If you build server,) add user named `wnn'.
58
59 You don't need to add `wnn' if it exists. We don't login as `wnn',
60 so please lock password (or equivalent state). Please refer
61 to administration manual of your system to add user `wnn'.
62
63 *3: jserver (and [ckt]server) runs as user `wnn' to reduce affect
64 system and files. We install them as setuid `wnn',
65 so any local user can run jserver.
66
67 6. To install commands, libraries, dictionaries and so on,
68 run make install as a superuser(*4).
69
70 $ su
71 # make install
72
73 *4: Currently, install target does not work well for other user.
74
75 7. To install manuals, you should do the following as a superuser
76
77 # make install.man
78
79 *5: You can ommit this if you do not want manuals installed.
80
81 [Configure options]
82
83 Typing
84
85 $ ./configure --help
86
87 will give you list of options that configure accepts.
88 For example, changing install directory from the default /usr/local to
89 /opt/freewnn, use --prefix option:
90
91 $ ./configure --prefix=/opt/freewnn
92
93 Below are the main configure option of FreeWnn.
94
95 enabled by default:
96 --enable-libraries compile and install FreeWnn libraries.
97 --enable-server compile and install FreeWnn servers.
98 --enable-Wnn compile and install Wnn (Japanese).
99 --enable-cWnn compile and install cWnn (Chinese).
100 --enable-kWnn compile and install kWnn (Korean).
101 --enable-traditional-layout
102 If disabled, install files in modern layout.
103 If leave enabled, install files in Wnn4 compatible
104 directories. (*6)
105
106 disabled by default:
107 --enable-ipv6 enable IPv6 feature.
108 --enable-unsafe-path allow creating files in jserver_dir (*7).
109 --enable-client compile and install uum.
110
111 auto determine by default:
112 --with-libwrap use libwrap (in TCP wrapper) for jserver
113 to enable connection-based access control (*8).
114 --enable-client-utmp (if --enable-client specified,) uum register
115 pseudo tty information to utmp. (Except some systems,
116 it is enabled by default.)
117 --enable-client-setuid[=user]
118 (if --enable-client specified,) install uum as set-uid
119 program with specified user (root by default).
120 If this option (itself) is not specified,
121 configure determine if set-uid install is needed.
122 --enable-client-setgid=group
123 (if --enable-client specified,) install uum as set-gid
124 program with specified group (you must specify group).
125 If this option (itself) is not specified,
126 configure determine if set-gid install is needed.
127 --enable-sub-bindir Control if we install commands to separate sub directory
128 by language (ex. Japanese commands to $(bindir)/Wnn4).
129 If this option is not specified, it relies on
130 --enable-traditional-layout option. (Enable if
131 --enable-traditional-layout specified, disable
132 otherwise.) (*6)
133
134 *6: We intend to follow installation path like FHS (File Hierarchy
135 Standard). Currently difference between specifying parameter
136 --enable-traditional-layout or not is following:
137
138 Files If enabled If disabled
139 jserver, wnnstat, wnnkill $(bindir)/*Wnn4 $(sbindir)
140 Other commands $(bindir)/*Wnn4 $(bindir)
141
142 Note the name of sub directory "*Wnn4" depends on language (Wnn4,
143 cWnn4, kWnn4). You can control whether you use "*Wnn4" by specifing
144 --enable-sub-bindir option.
145
146 *7: If the option --enable-unsafe-path is enabled, the [cjkt]server
147 daemons accept creation of an FreeWnn dictionary file in an arbitrary
148 path, and they accept request from client of any hosts.
149 This feature may be a security hole.
150 Unless you used to place FreeWnn dictionary files in a path other than
151 jserver_dir (lib/wnn/$LANG/dic/usr), you should not enable this feature.
152
153 *8: If you specify --enable-ipv6, libwrap need to support IPv6 also.

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26