見出し画像

Appendix Samba3 ./configure --help

Samba3をソースからインストールするときの ./configure で設定可能なインストールオプション


[root@rocky9-samba31 source3]#
[root@rocky9-samba31 source3]# pwd
/root/samba-3.6.25/source3
[root@rocky9-samba31 source3]#
[root@rocky9-samba31 source3]# ./configure --help
`configure' configures Samba 3 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/samba]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/samba/bin', `/usr/local/samba/lib' etc.  You can specify
an installation prefix other than `/usr/local/samba' 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]
  --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]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/samba]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  --target=TARGET   configure for building compilers for TARGET [HOST]

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-debug          Turn on compiler debugging information (default=no)
  --enable-developer      Turn on developer warnings and debugging
                          (default=no)
  --enable-krb5developer  Turn on developer warnings and debugging, except
                          -Wstrict-prototypes (default=no)
  --enable-picky-developer
                          Halt compilation on warnings
  --disable-largefile     omit support for large files
  --enable-socket-wrapper Turn on socket wrapper library (default=no)
  --enable-nss-wrapper    Turn on nss wrapper library (default=no)
  --enable-swat           Build the SWAT tool (default=yes)
  --enable-smbtorture4    Enable building smbtorture4 (default=auto)
  --enable-cups           Turn on CUPS support (default=auto)
  --enable-iprint         Turn on iPrint support (default=yes if cups is yes)
  --enable-static=PKGS    build static libraries default=no
  --enable-shared=PKGS    build shared libraries default=yes
  --enable-pie            Turn on pie support if available (default=yes)
  --enable-relro          Turn on Relocations Read-Only (relro) support if
                          available (default=yes)
  --enable-as-needed      Turn on as-needed support if available (default=no)
  --enable-shared-libs    Use shared libraries internally (default=yes)
  --enable-external-libtalloc
                          Enable external talloc [default=auto]
  --enable-external-libtevent
                          Enable external tevent [default=auto]
  --enable-external-libtdb
                          Enable external tdb [default=auto]
  --enable-fam            Turn on FAM support (default=auto)
  --enable-old-ctdb       Enable build against (too) old ctdb version
                          (default=no)
  --enable-dnssd          Enable DNS service discovery support (default=no)
  --enable-avahi          Enable Avahi support (default=auto)
  --enable-pthreadpool    Enable pthreads pool helper support (default=no)
  --enable-dmalloc        Enable heap debugging [default=no]

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-fhs              Use FHS-compliant paths (default=no)
  --with-privatedir=DIR   Where to put smbpasswd ($ac_default_prefix/private)
  --with-rootsbindir=DIR  Which directory to use for root sbin
                          ($ac_default_prefix/sbin)
  --with-lockdir=DIR      Where to put lock files
                          ($ac_default_prefix/var/locks)
  --with-statedir=DIR     Where to put persistent state files
                          ($ac_default_prefix/var/locks)
  --with-cachedir=DIR     Where to put temporary cache files
                          ($ac_default_prefix/var/locks)
  --with-piddir=DIR       Where to put pid files
                          ($ac_default_prefix/var/locks)
  --with-ncalrpcdir=DIR   Where to put ncalrpc sockets
                          ($ac_default_prefix/var/ncalrpc)
  --with-nmbdsocketdir=DIR
                          Where to put the nmbd socket directory
                          ($ac_default_prefix/var/nmbd)
  --with-swatdir=DIR      Where to put SWAT files ($ac_default_prefix/swat)
  --with-configdir=DIR    Where to put configuration files ($libdir)
  --with-logfilebase=DIR  Where to put log files ($VARDIR)
  --with-modulesdir=DIR   Where to put shared modules ($libdir)
  --with-pammodulesdir=DIR
                          Which directory to use for PAM modules
                          ($ac_default_prefix/$libdir/security)
  --with-mandir=DIR       Where to put man pages ($mandir)
  --with-localedir=DIR    Where to put po files
                          ($ac_default_prefix/share/locale)
  --with-codepagedir=DIR  Where to put codepages
                          ($ac_default_prefix/lib/samba)
  --with-selftest-prefix=DIR
                          The prefix where make test will be run
                          ($selftest_prefix)
  --with-selftest-shrdir=DIR
                          The share directory that make test will be run
                          against ($selftest_shrdir)
  --with-smbtorture4-path=PATH
                          The path to a samba4 smbtorture for make test (none)
  --with-selftest-custom-conf=PATH
                          An optional custom smb.conf that is included in the
                          server smb.conf during make test(none)
  --with-cfenc=HEADERDIR  Use internal CoreFoundation encoding API for
                          optimization (Mac OS X/Darwin only)
  --with-profiling-data   Include gathering source code profile information
                          (default=no)
  --with-readline=DIR     Look for readline include/libs in DIR (default=auto)
  --with-static-libs=LIBS Comma-separated list of names of (internal)
                          libraries to link statically (instead of
                          dynamically)
  --with-libtalloc        Build the libtalloc shared library (default=yes if
                          shared libs supported)
  --with-libtevent        Build the libtevent shared library (default=yes if
                          shared libs supported)
  --with-libtdb           Build the libtdb shared library (default=yes if
                          shared libs supported)
  --with-libnetapi        Build the libnetapi shared library (default=yes if
                          shared libs supported)
  --with-libsmbclient     Build the libsmbclient shared library (default=yes if
                          shared libs supported)
  --with-libsmbsharemodes Build the libsmbsharemodes shared library (default=yes if
                          shared libs supported)
  --with-libaddns         Build the libaddns shared library (default=no
                          (undefined API))
  --with-libiconv=BASEDIR Use libiconv in BASEDIR/lib and BASEDIR/include
                          (default=auto)
  --with-dmapi            Include DMAPI/XDSM support (default=auto)
  --with-afs              Include AFS clear-text auth support (default=no)
  --with-fake-kaserver    Include AFS fake-kaserver support (default=no)
  --with-vfs-afsacl       Include AFS to NT ACL mapping module (default=no)
  --with-dce-dfs          Include DCE/DFS clear-text auth support (default=no)
  --with-ldap             LDAP support (default=auto)
  --with-ads              Active Directory support (default=auto)
  --with-krb5=base-dir    Locate Kerberos 5 support (default=/usr)
  --with-dnsupdate        Enable DNS Updates support (default=auto)
  --with-automount        Include automount support (default=no)
  --with-pam              Include PAM support (default=auto)
  --with-pam_smbpass      Build PAM module for authenticating against passdb
                          backends (default=auto)
  --with-nisplus-home     Include NISPLUS_HOME support (default=no)
  --with-syslog           Include experimental SYSLOG support (default=no)
  --with-syslog-facility  Use a custom syslog facility (default=none)
  --with-quotas           Include disk-quota support (default=no)
  --with-sys-quotas       Include lib/sysquotas.c support (default=auto)
  --with-utmp             Include utmp accounting (default, if supported by
                          OS)
  --with-cluster-support  Enable cluster extensions (default=auto)
  --with-ctdb=DIR         Where to find ctdb sources
  --with-acl-support      Include ACL support (default=auto)
  --with-aio-support      Include asynchronous io support (default=no)
  --with-sendfile-support Whether sendfile support should be built in
                          (default=auto)
  --with-wbclient         Use external wbclient (optional)
  --with-winbind          Build winbind (default, if supported by OS)
  --with-included-popt    use bundled popt library, not from system
  --with-included-iniparser
                          use bundled iniparser library, not from system
  --with-static-modules=MODULES
                          Comma-separated list of names of modules to
                          statically link in
  --with-shared-modules=MODULES
                          Comma-separated list of names of modules to build
                          shared

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CPP         C preprocessor
  PYTHON_VER  The installed Python version to use, for example '2.3'. This
              string will be appended to the Python interpreter canonical
              name.
  PKG_CONFIG  path to pkg-config utility
  LIBTALLOC_CFLAGS
              C compiler flags for LIBTALLOC, overriding pkg-config
  LIBTALLOC_LIBS
              linker flags for LIBTALLOC, overriding pkg-config
  LIBTEVENT_CFLAGS
              C compiler flags for LIBTEVENT, overriding pkg-config
  LIBTEVENT_LIBS
              linker flags for LIBTEVENT, overriding pkg-config
  LIBTDB_CFLAGS
              C compiler flags for LIBTDB, overriding pkg-config
  LIBTDB_LIBS linker flags for LIBTDB, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <samba-technical@samba.org>.
[root@rocky9-samba31 source3]# history

この記事が気に入ったらサポートをしてみませんか?