configure home(如何查看Apache的configure编译参数)

本文目录
如何查看Apache的configure编译参数
`configure’ configures this package to adapt to many kinds of systems.
`configure’ 配置这个包来适合多数系统.
Usage: ./configure …
语法: ./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
-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 在DIR查找代码
Installation directories:
安装目录:
–prefix=PREFIX install architecture-independent files in PREFIX 安装路径
–exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 执行文件安装路径
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
–sbindir=DIR system admin executables
–libexecdir=DIR program executables
–sysconfdir=DIR read-only single-machine data
–sharedstatedir=DIR modifiable architecture-independent data
–localstatedir=DIR modifiable single-machine data
–libdir=DIR object code libraries
–includedir=DIR C header files
–oldincludedir=DIR C header files for non-gcc
–datarootdir=DIR read-only arch.-independent data root
–datadir=DIR read-only architecture-independent data
–infodir=DIR info documentation
–localedir=DIR locale-dependent data
–mandir=DIR man documentation
–docdir=DIR documentation root
–htmldir=DIR html documentation
–dvidir=DIR dvi documentation
–pdfdir=DIR pdf documentation
–psdir=DIR ps documentation
System types:
系统类型:
–build=BUILD configure for building on BUILD
–host=HOST cross-compile to build programs to run on HOST
–target=TARGET configure for building compilers for TARGET
Optional Features:
可选的功能:
–disable-FEATURE do not include FEATURE (same as –enable-FEATURE=no)
–enable-FEATURE
–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-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-proxy Apache proxy module
–enable-proxy-connect Apache proxy CONNECT module
–enable-proxy-ftp Apache proxy FTP 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
***隐藏网址***
–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
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
ubuntu gcc安装失败如下
如果能上网直接,直接apt-get install gcc(自动解决依赖关系)
你上面贴出来的情况,已经很明白,你并没有完全解决依赖关系,所以导致后面一大堆的错误,你可以通过 新德里管理器(ubuntu自带的)查看一下依赖关系。
linux安装软件时下如何运行configure
报错说的是在编译的时候出错了,你还看一下config.log这个文件。里面有报错信息。
用下面命令:
1找到config.log, 可能就在MPlayer-1.1这个目录下。如果找不到就用下面命令找
find /home/baby/ -name config.log
找到以后用下面命令查看
cat config.log 如果你看不懂里面的内容可以贴出来帮你分析一下
java_home设置
汗~~这是个很经典的问题
恐怕很多人都不知道TOMCAT对于HOME设置有个小细节
环境变量下,变量的值后面不能加 “ ;” ,也就是不能加分号,你可以尝试下看看
另外我本身也是使用TOMCAT做WEB的,希望这个答案对你有帮助
你TOMCAT什么版本?

更多文章:
wordpress和自己写(开发企业网站 是用现成的开源框架(如wordpress等)还是自己独立写 哪种比较好一些)
2025年12月25日 14:00
java代码提示(用myeclipse,在jsp中写java代码,需要导包时不提示,必须手动导包,怎样才能让它提示并且自动导包)
2026年4月9日 13:15
怎样安装tomcat服务(如何安装Apache Tomcat并使用Tomcat发布网站)
2025年12月21日 23:30
谁有点卡回收寄售平台的源码最好免费的?虚幻源码卡在加载页面中
2026年7月20日 05:00
函数指针类型别名(typedef 函数指针 比如typedef char*(*callback)(char*, int);)
2025年6月5日 09:00
css下载文件(下载网页时,如何将css文件中内容全部下载下来)
2026年7月25日 07:00
css给按钮加箭头(CSS实现带箭头方框怎么控制箭头位置!)
2026年1月1日 04:30
sql怎么读取excel更新(SQL如何用EXCEL导入一个临时表的相关字段,然后用临时表更新原有的表数据的字段内容)
2026年4月25日 09:30
require词根(require acquire enquire 这三个单词怎么区别,有共同的词根么)
2025年7月27日 09:00
wallpaper怎么设置鼠标特效(wallpaper控制鼠标灯光)
2026年5月6日 09:45















