Blame contrib/idn/README.idnkit

Packit 5ce601
Packit 5ce601
                          BIND 9 IDN support
Packit 5ce601
Packit 5ce601
	       Japan Network Information Center (JPNIC)
Packit 5ce601
Packit 5ce601
Packit 5ce601
* Compilation & installation
Packit 5ce601
Packit 5ce601
0. Prerequisite
Packit 5ce601
Packit 5ce601
You have to build and install idnkit before building bind9.
Packit 5ce601
Packit 5ce601
1. Running configure script
Packit 5ce601
Packit 5ce601
Run `configure' in the top directory.  See `README' for the
Packit 5ce601
configuration options.
Packit 5ce601
Packit 5ce601
The following four options to `configure' are relevant to IDN.  You
Packit 5ce601
should at least specify `--with-idn' option to enable IDN support.
Packit 5ce601
Packit 5ce601
    --with-idn[=IDN_PREFIX]
Packit 5ce601
	To enable IDN support, you have to specify `--with-idn' option.
Packit 5ce601
	The argument IDN_PREFIX is the install prefix of idnkit.  If
Packit 5ce601
	IDN_PREFIX is omitted, PREFIX (derived from `--prefix=PREFIX')
Packit 5ce601
	is assumed.
Packit 5ce601
Packit 5ce601
    --with-libiconv[=LIBICONV_PREFIX]
Packit 5ce601
	Specify this option if idnkit you have installed links GNU
Packit 5ce601
	libiconv.  The argument LIBICONV_PREFIX is install prefix of
Packit 5ce601
	GNU libiconv.  If the argument is omitted, PREFIX (derived
Packit 5ce601
	from `--prefix=PREFIX') is assumed.
Packit 5ce601
Packit 5ce601
	`--with-libiconv' is shorthand option for GNU libiconv.
Packit 5ce601
Packit 5ce601
	    --with-libiconv=/usr/local
Packit 5ce601
Packit 5ce601
	This is equivalent to:
Packit 5ce601
Packit 5ce601
	    --with-iconv='-L/usr/local/lib -R/usr/local/lib -liconv'
Packit 5ce601
Packit 5ce601
	`--with-libiconv' assumes that your C compiler has `-R'
Packit 5ce601
	option, and that the option adds the specified run-time path
Packit 5ce601
	to an executable binary.  If `-R' option of your compiler has
Packit 5ce601
	different meaning, or your compiler lacks the option, you
Packit 5ce601
	should use `--with-iconv' option instead.  Binary command
Packit 5ce601
	without run-time path information might be unexecutable.
Packit 5ce601
	In that case, you would see an error message like:
Packit 5ce601
Packit 5ce601
	    error in loading shared libraries: libiconv.so.2: cannot
Packit 5ce601
	    open shared object file
Packit 5ce601
Packit 5ce601
	If both `--with-libiconv' and `--with-iconv' options are
Packit 5ce601
	specified, `--with-iconv' is prior to `--with-libiconv'.
Packit 5ce601
Packit 5ce601
    --with-iconv=ICONV_LIBSPEC
Packit 5ce601
	If your libc doesn't provide iconv(), you need to specify the
Packit 5ce601
	library containing iconv() with this option.  `ICONV_LIBSPEC'
Packit 5ce601
	is the argument(s) to `cc' or `ld' to link the library, for
Packit 5ce601
	example, `--with-iconv="-L/usr/local/lib -liconv"'.
Packit 5ce601
	You don't need to specify the header file directory for "iconv.h"
Packit 5ce601
	to the compiler, as it isn't included directly by bind9.
Packit 5ce601
Packit 5ce601
    --with-idnlib=IDN_LIBSPEC
Packit 5ce601
	With this option, you can explicitly specify the argument(s)
Packit 5ce601
	to `cc' or `ld' to link the idnkit's library, `libidnkit'.  If
Packit 5ce601
	this option is not specified, `-L${PREFIX}/lib -lidnkit' is
Packit 5ce601
	assumed, where ${PREFIX} is the installation prefix specified
Packit 5ce601
	with `--with-idn' option above.  You may need to use this
Packit 5ce601
	option to specify extra arguments, for example,
Packit 5ce601
	`--with-idnlib="-L/usr/local/lib -R/usr/local/lib -lidnkit"'.
Packit 5ce601
Packit 5ce601
Please consult `README' for other configuration options.
Packit 5ce601
Packit 5ce601
Note that if you want to specify some extra header file directories,
Packit 5ce601
you should use the environment variable STD_CINCLUDES instead of
Packit 5ce601
CFLAGS, as described in README.
Packit 5ce601
Packit 5ce601
2. Compilation and installation
Packit 5ce601
Packit 5ce601
After running "configure", just do
Packit 5ce601
Packit 5ce601
	make
Packit 5ce601
	make install
Packit 5ce601
Packit 5ce601
for compiling and installing.
Packit 5ce601
Packit 5ce601
Packit 5ce601
* Contact information
Packit 5ce601
Packit 5ce601
Please see http://www.nic.ad.jp/en/idn/ for the latest news
Packit 5ce601
about idnkit.
Packit 5ce601
Packit 5ce601
Bug reports and comments on this kit should be sent to
Packit 5ce601
mdnkit-bugs@nic.ad.jp and idn-cmt@nic.ad.jp, respectively.
Packit 5ce601
Packit 5ce601
; $Id: README.idnkit,v 1.1 2009/12/04 20:14:28 each Exp $