なんとなく 動くので 良いと 思っているが もうすこし
$ uname -a Linux lx 2.4.22 #22 Thu Mar 23 21:25:39 JST 2006 i686 unknown $ ls /usr/lib/setup/ | grep -i plamo plamo-3.3
インストール する場合の configure に ついて
# ./configure -h
`configure' configures this package to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']
Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]
System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-threads      enable multithreading
    --enable-shared=PKGS  build shared libraries default=yes
    --enable-static=PKGS  build static libraries default=yes
    --enable-fast-install=PKGS  optimize for fast installation default=yes
    --disable-libtool-lock  avoid locking (might break parallel builds)
  --enable-libbind              build libbind default=no
  --enable-ipv6         use IPv6 default=autodetect
  --disable-linux-caps  disable linux capabilities
Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-openssl=PATH   Build with OpenSSL yes|no|path.
                          (Required for DNSSEC)
  --with-randomdev=PATH Specify path for random device
  --with-ptl2           on NetBSD, use the ptl2 thread library (experimental)
  --with-purify=PATH    use Rational purify
  --with-libtool        use GNU libtool (following indented options supported)
    --with-gnu-ld           assume the C compiler uses GNU ld default=no
    --with-pic              try to use only PIC/non-PIC objects default=use both
  --with-kame=PATH      use Kame IPv6 default path /usr/local/v6
Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
              nonstandard directory 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I if you have
              headers in a nonstandard directory 
  CPP         C preprocessor
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.    
概略 bind configure example 01
$ ./configure --prefix=/usr/local/named \ /* binary の 存在場所 */ --sysconfdir=/etc \ /* named.conf の 場所 */ --with-openssl=no \ /* openssl 無い場合 */ --enable-ipv6=no /* ipv6 使用しない場合 */ cf; # which openssl /usr/bin/openssl
概略 bind configure example 02
$ ./configure  --prefix=/usr \
              --sysconfdir=/etc \
              --enable-threads=no \
              --with-openssl=/usr/local/openssl \
              --localstatedir=/var
概略 bind configure example 03
# ./configure --prefix=/usr/local --disable-ipv6 --disable-threads
概略 bind configure example 04
# ./configure --with-openssl=/usr
にゃんたろうの 場合は 勿論 ./configure のみである。
# ./configure 2>&1 |tee 002_configure_bind
にゃんたろう 拝!
2006年 4月 1日 (土) 21:35:00 JST 作成