1. [root@localhost mysql-5.1.34]# ./configure -h  
  2. `configure' configures this package to adapt to many kinds of systems.  
  3.  
  4. Usage: ./configure [OPTION]... [VAR=VALUE]...  
  5.  
  6. To assign environment variables (e.g., CC, CFLAGS...), specify them as  
  7. VAR=VALUE.  See below for descriptions of some of the useful variables.  
  8.  
  9. Defaults for the options are specified in brackets.  
  10.  
  11. Configuration:  
  12.   -h, --help              display this help and exit  
  13.       --help=short        display options specific to this package  
  14.       --help=recursive    display the short help of all the included packages  
  15.   -V, --version           display version information and exit  
  16.   -q, --quiet, --silent   do not print `checking...' messages  
  17.       --cache-file=FILE   cache test results in FILE [disabled]  
  18.   -C, --config-cache      alias for `--cache-file=config.cache'  
  19.   -n, --no-create         do not create output files  
  20.       --srcdir=DIR        find the sources in DIR [configure dir or `..']  
  21.  
  22. Installation directories:  
  23.   --prefix=PREFIX         install architecture-independent files in PREFIX  
  24.                           [/usr/local]  
  25.   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX  
  26.                           [PREFIX]  
  27.  
  28. By default, `make install' will install all the files in  
  29. `/usr/local/bin', `/usr/local/lib' etc.  You can specify  
  30. an installation prefix other than `/usr/local' using `--prefix',  
  31. for instance `--prefix=$HOME'.  
  32.  
  33. For better control, use the options below.  
  34.  
  35. Fine tuning of the installation directories:  
  36.   --bindir=DIR            user executables [EPREFIX/bin]  
  37.   --sbindir=DIR           system admin executables [EPREFIX/sbin]  
  38.   --libexecdir=DIR        program executables [EPREFIX/libexec]  
  39.   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]  
  40.   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]  
  41.   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]  
  42.   --libdir=DIR            object code libraries [EPREFIX/lib]  
  43.   --includedir=DIR        C header files [PREFIX/include]  
  44.   --oldincludedir=DIR     C header files for non-gcc [/usr/include]  
  45.   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]  
  46.   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]  
  47.   --infodir=DIR           info documentation [DATAROOTDIR/info]  
  48.   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]  
  49.   --mandir=DIR            man documentation [DATAROOTDIR/man]  
  50.   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]  
  51.   --htmldir=DIR           html documentation [DOCDIR]  
  52.   --dvidir=DIR            dvi documentation [DOCDIR]  
  53.   --pdfdir=DIR            pdf documentation [DOCDIR]  
  54.   --psdir=DIR             ps documentation [DOCDIR]  
  55.  
  56. Program names:  
  57.   --program-prefix=PREFIX            prepend PREFIX to installed program names  
  58.   --program-suffix=SUFFIX            append SUFFIX to installed program names  
  59.   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names  
  60.  
  61. System types:  
  62.   --build=BUILD     configure for building on BUILD [guessed]  
  63.   --host=HOST       cross-compile to build programs to run on HOST [BUILD]  
  64.   --target=TARGET   configure for building compilers for TARGET [HOST]  
  65.  
  66. Optional Features:  
  67.   --disable-option-checking  ignore unrecognized --enable/--with options  
  68.   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)  
  69.   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]  
  70.   --disable-dependency-tracking  speeds up one-time build  
  71.   --enable-dependency-tracking   do not reject slow dependency extractors  
  72.   --enable-shared[=PKGS]  build shared libraries [default=yes]  
  73.   --enable-static[=PKGS]  build static libraries [default=yes]  
  74.   --enable-fast-install[=PKGS]  
  75.                           optimize for fast installation [default=yes]  
  76.   --disable-libtool-lock  avoid locking (might break parallel builds)  
  77.   --disable-community-features  
  78.                           Disable additional features provided by the user  
  79.                           community.  
  80.   --disable-thread-safe-client  
  81.                           Compile the client without threads.  
  82.   --enable-assembler      Use assembler versions of some string  
  83.                           functions if available.  
  84.   --enable-profiling      Build a version with query profiling code (req.  
  85.                           community-features)  
  86.   --enable-local-infile   Enable LOAD DATA LOCAL INFILE (default: disabled)  
  87.   --disable-grant-options Disables the use of --init-file, --skip-grant-tables and --bootstrap options  
  88.   --disable-largefile     Omit support for large files  
  89.  
  90. Optional Packages:  
  91.   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]  
  92.   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)  
  93.   --with-charset=CHARSET 
  94.                           Default character set, use one of:  
  95.                           binary  
  96.                           armscii8 ascii big5 cp1250 cp1251 cp1256 cp1257  
  97.                           cp850 cp852 cp866 cp932 dec8 eucjpms euckr gb2312 gbk geostd8  
  98.                           greek hebrew hp8 keybcs2 koi8r koi8u  
  99.                           latin1 latin2 latin5 latin7 macce macroman  
  100.                           sjis swe7 tis620 ucs2 ujis utf8  
  101.   --with-collation=COLLATION 
  102.                           Default collation  
  103.   --with-extra-charsets=CHARSET,CHARSET,...  
  104.                           Use charsets in addition to default (none, complex,  
  105.                           all, or a list selected from the above sets)  
  106.   --without-uca           Skip building of the national Unicode collations.  
  107.  
  108.   --with-system-type      Set the system type, like "sun-solaris10"  
  109.   --with-machine-type     Set the machine type, like "powerpc"  
  110.   --with-darwin-mwcc      Use Metrowerks CodeWarrior wrappers on OS X/Darwin  
  111.   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]  
  112.   --with-pic              try to use only PIC/non-PIC objects [default=use 
  113.                           both]  
  114.   --with-tags[=TAGS]      include additional configurations [automatic]  
  115.   --with-other-libc=DIR   Link against libc and other standard libraries  
  116.                           installed in the specified non-standard location  
  117.                           overriding default. Originally added to be able to  
  118.                           link against glibc 2.2 without making the user  
  119.                           upgrade the standard libc installation.  
  120.   --with-server-suffix    Append value to the version string.  
  121.   --with-pthread          Force use of pthread library.  
  122.   --with-named-thread-libs=ARG 
  123.                           Use specified thread libraries instead of  
  124.                           those automatically found by configure.  
  125.   --with-named-curses-libs=ARG 
  126.                           Use specified curses libraries instead of  
  127.                           those automatically found by configure.  
  128.   --with-unix-socket-path=SOCKET 
  129.                           Where to put the unix-domain socket.  SOCKET must be  
  130.                           an absolute file name.  
  131.   --with-tcp-port=port-number  
  132.                           Which port to use for MySQL services (default 3306)  
  133.   --with-mysqld-user=username 
  134.                           What user the mysqld daemon shall be run as.  
  135.   --with-zlib-dir=no|bundled|DIR  
  136.                           Provide MySQL with a custom location of compression  
  137.                           library. Given DIR, zlib binary is assumed to be in  
  138.                           $DIR/lib and header files in $DIR/include.  
  139.   --with-libwrap=DIR      Compile in libwrap (tcp_wrappers) support  
  140.   --with-pstack           Use the pstack backtrace library  
  141.   --with-debug            Add debug code  
  142.   --with-debug=full       Add debug code (adds memory checker, very slow)  
  143.   --with-error-inject     Enable error injection in MySQL Server  
  144.   --with-fast-mutexes     Compile with fast mutexes (default is disabled)  
  145.   --with-atomic-ops=rwlocks|smp|up  
  146.                           Implement atomic operations using pthread rwlocks or  
  147.                           atomic CPU instructions for multi-processor  
  148.                           (default) or uniprocessor configuration  
  149.   --with-mysqld-ldflags   Extra linking arguments for mysqld  
  150.   --with-client-ldflags   Extra linking arguments for clients  
  151.   --with-mysqld-libs   Extra libraries to link with for mysqld  
  152.   --with-lib-ccflags      Extra CC options for libraries  
  153.   --with-low-memory       Try to use less memory to compile to avoid  
  154.                           memory limitations.  
  155.   --with-comment          Comment about compilation environment.  
  156.   --with-big-tables       Support tables with more than 4 G rows even on 32  
  157.                           bit platforms  
  158.   --with-max-indexes=N    Sets the maximum number of indexes per table,  
  159.                           default 64  
  160.   --with-ssl=DIR    Include SSL support  
  161.   --with-plugins=PLUGIN[[[,PLUGIN..]]]  
  162.                           Plugins to include in mysqld. (default is: none)  
  163.                           Must be a configuration name or a comma separated  
  164.                           list of plugins.  
  165.                           Available configurations are: none max max-no-ndb  
  166.                           all.  
  167.                           Available plugins are: partition daemon_example  
  168.                           ftexample archive blackhole csv example federated  
  169.                           heap ibmdb2i innobase myisam myisammrg ndbcluster.  
  170.   --without-plugin-PLUGIN Disable the named plugin from being built.  
  171.                           Otherwise, for plugins which are not selected for  
  172.                           inclusion in mysqld will be built dynamically (if  
  173.                           supported)  
  174.   --with-plugin-PLUGIN    Forces the named plugin to be linked into mysqld  
  175.                           statically.  
  176.   --with-ndb-sci=DIR      Provide MySQL with a custom location of sci library.  
  177.                           Given DIR, sci library is assumed to be in $DIR/lib  
  178.                           and header files in $DIR/include.  
  179.  
  180.   --with-ndb-test       Include the NDB Cluster ndbapi test programs  
  181.  
  182.   --with-ndb-docs       Include the NDB Cluster ndbapi and mgmapi documentation  
  183.  
  184.   --with-ndb-port       Port for NDB Cluster management server  
  185.  
  186.   --with-ndb-port-base  Base port for NDB Cluster transporters  
  187.  
  188.   --without-ndb-debug   Disable special ndb debug features  
  189.   --with-ndb-ccflags=CFLAGS 
  190.                           Extra CFLAGS for ndb compile  
  191.  
  192.   --without-ndb-binlog       Disable ndb binlog  
  193.   --without-server        Only build the client.  
  194.   --with-embedded-server  Build the embedded server (libmysqld).  
  195.   --without-query-cache   Do not build query cache.  
  196.   --without-geometry      Do not build geometry-related parts.  
  197.   --with-embedded-privilege-control  
  198.                           Build parts to check user's privileges.  
  199.                           Only affects embedded library.  
  200.   --with-mysqlmanager     Build the mysqlmanager binary: yes/no (default:  
  201.                           build if server is built.)  
  202.   --without-docs          Skip building of the documentation.  
  203.   --without-man          Skip building of the man pages.  
  204.   --without-readline      Use system readline instead of bundled copy.  
  205.   --without-libedit       Use system libedit instead of bundled copy.  
  206.  
  207. Some influential environment variables:  
  208.   CC          C compiler command  
  209.   CFLAGS      C compiler flags  
  210.   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a  
  211.               nonstandard directory <lib dir> 
  212.   LIBS        libraries to pass to the linker, e.g. -l<library> 
  213.   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if  
  214.               you have headers in a nonstandard directory <include dir> 
  215.   CXX         C++ compiler command  
  216.   CXXFLAGS    C++ compiler flags  
  217.   CPP         C preprocessor  
  218.   CXXCPP      C++ preprocessor  
  219.   F77         Fortran 77 compiler command  
  220.   FFLAGS      Fortran 77 compiler flags  
  221.   CCAS        assembler compiler command (defaults to CC)  
  222.   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)  
  223.  
  224. Use these variables to override the choices made by `configure' or to help  
  225. it to find libraries and programs with nonstandard names/locations.  
  226.  
  227. Description of plugins: 
  228.  
  229.    === Partition Support ===  
  230.   Plugin Name:      partition  
  231.   Description:      MySQL Partitioning Support  
  232.   Supports build:   static  
  233.   Configurations:   max, max-no-ndb 
  234.  
  235.    === Daemon Example Plugin ===  
  236.   Plugin Name:      daemon_example  
  237.   Description:      This is an example plugin daemon.  
  238.   Supports build:   dynamic 
  239.  
  240.    === Simple Parser ===  
  241.   Plugin Name:      ftexample  
  242.   Description:      Simple full-text parser plugin  
  243.   Supports build:   dynamic 
  244.  
  245.    === Archive Storage Engine ===  
  246.   Plugin Name:      archive  
  247.   Description:      Archive Storage Engine  
  248.   Supports build:   static and dynamic  
  249.   Configurations:   max, max-no-ndb 
  250.  
  251.    === Blackhole Storage Engine ===  
  252.   Plugin Name:      blackhole  
  253.   Description:      Basic Write-only Read-never tables  
  254.   Supports build:   static and dynamic  
  255.   Configurations:   max, max-no-ndb 
  256.  
  257.    === CSV Storage Engine ===  
  258.   Plugin Name:      csv  
  259.   Description:      Stores tables in text CSV format  
  260.   Supports build:   static  
  261.   Status:           mandatory 
  262.  
  263.    === Example Storage Engine ===  
  264.   Plugin Name:      example  
  265.   Description:      Example for Storage Engines for developers  
  266.   Supports build:   dynamic  
  267.   Configurations:   max, max-no-ndb 
  268.  
  269.    === Federated Storage Engine ===  
  270.   Plugin Name:      federated  
  271.   Description:      Connects to tables on remote MySQL servers  
  272.   Supports build:   static and dynamic  
  273.   Configurations:   max, max-no-ndb 
  274.  
  275.    === Memory Storage Engine ===  
  276.   Plugin Name:      heap  
  277.   Description:      Volatile memory based tables  
  278.   Supports build:   static  
  279.   Status:           mandatory 
  280.  
  281.    === IBM DB2 for i Storage Engine ===  
  282.   Plugin Name:      ibmdb2i  
  283.   Description:      IBM DB2 for i Storage Engine  
  284.   Supports build:   dynamic  
  285.   Configurations:   max, max-no-ndb 
  286.  
  287.    === InnoDB Storage Engine ===  
  288.   Plugin Name:      innobase  
  289.   Description:      Transactional Tables using InnoDB  
  290.   Supports build:   static and dynamic  
  291.   Configurations:   max, max-no-ndb 
  292.  
  293.    === MyISAM Storage Engine ===  
  294.   Plugin Name:      myisam  
  295.   Description:      Traditional non-transactional MySQL tables  
  296.   Supports build:   static  
  297.   Status:           mandatory 
  298.  
  299.    === MyISAM MERGE Engine ===  
  300.   Plugin Name:      myisammrg  
  301.   Description:      Merge multiple MySQL tables into one  
  302.   Supports build:   static  
  303.   Status:           mandatory 
  304.  
  305.    === Cluster Storage Engine ===  
  306.   Plugin Name:      ndbcluster  
  307.   Description:      High Availability Clustered tables  
  308.   Supports build:   static  
  309.   Configurations:   max 

本日志由 flyinweb 于 2009-09-28 16:36:10 发表,目前已经被浏览 4231 次,评论 0 次;

作者添加了以下标签: mysqlconfigure

引用通告:http://www.517sou.net/Article/267/Trackback.ashx

评论订阅:http://www.517sou.net/Article/267/Feeds.ashx

评论列表

    暂时没有评论
(必填)
(必填,不会被公开)