linux mysql编译参数,Mysql 编译参数详解

--disable-allDisable all extensions which are enabled by default关闭默认为启用的所有扩展功能

--disable-libxmlDisable LIBXML support禁用LIBXML支持

--with-libxml-dir[=DIR]LIBXML: libxml2 install prefixLIBXML安装目录

--with-openssl[=DIR]Include OpenSSL support (requires OpenSSL >= 0.9.6)启用openssl支持

--with-kerberos[=DIR]OPENSSL: Include Kerberos support包含kerberos支持

--without-pcre-regexDo not include Perl Compatible Regular Expressions support.DIR is the PCRE install prefix [BUNDLED]禁用pcre(perl兼容正则表达式)支持。

--with-zlib[=DIR]Include ZLIB support (requires zlib >= 1.0.9)启用zlib支持

--with-zlib-dir=

--enable-bcmathEnable bc style precision math functions启用bcmatch(公元前风格精度数学)

--with-bz2[=DIR]Include BZip2 support包含BZip2支持

--enable-calendarEnable support for calendar conversion启用日历转换支持

--disable-ctypeDisable ctype functions禁用ctype功能

--with-curl[=DIR]Include cURL support启用cURL支持

--with-curlwrappersUse cURL for url streams使用cURL作为网址流

--enable-dbaBuild DBA with bundled modules. To build shared DBA extension use --enable-dba=shared构架捆绑模块的DBA。要建立扩展的共享模块使用--enable-dba=shared参数。

--with-qdbm[=DIR]DBA: QDBM support启用QDBM支持

--with-gdbm[=DIR]DBA: GDBM support启用GDBM支持

--with-ndbm[=DIR]DBA: NDBM support启用NDBM支持

--with-db4[=DIR]DBA: Berkeley DB4 support启用Berkeley DB4支持

--with-db3[=DIR]DBA: Berkeley DB3 support启用Berkeley DB3支持

--with-db2[=DIR]DBA: Berkeley DB2 support启用Berkeley DB2支持

--with-db1[=DIR]DBA: Berkeley DB1 support/emulation启用Berkeley DB1支持/仿真

--with-dbm[=DIR]DBA: DBM support启用DBM支持

--without-cdb[=DIR]DBA: CDB support (bundled)启用CDB支持(捆绑方式)

--disable-inifileDBA: INI support (bundled)启用INI支持(捆绑方式)

--disable-flatfileDBA: FlatFile support (bundled)启用QDBM支持(捆绑方式)

--enable-dbaseEnable the bundled dbase library启用捆绑的dbase库

--disable-domDisable DOM support禁用DOM支持

--with-libxml-dir[=DIR]DOM: libxml2 install prefix启用libxml2并指定其安装目录

--enable-exifEnable EXIF (metadata from p_w_picpaths) support启用EXIF支持(从图片中获取元数据)

--with-fbsql[=DIR]Include FrontBase support. DIR is the FrontBase base directory包含FrontBase支持

--with-fdftk[=DIR]Include FDF support包含FDF支持

--disable-filterDisable input filter support禁用输入过滤支持

--with-pcre-dirFILTER: pcre install prefix pcre支持及其安装目录

--enable-ftpEnable FTP support启用ftp支持

--with-openssl-dir[=DIR]FTP: openssl install prefix指定openssl的安装目录

--with-gd[=DIR]Include GD support. DIR is the GD library base install directory [BUNDLED]启用GD支持并指定GD库的安装目录

--with-jpeg-dir[=DIR]GD: Set the path to libjpeg install prefix指定libjpeg的安装目录

--with-png-dir[=DIR]GD: Set the path to libpng install prefix指定libpng的安装目录

--with-zlib-dir[=DIR]GD: Set the path to libz install prefix指定libz的安装目录

--with-xpm-dir[=DIR]GD: Set the path to libXpm install prefix指定libXpm的安装目录

--with-ttf[=DIR]GD: Include FreeType 1.x support指定FreeType 1.x的安装目录

--with-freetype-dir[=DIR]GD: Set the path to FreeType 2 install prefix指定FreeType2的安装目录

--with-t1lib[=DIR]GD: Include T1lib support. T1lib version >= 5.0.0 required指定T1lib支持

--enable-gd-native-ttfGD: Enable TrueType string function启用TureType字符功能

--enable-gd-jis-convGD: Enable JIS-mapped Japanese font support启用JIS-mapped日语字体支持

--with-gettext[=DIR]Include GNU gettext support包含GNU gettext支持

--with-gmp[=DIR]Include GNU MP support启用GNU MP支持

--disable-hashDisable hash support禁用hash支持

--without-iconv[=DIR]Exclude iconv support禁用iconv支持

--with-imap[=DIR]Include IMAP support. DIR is the c-client install prefix包含IMAP支持。指定c-client安装目录

--with-kerberos[=DIR]IMAP: Include Kerberos support. DIR is the Kerberos install prefix启用kerberos支持并指定其目录

--with-imap-ssl[=DIR]IMAP: Include SSL support. DIR is the OpenSSL install prefix启用ssl支持并指定openssl目录

--with-interbase[=DIR]Include InterBase support. DIR is the InterBase base install directory [/usr/interbase]启用interbase支持并指定其目录

--disable-jsonDisable JavaScript Object Serialization support禁用JavaScript对象顺序话支持

--with-ldap[=DIR]Include LDAP support包含LDAP支持

--with-ldap-sasl[=DIR]LDAP: Include Cyrus SASL support包含Cyrus SASL支持

--enable-mbstringEnable multibyte string support启用多字节字符串的支持

--disable-mbregexMBSTRING: Disable multibyte regex support禁用多字节正则表达式的支持

--disable-mbregex-backtrackMBSTRING: Disable multibyte regex backtrack check禁用多字节正则表达式回溯检查

--with-libmbfl[=DIR]MBSTRING: Use external libmbfl. DIR is the libmbfl base install directory [BUNDLED]使用外部的libmbfl并制定其目录

--with-mcrypt[=DIR]Include mcrypt support包含mcrypt支持

--with-mhash[=DIR]Include mhash support包含mhash支持

--with-mime-magic[=FILE]Include mime_magic support (DEPRECATED!!)启用mime_magic支持(不推荐使用!)

--with-ming[=DIR]Include MING support包含MING支持

--with-msql[=DIR]Include mSQL support. DIR is the mSQL base install directory [/usr/local/Hughes]包含mSQL支持

--with-mssql[=DIR]Include MSSQL-DB support. DIR is the FreeTDS home directory [/usr/local/freetds]包含MSSQL-DB支持,并指定FreeTDS软件目录

--with-mysql[=DIR]Include MySQL support. DIR is the MySQL base directory包含MySQL支持

--with-mysql-sock[=DIR]MySQL: Location of the MySQL unix socket pointer. If unspecified, the default locations are searched定位mysql的unix 套接字指针。如果未指定,则按默认位置搜索。

--with-zlib-dir[=DIR]MySQL: Set the path to libz install prefix设置zlib的安装目录。

--with-mysqli[=FILE]Include MySQLi support. FILE is the optional pathname to mysql_config [mysql_config]包含MySQLi支持。参数为mysql_config的位置。

--enable-embedded-mysqliMYSQLi: Enable embedded support启用embedded支持。

--with-ncurses[=DIR]Include ncurses support (CLI/CGI only)包含ncurses支持。

--with-oci8[=DIR]Include Oracle (OCI8) support. DIR defaults to $ORACLE_HOME. Use --with-oci8=instantclient,/path/to/oic/lib for an Oracle Instant Client installation包含Oracle支持。如果使用Oracle客户端安装则使用--with-oci8=instantclient,/path/to/oic/lib

--with-adabas[=DIR]Include Adabas D support [/usr/local]包含Adabas D支持

--with-sapdb[=DIR]Include SAP DB support [/usr/local]包含SAP DB支持

--with-solid[=DIR]Include Solid support [/usr/local/solid]包含Solid支持

--with-ibm-db2[=DIR]Include IBM DB2 support [/home/db2inst1/sqllib]包含IBM DB2支持

--with-ODBCRouter[=DIR]Include ODBCRouter.com support [/usr]包含ODBCRouter支持。

--with-empress[=DIR]Include Empress support [$EMPRESSPATH] (Empress Version >= 8.60 required)包含empress支持

--with-empress-bcs[=DIR]Include Empress Local Access support [$EMPRESSPATH] (Empress Version >= 8.60 required)包含Empress本地访问支持。

--with-birdstep[=DIR]Include Birdstep support [/usr/local/birdstep]包含Birdstep支持

--with-custom-odbc[=DIR]Include user defined ODBC support. DIR is ODBC install base directory [/usr/local]. Make sure to define CUSTOM_ODBC_LIBS and have some odbc.h in your include dirs. f.e. you should define following for Sybase SQL Anywhere 5.5.00 on QNX, prior to running this configure script:

CPPFLAGS="-DODBC_QNX -DSQLANY_BUG"

LDFLAGS=-lunix

CUSTOM_ODBC_LIBS="-ldblib -lodbc"包括用户自定义的ODBC的支持。目录是ODBC安装的主目录。确定定义了CUSTOM_ODBC_LIBS并且在include目录下有odbc.h的头文件你要在QNX上为Sybase SQL Anywhere定义如下:运行此之前,配置脚本

CPPFLAGS="-DODBC_QNX -DSQLANY_BUG"

LDFLAGS=-lunix

CUSTOM_ODBC_LIBS="-ldblib -lodbc"

--with-iodbc[=DIR]Include iODBC support [/usr/local]包含iODBC支持

--with-esoob[=DIR]Include Easysoft OOB support [/usr/local/easysoft/oob/client]包含Easysoft OOB支持

--with-unixODBC[=DIR]Include unixODBC support [/usr/local]包含unixODBC支持

--with-dbmaker[=DIR]Include DBMaker support包含DBMaker支持

--enable-pcntlEnable pcntl support (CLI/CGI only)启用pcntl支持。

--disable-pdoDisable PHP Data Objects support禁用PHP数据对象支持。

--with-pdo-dblib[=DIR]PDO: DBLIB-DB support. DIR is the FreeTDS home directory启用DBLIB-DB支持。目录为FreeTDS主目录。

--with-pdo-firebird[=DIR]PDO: Firebird support. DIR is the Firebird base install directory [/opt/firebird]启用Firebird支持。

--with-pdo-mysql[=DIR]PDO: MySQL support. DIR is the MySQL base directory启用PDO:mysql支持。

--with-zlib-dir[=DIR]PDO_MySQL: Set the path to libz install prefix设置PDO:MySQL的zlib支持

--with-pdo-oci[=DIR]PDO: Oracle OCI support. DIR defaults to $ORACLE_HOME.Use --with-pdo-oci=instantclient,prefix,version for an Oracle Instant Client SDK. For Linux with 10.2.0.3 RPMs (for example) use: --with-pdo-oci=instantclient,/usr,10.2.0.3设置PDO:Oracle OCI支持。为Oracle安装客户端SDK使用--with-pdo-oci=instantclient,prefix,version参数

--with-pdo-odbc=flavour,dirPDO: Support for 'flavour' ODBC driver.include and lib dirs are looked for under 'dir'. 'flavour' can be one of: ibm-db2, unixODBC, generic If ',dir' part is omitted, default for the flavour you have selected will used. e.g.:

--with-pdo-odbc=unixODBC

will check for unixODBC under /usr/local. You may attempt to use an otherwise unsupported driver using the "generic" flavour. The syntax for generic ODBC support is:

--with-pdo-odbc=generic,dir,libname,ldflags,cflags

When build as shared the extension filename is always pdo_odbc.so启用“flavour”ODBC支持。在dir目录的include和lib目录下查找。“flavour”参数值可以是ibm-db2, unixODBC, generic。如果dir省略,则使用默认值。如果你试图通过generic使用一个如若不支持的驱动程序。为generic ODBC提供的语法格式如下:--with-pdo-odbc=generic,dir,libname,ldflags,cflags。作为共享的编译后的扩展文件的名一般为pdo_odbc.so

--with-pdo-pgsql[=DIR]PDO: PostgreSQL support. DIR is the PostgreSQL baseinstall directory or the path to pg_config启用PDO:PostgreSQL支持。

--without-pdo-sqlite[=DIR]PDO: sqlite 3 support. DIR is the sqlite baseinstall directory [BUNDLED]启用SQLite 3支持。

--with-pgsql[=DIR]Include PostgreSQL support. DIR is the PostgreSQLbase install directory or the path to pg_config启用PostgreSQL支持并指定其软件根目录或者pg_config的路径

--disable-posixDisable POSIX-like functions禁用POSIX-like支持

--with-pspell[=DIR]Include PSPELL support. Aspell version 0.50.0 or higher required包含PSPELL支持GNU

--with-libedit[=DIR]Include libedit readline replacement (CLI/CGI only)包含libedit readline更换(仅用于CLI和CGI)

--with-readline[=DIR]Include readline support(CLI/CGI only)包含readline支持(仅用于CLI和CGI)

--with-recode[=DIR]Include recode support包含recode支持

--disable-reflectionDisable reflection support禁用reflection支持。

--disable-sessionDisable session support禁用session支持

--with-mm[=DIR]SESSION: Include mm support for session storage为session存储启用mm支持。

--enable-shmopEnable shmop support启用shmop支持

--disable-simplexmlDisable SimpleXML support禁用simpleXML支持

--with-libxml-dir=DIRSimpleXML: libxml2 install prefix启用simpleXML:libXML2支持。

--with-snmp[=DIR]Include SNMP support包含SNMP支持。

--with-openssl-dir[=DIR]SNMP: openssl install prefix包含SNMP:openssl支持

--enable-ucd-snmp-hackSNMP: Enable UCD SNMP hack SNMP hack包含UCD

--enable-soapEnable SOAP support启用SOAP支持

--with-libxml-dir=DIRSOAP: libxml2 install prefix启用SOAP:LIBXML2支持。

--enable-socketsEnable sockets support启用sockets支持

--disable-splDisable Standard PHP Library禁用标准PHP库

--without-sqlite=DIRDo not include sqlite support. DIR is the sqlite base install directory [BUNDLED]不包含sqlite支持。

--enable-sqlite-utf8SQLite: Enable UTF-8 support for SQLite启用SQLite的UTF-8支持。

--with-regex=TYPEregex library type: system, apache, php. [TYPE=php] WARNING: Do NOT use unless you know what you are doing!正则表达式库类型。

--with-sybase[=DIR]Include Sybase-DB support. DIR is the Sybase home directory [/home/sybase]包含Sybase-DB支持。

--with-sybase-ct[=DIR]Include Sybase-CT support. DIR is the Sybase home directory [/home/sybase]包含Sybase-CT支持。

--enable-sysvmsgEnable sysvmsg support启用sysvmsg支持。

--enable-sysvsemEnable System V semaphore support启用系统V信号支持

--enable-sysvshmEnable the System V shared memory support启用系统V共享内存支持。

--with-tidy[=DIR]Include TIDY support包含tidy支持。

--disable-tokenizerDisable tokenizer support禁用tokenizer支持

--enable-wddxEnable WDDX support启用WDDX支持

--with-libxml-dir=DIRWDDX: libxml2 install prefix包含WDDX:libxml2支持。

--with-libexpat-dir=DIRWDDX: libexpat dir for XMLRPC-EPI (deprecated)为XMLRPC-EPI启用libexpat(不推荐)

--disable-xmlDisable XML support禁用XML支持。

--with-libxml-dir=DIRXML: libxml2 install prefix启用libxml2支持

--with-libexpat-dir=DIRXML: libexpat install prefix (deprecated)启用libexpat支持(不推荐)

--disable-xmlreaderDisable XMLReader support禁用XMLreader支持。

--with-libxml-dir=DIRXMLReader: libxml2 install prefix启用XMLreader的libxml2支持。

--with-xmlrpc[=DIR]Include XMLRPC-EPI support包含XMLRPC-EPI支持

--with-libxml-dir=DIRXMLRPC-EPI: libxml2 install prefix启用XMLRPC-EPI:libxml2支持

--with-libexpat-dir=DIRXMLRPC-EPI: libexpat dir for XMLRPC-EPI (deprecated)启用XMLRPC-EPI:libexpat支持(不推荐)

--with-iconv-dir=DIRXMLRPC-EPI: iconv dir for XMLRPC-EPI启用XMLRPC-EPI:iconv支持

--disable-xmlwriterDisable XMLWriter support禁用XMLWriter支持

--with-libxml-dir=DIRXMLWriter: libxml2 install prefix启用XMLReader:libxml2支持。

--with-xsl[=DIR]Include XSL support. DIR is the libxslt base install directory (libxslt >= 1.1.0 required)启用XSL支持

--enable-zipInclude Zip read/write support包含zip读写支持

--with-zlib-dir[=DIR]ZIP: Set the path to libz install prefix启用zip:zlib支持

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值