| 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 |
# Copyright FreeWnn Project 1999, 2000, 2002 |
| 14 |
# |
# |
| 15 |
# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp> |
# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp> |
| 16 |
# |
# |
| 37 |
1. expand FreeWnn tarball. |
1. expand FreeWnn tarball. |
| 38 |
|
|
| 39 |
$ gzcat FreeWnn-*.tar.gz | tar xvf - |
$ gzcat FreeWnn-*.tar.gz | tar xvf - |
| 40 |
(You should use appropriate filename depending the FreeWnn version) |
|
| 41 |
|
*1: You should use appropriate filename depending the FreeWnn version. |
| 42 |
|
|
| 43 |
2. change directory to FreeWnn-*/ |
2. change directory to FreeWnn-*/ |
| 44 |
|
|
| 48 |
|
|
| 49 |
$ ./configure |
$ ./configure |
| 50 |
|
|
| 51 |
|
*2: For configure options, see below or type `./configure --help'. |
| 52 |
|
|
| 53 |
4. run make |
4. run make |
| 54 |
|
|
| 55 |
$ make |
$ make |
| 56 |
|
|
| 57 |
5. To install commands, libraries, dictionaries and so on, |
5. To install commands, libraries, dictionaries and so on, |
| 58 |
run make install as a superuser |
run make install as a superuser(*3). |
| 59 |
|
|
| 60 |
$ su |
$ su |
| 61 |
# make install |
# make install |
| 62 |
|
|
| 63 |
|
*3: Currently, install target does not work well for other user. |
| 64 |
|
|
| 65 |
6. To install manuals, you should do the following as a superuser |
6. To install manuals, you should do the following as a superuser |
|
You can ommit this if you do not want manuals installed. |
|
| 66 |
|
|
| 67 |
# make install.man |
# make install.man |
| 68 |
|
|
| 69 |
|
*4: You can ommit this if you do not want manuals installed. |
| 70 |
|
|
| 71 |
[Change the directory where FreeWnn is installed] |
[Configure options] |
|
|
|
|
FreeWnn will be installed under /usr/local. You can change the directory |
|
|
by specifying option --prefix when you run configure. |
|
|
|
|
|
$ ./configure --prefix=/opt/freewnn |
|
| 72 |
|
|
| 73 |
|
Typing |
|
[See Also] |
|
| 74 |
|
|
| 75 |
$ ./configure --help |
$ ./configure --help |
| 76 |
|
|
| 77 |
will give you list of options that configure accepts. |
will give you list of options that configure accepts. |
| 78 |
|
For example, changing install directory from the default /usr/local to |
| 79 |
|
/opt/freewnn, use --prefix option: |
| 80 |
|
|
| 81 |
|
$ ./configure --prefix=/opt/freewnn |
| 82 |
|
|
| 83 |
Below are the main configure option of FreeWnn. |
Below are the main configure option of FreeWnn. |
| 84 |
|
|
| 85 |
enabled by default: |
enabled by default: |
| 91 |
|
|
| 92 |
disabled by default: |
disabled by default: |
| 93 |
--enable-ipv6 enable IPv6 feature. |
--enable-ipv6 enable IPv6 feature. |
| 94 |
--enable-unsafe-path allow creating files in jserver_dir. |
--enable-unsafe-path allow creating files in jserver_dir (*5). |
| 95 |
|
--enable-client compile and install uum (*6). |
| 96 |
|
|
| 97 |
|
*5: If the option --enable-unsafe-path is enabled, the [cjkt]server |
| 98 |
|
daemons accept creation of an FreeWnn dictionary file in an arbitrary |
| 99 |
|
path, and they accept request from client of any hosts. |
| 100 |
|
This feature may be a security hole. |
| 101 |
|
Unless you used to place FreeWnn dictionary files in a path other than |
| 102 |
|
jserver_dir (lib/wnn/$LANG/dic/usr), you should not enable this feature. |
| 103 |
|
|
| 104 |
|
*6: cuum cannot be compiled yet. |
| 105 |
|
|
|
If the option --enable-unsafe-path is enabled, the [cjkt]server daemon |
|
|
create file in an arbitrary path, and they accept request from client of |
|
|
any hosts. This feature is a security hole that allow creation of files |
|
|
in an arbitrary path as the user that run [cjkt]server. |
|
|
Unless you used to place FreeWnn dictionary files in a path other than |
|
|
jserver_dir (lib/wnn/$LANG/dic/usr), you should not enable this feature. |
|