| 1 |
# |
| 2 |
# $Id: INSTALL.en,v 1.1 2001/06/18 09:09:20 ura 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 |
| 14 |
# |
| 15 |
# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp> |
| 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 |
(You should use appropriate filename depending the FreeWnn version) |
| 41 |
|
| 42 |
2. change directory to FreeWnn-*/ |
| 43 |
|
| 44 |
$ cd FreeWnn-* |
| 45 |
|
| 46 |
3. run configure |
| 47 |
|
| 48 |
$ ./configure |
| 49 |
|
| 50 |
4. run make |
| 51 |
|
| 52 |
$ make |
| 53 |
|
| 54 |
5. To install commands, libraries, dictionaries and so on, |
| 55 |
run make install as a superuser |
| 56 |
|
| 57 |
$ su |
| 58 |
# make install |
| 59 |
|
| 60 |
6. To install manuals, you should do the following as a superuser |
| 61 |
You can ommit this if you do not want manuals installed. |
| 62 |
|
| 63 |
# make install.man |
| 64 |
|
| 65 |
|
| 66 |
[Change the directory where FreeWnn is installed] |
| 67 |
|
| 68 |
FreeWnn will be installed under /usr/local. You can change the directory |
| 69 |
by specifying option --prefix when you run configure. |
| 70 |
|
| 71 |
$ ./configure --prefix=/opt/freewnn |
| 72 |
|
| 73 |
|
| 74 |
[See Also] |
| 75 |
|
| 76 |
$ ./configure --help |
| 77 |
|
| 78 |
will give you list of options that configure accepts. |
| 79 |
Below are the main configure option of FreeWnn. |
| 80 |
|
| 81 |
enabled by default: |
| 82 |
--enable-libraries compile and install FreeWnn libraries. |
| 83 |
--enable-server compile and install FreeWnn servers. |
| 84 |
--enable-Wnn compile and install Wnn (Japanese). |
| 85 |
--enable-cWnn compile and install cWnn (Chinese). |
| 86 |
--enable-kWnn compile and install kWnn (Korean). |
| 87 |
|
| 88 |
disabled by default: |
| 89 |
--enable-ipv6 enable IPv6 feature. |
| 90 |
--enable-unsafe-path allow creating files in jserver_dir. |
| 91 |
|
| 92 |
If the option --enable-unsafe-path is enabled, the [cjkt]server daemon |
| 93 |
create file in an arbitrary path, and they accept request from client of |
| 94 |
any hosts. This feature is a security hole that allow creation of files |
| 95 |
in an arbitrary path as the user that run [cjkt]server. |
| 96 |
Unless you used to place FreeWnn dictionary files in a path other than |
| 97 |
jserver_dir (lib/wnn/$LANG/dic/usr), you should not enable this feature. |