`configure’ configures this package to adapt to many kinds of systems.
`configure’ 配置这个包来适合多数系统.
Usage: ./configure [OPTION]… [VAR=VALUE]…
语法: ./configure [选项]… [变量=值]…
To assign environment variables (e.g., CC, CFLAGS…), specify them as VAR=VALUE. See below for descriptions of some of the useful variables.
配置环境变量(例如,CC,CFLAGS),格式为VAR=VALUE. 看下面对这些可用变量的说明.
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] 存储测试信息到文件中 [disabled]
-C, –config-cache alias for `–cache-file=config.cache’ `–cache-file=config.cache’的别名
-n, –no-create do not create output files 不生成输出文件
–srcdir=DIR find the sources in DIR [configure dir or `..'] 在DIR查找代码
Installation directories:
安装目录:
–prefix=PREFIX install architecture-independent files in PREFIX 安装路径
[/usr/local/apache2]
–exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 执行文件安装路径
[PREFIX]
By default, `make install’ will install all the files in `/usr/local/apache2/bin’, `/usr/local/apache2/lib’ etc. You can specify an installation prefix other than `/usr/local/apache2′ using `–prefix’,for instance `–prefix=$HOME’.
默认情况下,’make install’安装所有的文件在 `/usr/local/apache2/bin’, `/usr/local/apache2/lib’ 等等.你可以指定一个安装前缀 ‘–prefix’选项来改变安装位置,例如 `–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/PACKAGE]
–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-FEATURE do not include FEATURE (same as –enable-FEATURE=no)
–enable-FEATURE[=ARG] include FEATURE [ARG=yes]
–enable-layout=LAYOUT
–enable-v4-mapped Allow IPv6 sockets to handle IPv4 connections
–enable-exception-hook Enable fatal exception hook
–enable-maintainer-mode
Turn on debugging and compile time warnings
–enable-pie Build httpd as a Position Independent Executable
–enable-modules=MODULE-LIST
Space-separated list of modules to enable | “all” |
“most”
–enable-mods-shared=MODULE-LIST
Space-separated list of shared modules to enable |
“all” | “most”
–disable-authn-file file-based authentication control
–enable-authn-dbm DBM-based authentication control
–enable-authn-anon anonymous user authentication control
–enable-authn-dbd SQL-based authentication control
–disable-authn-default authentication backstopper
–enable-authn-alias auth provider alias
–disable-authz-host host-based authorization control
–disable-authz-groupfile
‘require group’ authorization control
–disable-authz-user ‘require user’ authorization control
–enable-authz-dbm DBM-based authorization control
–enable-authz-owner ‘require file-owner’ authorization control
–enable-authnz-ldap LDAP based authentication
–disable-authz-default authorization control backstopper
–disable-auth-basic basic authentication
–enable-auth-digest RFC2617 Digest authentication
–enable-isapi isapi extension support
–enable-file-cache File cache
–enable-cache dynamic file caching
–enable-disk-cache disk caching module
–enable-mem-cache memory caching module
–enable-dbd Apache DBD Framework
–enable-bucketeer buckets manipulation filter
–enable-dumpio I/O dump filter
–enable-echo ECHO server
–enable-example example and demo module
–enable-case-filter example uppercase conversion filter
–enable-case-filter-in example uppercase conversion input filter
–enable-ext-filter external filter module
–disable-include Server Side Includes
–disable-filter Smart Filtering
–disable-charset-lite character set translation
–enable-charset-lite character set translation
–enable-deflate Deflate transfer encoding support
–enable-ldap LDAP caching and connection pooling services
–disable-log-config logging configuration
–enable-log-forensic forensic logging
–enable-logio input and output logging
–disable-env clearing/setting of ENV vars
–enable-mime-magic automagically determining MIME type
–enable-cern-meta CERN-type meta files
–enable-expires Expires header control
–enable-headers HTTP header control
–enable-ident RFC 1413 identity check
–enable-usertrack user-session tracking
–enable-unique-id per-request unique ids
–disable-setenvif basing ENV vars on headers
–enable-version determining httpd version in config files
–enable-proxy Apache proxy module
–enable-proxy-connect Apache proxy CONNECT module
–enable-proxy-ftp Apache proxy FTP module
–enable-proxy-http Apache proxy HTTP module
–enable-proxy-ajp Apache proxy AJP module
–enable-proxy-balancer Apache proxy BALANCER module
–enable-ssl SSL/TLS support (mod_ssl)
–enable-distcache Select distcache support in mod_ssl
–enable-optional-hook-export
example optional hook exporter
–enable-optional-hook-import
example optional hook importer
–enable-optional-fn-import
example optional function importer
–enable-optional-fn-export
example optional function exporter
–enable-static-support Build a statically linked version of the support
binaries
–enable-static-htpasswd
Build a statically linked version of htpasswd
–enable-static-htdigest
Build a statically linked version of htdigest
–enable-static-rotatelogs
Build a statically linked version of rotatelogs
–enable-static-logresolve
Build a statically linked version of logresolve
–enable-static-htdbm Build a statically linked version of htdbm
–enable-static-ab Build a statically linked version of ab
–enable-static-checkgid
Build a statically linked version of checkgid
–enable-static-htcacheclean
Build a statically linked version of htcacheclean
–enable-static-httxt2dbm
Build a statically linked version of httxt2dbm
–enable-http HTTP protocol handling
–disable-mime mapping of file-extension to MIME
–enable-dav WebDAV protocol handling
–disable-status process/thread monitoring
–disable-autoindex directory listing
–disable-asis as-is filetypes
–enable-info server information
–enable-suexec set uid and gid for spawned processes
–disable-cgid CGI scripts
–enable-cgi CGI scripts
–disable-cgi CGI scripts
–enable-cgid CGI scripts
–enable-dav-fs DAV provider for the filesystem
–enable-dav-lock DAV provider for generic locking
–enable-vhost-alias mass virtual hosting module
–disable-negotiation content negotiation
–disable-dir directory request handling
–enable-imagemap server-side imagemaps
–disable-actions Action triggering on requests
–enable-speling correct common URL misspellings
–disable-userdir mapping of requests to user-specific directories
–disable-alias mapping of requests to different filesystem parts
–enable-rewrite rule based URL manipulation
–enable-so DSO capability
Optional Packages:
可选包:
–with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
–without-PACKAGE do not use PACKAGE (same as –with-PACKAGE=no)
–with-included-apr Use bundled copies of APR/APR-Util
–with-apr=PATH prefix for installed APR, path to APR build tree,
or the full path to apr-config
–with-apr-util=PATH prefix for installed APU, path to APU build tree,
or the full path to apu-config
–with-pcre=PATH Use external PCRE library
–with-port=PORT Port on which to listen (default is 80)
–with-z=DIR use a specific zlib library
–with-sslc=DIR RSA SSL-C SSL/TLS toolkit
–with-ssl=DIR OpenSSL SSL/TLS toolkit
–with-mpm=MPM Choose the process model for Apache to use.
MPM={beos|event|worker|prefork|mpmt_os2}
–with-module=module-type:module-file
Enable module-file in the modules/<module-type>
directory.
–with-program-name alternate executable name
–with-suexec-bin Path to suexec binary
–with-suexec-caller User allowed to call SuExec
–with-suexec-userdir User subdirectory
–with-suexec-docroot SuExec root directory
–with-suexec-uidmin Minimal allowed UID
–with-suexec-gidmin Minimal allowed GID
–with-suexec-logfile Set the logfile
–with-suexec-safepath Set the safepath
–with-suexec-umask umask for suexec’d process
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>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
分享到:
相关推荐
配置文件configure-smtp.配置文件configure-smtp.配置文件configure-smtp.配置文件configure-smtp.配置文件configure-smtp.配置文件configure-smtp.配置文件configure-smtp.配置文件configure-smtp.配置文件...
将rxtx-2.2pre2文件夹拷贝至/usr/local目录并用命令行进入目录下。 > ./configure # 可能会报错:configure: error: cannot guess build type; you must specify one,则用下面命令运行 > ./configure --build=...
jar包,亲测可用
jar包,亲测可用
2. 修改 vim /usr/local/rxtx/rxtx-2.2pre2/./src/RawImp.c 中把#include <sys/io.h> 改成 #include 3. 在/usr/include/linux/version.h 文件中添加 #define UTS_RELEASE "4.9.201-tegra" 其中 4.9.201-tegra 用 ...
6.8.1 Packet Tracer - Configure NAT for IPv4 Cisco Packet Tracer 思科模拟器 正确答案文件 可直接上交正确答案文件 本答案版权归mewhaku所有,严禁再次转载!!! Copyright @mewhaku 2022 All Rights ...
vmware-vsphere-install-configure-manage-v70
4.2.7 Packet Tracer - Configure Router-on-a-Stick Inter-VLAN Routing Cisco Packet Tracer 思科模拟器 正确答案文件 可直接上交正确答案文件 本答案版权归mewhaku所有,严禁再次转载!!! Copyright @...
Configure - 提供通过多个来源配置你的项目,包括JSON, flags和环境变量
针对GitHub操作的“配置AWS凭证”操作 配置AWS凭证和区域环境变量以在其他GitHub操作中使用。 AWS开发工具包和AWS CLI都将检测到环境变量,以确定用于AWS API调用的凭据和区域。 目录 用法 将以下步骤添加到您的...
EGSnrc toolkit for Monte Carlo simulation of ionizing radiation transport
kmgmt-2511-configure-dynamic-host-configuration-protocol-dhcp-cbs.pdf
Shibboleth idp-configure-with-sp
大家在配置linux系统的apache经常遇见apr,apr-util,pcre文件缺失或者出错的情况(比如not found apr),这里将所缺失文件和使用方法给大家上传上来,方便大家使用 文件包括,httpd-2.4.4 apr-1.4.5 apr-util-1.3.12 ...
2.7.2-packet-tracer---configure-single-area-ospfv2---physical-mode_zh-CN.pka
在 Linux 下管理 Thinkpad 的 TrackPoint。 一些选项的功能: Sensitivity:通过小红帽控制鼠标时指针的移动速度,值越大,指针移动速度越快。 Upper Plateau Speed:按字面意思来看,是控制鼠标指针高速移动的性能。...
python库。资源全名:azure-cli-configure-0.1.0b7.tar.gz
Apache 2.2.27和PHP 5.5.12在Mac OS X 10.8.5编译安装过程: ...配置编译选项: ./configure --prefix=/Users/levin/dev/apache2.2.27 --enable-modules=most --enable-mods-shared=all 报错: check
资源来自pypi官网。 资源全名:dev-pipeline-configure-0.2.0.tar.gz
编译配置 先编译静态、动态链接库、再编译静态链接可执行程序 1、arm平台 # ./configure --host=arm-unknown-linux-uclibcgnueabi --prefix=/usr --disable-warnings LDFLAGS="-s" # ./configure --host=arm-unknown...