#
#  $Id: INSTALL,v 1.9 2010/07/11 10:18:16 aonoto Exp $
#

#
# FreeWnn is a network-extensible Kana-to-Kanji conversion system.
# This file is part of FreeWnn.
# 
# Copyright Kyoto University Research Institute for Mathematical Sciences
#                 1987, 1988, 1989, 1990, 1991, 1992
# Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
# Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
# Copyright FreeWnn Project 1999, 2000, 2002, 2006, 2007, 2010
# 
# Maintainer:  FreeWnn Project
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#

        FreeWnn 󥹥ȡΤ


ڴŪʥ󥹥ȡμ

1. եŸޤ

        $ gzcat FreeWnn-*.tar.gz | tar xvf -

        1: * ʬϥСˤäѤޤ

2. FreeWnn-*/ ˰ܤޤ

        $ cd FreeWnn-*

3. configure ¹Ԥޤ

        $ ./configure

	2: configure ΥץˤĤƤϡޤ
	     ./configure --help 򻲾ȤƲ

4. make ޤ

        $ make

5. (Фۤ)桼 wnn ޤ

	˥桼 wnn ¸ߤפǤ
	桼 wnnǥ󤹤ɬפϤʤᡢѥɤå(ޤ
	֤)ƤƲ
	桼κˡ
	ȤΥƥ˰¸ޤΤǡܺ٤ϤΥƥΥޥ˥奢
	ʤɤ򻲾ȤƤ

	3: [cjkt]server ϥƥեؤαƶ򾯤ʤ뤿ᡢ
	     桼 wnn θ¤ưޤޤ桼ïǤ
	     ưǤ褦˥桼 wnn  setuid֤ǥ󥹥ȡ
	     ޤ

6. ѡ桼ˤʤä make install ޤ

        $ su
        # make install

	4: ߤΤȤѡ桼ʳǤΥ󥹥ȡϤޤ
	     ޤ

7. ޥ˥奢򥤥󥹥ȡ뤷ޤ

        # make install.man

        5: ޥ˥奢뤬פǤоάƹޤ


configure Υץ

 	$ ./configure --help

ǡconfigure դ륪ץΰɽޤ
㤨СǥեȤǤ /usr/local ʲ˥󥹥ȡ뤵ޤ
/opt/FreeWnn ѹ硢--prefix ץꤷޤ

        $ ./configure --prefix=/opt/freewnn

FreeWnn ȼ configure option ΤʤΤϰʲ̤Ǥ

  default ͭʤ:
  --enable-libraries    FreeWnn Υ饤֥ڤӥ󥹥ȡ뤷ޤ
  --enable-server       FreeWnn Сڤӥ󥹥ȡ뤷ޤ
  --enable-Wnn          Wnn (ܸ) ڤӥ󥹥ȡ뤷ޤ
  --enable-cWnn         cWnn () ڤӥ󥹥ȡ뤷ޤ
  --enable-kWnn         kWnn (ڹ) ڤӥ󥹥ȡ뤷ޤ
  --enable-traditional-layout
			̵ˤ硢ǯΥեȤ
			褯Ѥǥ쥯ȥ깽ǥ󥹥ȡ뤷褦Ȥޤ
			ͭΤޤޤξϡWnn4Υ󥹥ȡ
			सǥ쥯ȥ깽ǥ󥹥ȡ뤷ޤ(6)

  default ̵ʤ:
  --enable-ipv6         IPv6 ͭˤޤ
  --enable-unsafe-path  jserverdir ʳΥǥ쥯ȥ jserver ե
                        ΤĤޤ(7)
  --enable-client	uum ڤӥ󥹥ȡ뤷ޤ

  configureɬ饤֥¸ߤǧ:
  --with-libwrap	TCP wrapperlibwrapѤjserver³Ǥ
			¤ǽˤޤ(8)
  --enable-client-utmp	(uum)uumݤü
			utmpϿwhoޥɤʤɤǻȤǤ褦
			ޤ(Υƥͭˤʤޤ)
  --enable-client-setuid[=user]
			(uum)ꤷuser(̤ξ
			root)set-uiduum򥤥󥹥ȡ뤷ޤ
			ΥץΤꤷʤϡȽ̷̤
			ɬפʾset-uidޤ
  --enable-client-setgid=group
			(uum)ꤷgroupset-gid
			uum򥤥󥹥ȡ뤷ޤҤΥץȰۤʤꡢ
			groupɬꤹɬפޤ
			ΥץΤꤷʤϡȽ̷̤
			ɬפʾset-gidޤ
  --enable-sub-bindir	ޥ򥤥󥹥ȡ뤹ݡ̤
			Wnn4פʤɤΥ֥ǥ쥯ȥ뤫ɤ
			椷ޤꤷʤϡ
			--enable-traditional-layout ץͭλˤ
			̵ͭλˤ̵Ȥʤޤ(6)

6: FHS (File Hierarchy Standard)˶Ť뤳ȤտޤƤޤ
  Ǥϥѥ᡼ˤꡢ󥹥ȡ뤹ѥ˰ʲѲޤ

  (ե)			enable			disable
  jserver, wnnstat, wnnkill	$(bindir)/*Wnn4		$(sbindir)
  ¾Υޥ		$(bindir)/*Wnn4		$(bindir)

  *Wnn4פϸ˱ơWnn4סcWnn4סkWnn4פΤ줫Ѥޤ
  *Wnn4פ뤫ɤ --enable-sub-bindir Ǥޤ

7: [cjkt]server ϡǤդ host ׵դƤޤޤ
  --enable-unsafe-path ͭˤȡǤդ host  jserver ¹ԥ桼
  θ¤ǡǤդ path  Wnn μե뤳ȤǤƤޤ
  ޤ衢home directory ʤɡlib/wnn/$LANG/dic/usr ʳ˼ե
  򤪤ƱѤƤꡢʤʳϡΥץ
  ꤷʤȤ򤪴ᤷޤ
  Υץ̵ͭ˴ؤʤդ桼 jserverdir
  (̾ /usr/local/lib/wnn/$LANG/dic) ʲ˼ե뤳Ȥ
  ɤޤ

8: --enable-ipv6Ʊ˻ꤹ硢libwrapIPv6бǤɬפޤ
