| 10 |
# 1987, 1988, 1989, 1990, 1991, 1992 |
# 1987, 1988, 1989, 1990, 1991, 1992 |
| 11 |
# Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999 |
# Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999 |
| 12 |
# Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992 |
# Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992 |
| 13 |
# Copyright FreeWnn Project 1999, 2000, 2002, 2006, 2007 |
# Copyright FreeWnn Project 1999, 2000, 2002, 2006, 2007, 2010 |
| 14 |
# |
# |
| 15 |
# Maintainer: FreeWnn Project |
# Maintainer: FreeWnn Project |
| 16 |
# |
# |
| 54 |
|
|
| 55 |
$ make |
$ make |
| 56 |
|
|
| 57 |
5. To install commands, libraries, dictionaries and so on, |
5. (If you build server,) add user named `wnn'. |
| 58 |
run make install as a superuser(*3). |
|
| 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 |
$ su |
| 71 |
# make install |
# make install |
| 72 |
|
|
| 73 |
*3: Currently, install target does not work well for other user. |
*4: Currently, install target does not work well for other user. |
| 74 |
|
|
| 75 |
6. To install manuals, you should do the following as a superuser |
7. To install manuals, you should do the following as a superuser |
| 76 |
|
|
| 77 |
# make install.man |
# make install.man |
| 78 |
|
|
| 79 |
*4: You can ommit this if you do not want manuals installed. |
*5: You can ommit this if you do not want manuals installed. |
| 80 |
|
|
| 81 |
[Configure options] |
[Configure options] |
| 82 |
|
|
| 98 |
--enable-Wnn compile and install Wnn (Japanese). |
--enable-Wnn compile and install Wnn (Japanese). |
| 99 |
--enable-cWnn compile and install cWnn (Chinese). |
--enable-cWnn compile and install cWnn (Chinese). |
| 100 |
--enable-kWnn compile and install kWnn (Korean). |
--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: |
disabled by default: |
| 107 |
--enable-ipv6 enable IPv6 feature. |
--enable-ipv6 enable IPv6 feature. |
| 108 |
--enable-unsafe-path allow creating files in jserver_dir (*5). |
--enable-unsafe-path allow creating files in jserver_dir (*7). |
| 109 |
--enable-client compile and install uum. |
--enable-client compile and install uum. |
| 110 |
|
|
| 111 |
auto determine by default: |
auto determine by default: |
| 112 |
--with-libwrap use libwrap (in TCP wrapper) for jserver |
--with-libwrap use libwrap (in TCP wrapper) for jserver |
| 113 |
to enable connection-based access control (*6). |
to enable connection-based access control (*8). |
| 114 |
--enable-client-utmp (if --enable-client specified,) uum register |
--enable-client-utmp (if --enable-client specified,) uum register |
| 115 |
pseudo tty information to utmp. (Except some systems, |
pseudo tty information to utmp. (Except some systems, |
| 116 |
it is enabled by default.) |
it is enabled by default.) |
| 124 |
program with specified group (you must specify group). |
program with specified group (you must specify group). |
| 125 |
If this option (itself) is not specified, |
If this option (itself) is not specified, |
| 126 |
configure determine if set-gid install is needed. |
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 |
*5: If the option --enable-unsafe-path is enabled, the [cjkt]server |
*7: If the option --enable-unsafe-path is enabled, the [cjkt]server |
| 147 |
daemons accept creation of an FreeWnn dictionary file in an arbitrary |
daemons accept creation of an FreeWnn dictionary file in an arbitrary |
| 148 |
path, and they accept request from client of any hosts. |
path, and they accept request from client of any hosts. |
| 149 |
This feature may be a security hole. |
This feature may be a security hole. |
| 150 |
Unless you used to place FreeWnn dictionary files in a path other than |
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. |
jserver_dir (lib/wnn/$LANG/dic/usr), you should not enable this feature. |
| 152 |
|
|
| 153 |
*6: If you specify --enable-ipv6, libwrap need to support IPv6 also. |
*8: If you specify --enable-ipv6, libwrap need to support IPv6 also. |