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.4 - (show annotations) (download)
Fri May 21 16:39:31 2004 UTC (19 years, 10 months ago) by aono
Branch: MAIN
CVS Tags: freewnn-1-1-1-a021
Changes since 1.3: +4 -1 lines
Commit from my work area part 2. (Bit large ...)

Rewrote configure part of libwrap support:

- By default, configure finds if libwrap is installed.
- Do AC_TRY_LINK() on both $withval=yes and $withval=PATH case.
  (AC_CHECK_LIB() fails against original TCP wrapper ...)
- HAVE_LIBWRAP are defined in config.h.in, so remove "-DHAVE_LIBWRAP"
    from CFLAGS.
- Changed WRAPLIBS -> WRAPLIB .
- Add WRAPLIB on [kc]Wnn . Also add --mode=XXX to LIBTOOL lines.

Other changes:

- (configure) Running generated script by autoconf-2.53 (that we are
  using) fails on some Bourne shell family (lack of LINENO support.
  ex. FreeBSD). Add code to clear default --with-tag (Libtool issue?).
- (configure) Add -no-cpp-precomp on Darwin only if you are using gcc.
  (But I don't know other compilers running on Darwin.)
- (configure) Use $ac_install_sh to mkdir Contrib/dic/gerodic .
- (do_env.c) Convert non-printable character for logging on JS_OPEN /
  JS_CONNECT. Partial fix of Bugtraq id 7918 ([freewnn:01002]).
  Please don't install jserver as setuid *root* ... (^^;)
- (revdic.c) Fix compiler warnings.
- (some Makefiles) Some lines changed to build correctly if
  builddir != srcdir. (I think this don't break normal build.)

1 #
2 # $Id: INSTALL.en,v 1.3 2002/05/11 13:03:35 hiroo 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
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
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. To install commands, libraries, dictionaries and so on,
58 run make install as a superuser(*3).
59
60 $ su
61 # 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
66
67 # make install.man
68
69 *4: You can ommit this if you do not want manuals installed.
70
71 [Configure options]
72
73 Typing
74
75 $ ./configure --help
76
77 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.
84
85 enabled by default:
86 --enable-libraries compile and install FreeWnn libraries.
87 --enable-server compile and install FreeWnn servers.
88 --enable-Wnn compile and install Wnn (Japanese).
89 --enable-cWnn compile and install cWnn (Chinese).
90 --enable-kWnn compile and install kWnn (Korean).
91
92 disabled by default:
93 --enable-ipv6 enable IPv6 feature.
94 --enable-unsafe-path allow creating files in jserver_dir (*5).
95 --enable-client compile and install uum (*6).
96 --with-libwrap use libwrap (in TCP wrapper) for jserver
97 to enable connection-based access control (*7).
98
99 *5: If the option --enable-unsafe-path is enabled, the [cjkt]server
100 daemons accept creation of an FreeWnn dictionary file in an arbitrary
101 path, and they accept request from client of any hosts.
102 This feature may be a security hole.
103 Unless you used to place FreeWnn dictionary files in a path other than
104 jserver_dir (lib/wnn/$LANG/dic/usr), you should not enable this feature.
105
106 *6: cuum cannot be compiled yet.
107
108 *7: 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