精华内容
下载资源
问答
  • configure参数

    2008-01-11 12:14:00
    Linux configure 参数解释ppxxlj @ 2007-06-22 01:23 Linux下安装软件真是不太容易,有直接rpm包安装的,这个还好说一点,有的直接使源文件还要先编译生成可执行文件,编译又有好多需要做的,比如configure,下面是...
    
    
    ppxxlj @ 2007-06-22 01:23

    Linux下安装软件真是不太容易,有直接rpm包安装的,这个还好说一点,有的直接使源文件还要先编译生成可执行文件,编译又有好多需要做的,比如configure,下面是网上找到的一片文章,关于Linux configure 参数解释:



    Linux环境下的软件安装,并不是一件容易的事情;如果通过源代码编译后在安装,当然事情就更为复杂一些;现在安装各种软件的教程都非常普遍;但万变不 离其中,对基础知识的扎实掌握,安装各种软件的问题就迎刃而解了。Configure脚本配置工具就是基础之一,它是autoconf的工具的基本应用。
      
      与一些技巧相比,Configure显得基础一些,当然使用和学习起来就显得枯燥乏味一些,当然要成为高手,对基础的熟悉不能超越哦。
      
      为此我转载了一篇关于Configure选项配置的详细介绍。供大家参考

      'configure'脚本有大量的命令行选项.对不同的软件包来说,这些选项可能会有变化,但是许多基本的选项是不会改变的.带上'--help' 选项执行'configure'脚本可以看到可用的所有选项.尽管许多选项是很少用到的,但是当你为了特殊的需求而configure一个包时,知道他们 的存在是很有益处的.下面对每一个选项进行简略的介绍:

    --cache-file=FILE
      'configure'会在你的系统上测试存在的特性(或者bug!).为了加速随后进行的配置,测试的结果会存储在一个cache file里.当configure一个每个子树里都有'configure'脚本的复杂的源码树时,一个很好的cache file的存在会有很大帮助.

    --help
      输出帮助信息.即使是有经验的用户也偶尔需要使用使用'--help'选项,因为一个复杂的项目会包含附加的选项.例如,GCC包里的'configure'脚本就包含了允许你控制是否生成和在GCC中使用GNU汇编器的选项.

    --no-create
      'configure'中的一个主要函数会制作输出文件.此选项阻止'configure'生成这个文件.你可以认为这是一种演习(dry run),尽管缓存(cache)仍然被改写了.

    --quiet
    --silent
      当'configure'进行他的测试时,会输出简要的信息来告诉用户正在作什么.这样作是因为'configure'可能会比较慢,没有这种输出的 话用户将会被扔在一旁疑惑正在发生什么.使用这两个选项中的任何一个都会把你扔到一旁.(译注:这两句话比较有意思,原文是这样的:If there was no such output, the user would be left wondering what is happening. By using this option, you too can be left wondering!)

    --version
      打印用来产生'configure'脚本的Autoconf的版本号.

    --prefix=PEWFIX
      '--prefix'是最常用的选项.制作出的'Makefile'会查看随此选项传递的参数,当一个包在安装时可以彻底的重新安置他的结构独立部 分. 举一个例子,当安装一个包,例如说Emacs,下面的命令将会使Emacs Lisp file被安装到"/opt/gnu/share":
    $ ./configure --prefix=/opt/gnu

    --exec-prefix=EPREFIX
      与'--prefix'选项类似,但是他是用来设置结构倚赖的文件的安装位置.编译好的'emacs'二进制文件就是这样一个问件.如果没有设置这个选项的话,默认使用的选项值将被设为和'--prefix'选项值一样.

    --bindir=DIR
      指定二进制文件的安装位置.这里的二进制文件定义为可以被用户直接执行的程序.

    --sbindir=DIR
      指定超级二进制文件的安装位置.这是一些通常只能由超级用户执行的程序.

    --libexecdir=DIR
      指定可执行支持文件的安装位置.与二进制文件相反,这些文件从来不直接由用户执行,但是可以被上面提到的二进制文件所执行.

    --datadir=DIR
      指定通用数据文件的安装位置.

    --sysconfdir=DIR
      指定在单个机器上使用的只读数据的安装位置.

    --sharedstatedir=DIR
      指定可以在多个机器上共享的可写数据的安装位置.

    --localstatedir=DIR
      指定只能单机使用的可写数据的安装位置.

    --libdir=DIR
      指定库文件的安装位置.

    --includedir=DIR
      指定C头文件的安装位置.其他语言如C++的头文件也可以使用此选项.

    --oldincludedir=DIR
      指定为除GCC外编译器安装的C头文件的安装位置.

    --infodir=DIR
      指定Info格式文档的安装位置.Info是被GNU工程所使用的文档格式.

    --mandir=DIR
      指定手册页的安装位置.

    --srcdir=DIR
      这个选项对安装没有作用.他会告诉'configure'源码的位置.一般来说不用指定此选项,因为'configure'脚本一般和源码文件在同一个目录下.

    --program-prefix=PREFIX
      指定将被加到所安装程序的名字上的前缀.例如,使用'--program-prefix=g'来configure一个名为'tar'的程序将会使安 装的程序被命名为'gtar'.当和其他的安装选项一起使用时,这个选项只有当他被`Makefile.in'文件使用时才会工作.

    --program-suffix=SUFFIX
      指定将被加到所安装程序的名字上的后缀.

    --program-transform-name=PROGRAM
      这里的PROGRAM是一个sed脚本.当一个程序被安装时,他的名字将经过`sed -e PROGRAM'来产生安装的名字.

    --build=BUILD
      指定软件包安装的系统平台.如果没有指定,默认值将是'--host'选项的值.

    --host=HOST
      指定软件运行的系统平台.如果没有指定,将会运行`config.guess'来检测.

    --target=GARGET
      指定软件面向(target to)的系统平台.这主要在程序语言工具如编译器和汇编器上下文中起作用.如果没有指定,默认将使用'--host'选项的值.

    --disable-FEATURE
      一些软件包可以选择这个选项来提供为大型选项的编译时配置,例如使用Kerberos认证系统或者一个实验性的编译器最优配置.如果默认是提供这些特性,可以使用'--disable-FEATURE'来禁用它,这里'FEATURE'是特性的名字.例如:
    $ ./configure --disable-gui

    -enable-FEATURE[=ARG]
      相反的,一些软件包可能提供了一些默认被禁止的特性,可以使用'--enable-FEATURE'来起用它.这里'FEATURE'是特性的名字.一个特性可能会接受一个可选的参数.例如:
    $ ./configure --enable-buffers=128
    `--enable-FEATURE=no'与上面提到的'--disable-FEATURE'是同义的.

    --with-PACKAGE[=ARG]
      在自由软件社区里,有使用已有软件包和库的优秀传统.当用'configure'来配置一个源码树时,可以提供其他已经安装的软件包的信息.例如,倚 赖于Tcl和Tk的BLT器件工具包.要配置BLT,可能需要给'configure'提供一些关于我们把Tcl和Tk装的何处的信息:
    $ ./configure --with-tcl=/usr/local --with-tk=/usr/local
    '--with-PACKAGE=no'与下面将提到的'--without-PACKAGE'是同义的.

    --without-PACKAGE
      有时候你可能不想让你的软件包与系统已有的软件包交互.例如,你可能不想让你的新编译器使用GNU ld.通过使用这个选项可以做到这一点:
    $ ./configure --without-gnu-ld

    --x-includes=DIR
      这个选项是'--with-PACKAGE'选项的一个特例.在Autoconf最初被开发出来时,流行使用'configure'来作为Imake 的一个变通方法来制作运行于X的软件.'--x-includes'选项提供了向'configure'脚本指明包含X11头文件的目录的方法.

    --x-libraries=DIR
      类似的,'--x-libraries'选项提供了向'configure'脚本指明包含X11库的目录的方法.

      在源码树中运行'configure'是不必要的同时也是不好的.一个由'configure'产生的良好的'Makefile'可以构筑源码属于另 一棵树的软件包.在一个独立于源码的树中构筑派生的文件的好处是很明显的:派生的文件,如目标文件,会凌乱的散布于源码树.这也使在另一个不同的系统或用 不同的配置选项构筑同样的目标文件非常困难.建议使用三棵树:一棵源码树(source tree),一棵构筑树(build tree),一棵安装树(install tree).这里有一个很接近的例子,是使用这种方法来构筑GNU malloc包:
    $ gtar zxf mmalloc-1.0.tar.gz
    $ mkdir build && cd build
    $ ../mmalloc-1.0/configure
    creating cache ./config.cache
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking for a BSD compatible install... /usr/bin/install -c
    checking host system type... i586-pc-linux-gnu
    checking build system type... i586-pc-linux-gnu
    checking for ar... ar
    checking for ranlib... ranlib
    checking how to run the C preprocessor... gcc -E
    checking for unistd.h... yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking for limits.h... yes
    checking for stddef.h... yes
    updating cache ../config.cache
    creating ./config.status
    这样这棵构筑树就被配置了,下面可以继续构筑和安装这个包到默认的位置'/usr/local':
    $ make all && make install 

    Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1440383

    一个软件包通过编译源代码安装后,如何完全的卸载??

    如果原先的source还在的话,很多source的Makefile都有写uninstall规则,直接在Souce里make uninstall就可行,不过碰到无良作者没写的,那一句一句看Makefile里install部分他都干了些什么,然后挨个删除。
    如果source没了.....那就一边郁闷吧

    到目前为止, 我装的都可以make uninstall.......
    (因为总是不小心装错地方, 结果就make uninstall&&make clean,然后重新configure......)

     
    展开全文
  • 主要介绍了Nginx编译参数大全,Nginx configure参数中文详解,需要的朋友可以参考下
  • Qt configure参数解释

    2012-12-20 15:54:02
    QT configure参数解释 编译Qt源码必备的教程
  • 本文详细介绍了Linux操作系统的Configure参数
  • ffmpeg configure参数说明

    2018-06-27 09:59:11
    ffmpeg ./configure参数说明root@web ffmpeg]# ./configure --helpUsage: configure [options]Options: [defaults in brackets after descriptions]Standard options: 基本选项参数--help 显示此帮助信息|print thi...

    ffmpeg ./configure参数说明

    root@web ffmpeg]# ./configure --help
    Usage: configure [options]
    Options: [defaults in brackets after descriptions]

    Standard options: 基本选项参数
    --help                   显示此帮助信息|print this message
    --log[=FILE|yes|no]      记录测试并输出到config.err文件|log tests and output to FILE [config.err]
    --prefix=PREFIX          安装程序到指定目录(默认/usr/local)|install in PREFIX [/usr/local]
    --libdir=DIR             安装库到指定目录(默认prefix/lib)|install libs in DIR [PREFIX/lib]
    --shlibdir=DIR           指定共享库路径(默认prefix/lib)|install shared libs in DIR [PREFIX/lib]
    --incdir=DIR             指定includes路径(默认prefix/include/ffmpeg)|install includes in DIR[PREFIX/include/ffmpeg]
    --mandir=DIR             指定man page路径(默认prefix/man)install man page in DIR [PREFIX/man]
    --enable-mp3lame         启用mp3编码libmp3lame(默认关闭)enable MP3 encoding via libmp3lame[default=no]
    --enable-libogg          启用ogg支持libogg(默认关闭)enable Ogg support via libogg [default=no]
    --enable-vorbis          启用Vorbis支持libvorbis(默认关闭)enable Vorbis support via libvorbis [default=no]
    --enable-faad            启用faad支持libfaad(默认关闭)enable FAAD support via libfaad [default=no]
    --enable-faadbin         启用faad运行时链接支持(默认关闭)build FAAD support with runtime linking[default=no]
    --enable-faac            启用faac支持libfaac(默认关闭)enable FAAC support via libfaac [default=no]
    --enable-libgsm          启用GSM支持libgsm(默认关闭)enable GSM support via libgsm [default=no]
    --enable-xvid            启用xvid支持xvidcore(默认关闭)enable XviD support via xvidcore [default=no]
    --enable-x264            启用H.264编码(默认关闭)enable H.264 encoding via x264 [default=no]
    --enable-mingw32         启用MinGW本地/交叉win环境编译|enable MinGW native/cross Windows compile
    --enable-mingwce         启用MinGW本地/交叉winCE环境编译enable MinGW native/cross WinCE compile
    --enable-a52             启用A52支持(默认关闭)enable GPLed A52 support [default=no]
    --enable-a52bin          启用运行时打开liba52.so.0(默认关闭)open liba52.so.0 at runtime [default=no]
    --enable-dts             启用DTS支持(默认关闭)enable GPLed DTS support [default=no]
    --enable-pp              启用后加工支持(默认关闭)enable GPLed postprocessing support [default=no]
    --enable-static          构建静态库(默认启用)build static libraries [default=yes]
    --disable-static         禁止构建静态库(默认关闭)do not build static libraries [default=no]
    --enable-shared          构建共享库(默认关闭)build shared libraries [default=no]
    --disable-shared         禁止构建共享库(默认启用)do not build shared libraries [default=yes]
    --enable-amr_nb          启用amr_nb float音频编解码器|enable amr_nb float audio codec
    --enable-amr_nb-fixed    启用fixed amr_nb codec | use fixed point for amr-nb codec
    --enable-amr_wb          启用amr_wb float音频编解码器|enable amr_wb float audio codec
    --enable-amr_if2         启用amr_wb IF2音频编解码器|enable amr_wb IF2 audio codec
    --enable-sunmlib         启用Sun medialib(默认关闭) | use Sun medialib [default=no]
    --enable-pthreads        启用pthreads(多线程)(默认关闭)use pthreads [default=no]
    --enable-dc1394          启用libdc1394、libraw1394抓取IIDC-1394(默认关闭)enable IIDC-1394 grabbing using libdc1394 and libraw1394 [default=no]
    --enable-swscaler        启用计数器支持?(默认关闭)software scaler support [default=no]
    --enable-avisynth        允许读取AVISynth脚本本件(默认关闭)allow reading AVISynth script files [default=no]
    --enable-gpl             允许使用GPL(默认关闭)allow use of GPL code, the resulting libav* and ffmpeg will be under GPL [default=no]

    Advanced options (experts only): 高级选项参数(供专业人员使用)
    --source-path=PATH       源码的路径(当前为/root/flv/ffmpeg)| path to source code [/root/flv/ffmpeg]
    --cross-prefix=PREFIX    为编译工具指定路径 | use PREFIX for compilation tools []
    --cross-compile          假定使用了交叉编译 | assume a cross-compiler is used
    --cc=CC                  指定使用何种C编译器(默认gcc)use C compiler CC [gcc]
    --make=MAKE              使用特定的make | use specified make [make]
    --extra-cflags=ECFLAGS   添加ECFLAGS到CFLAGS | add ECFLAGS to CFLAGS []
    --extra-ldflags=ELDFLAGS 添加ELDFLAGS到LDFLAGS(默认-Wl,--as-needed)| add ELDFLAGS to LDFLAGS [ -Wl,--as-needed]
    --extra-libs=ELIBS       添加ELIBS | add ELIBS []
    --build-suffix=SUFFIX    为专用程序添加后缀 | suffix for application specific build []
    --arch=ARCH              选择机器架构(默认x86)select architecture [x86]
    --cpu=CPU                选用最低的cpu(影响指令的选择,可以在老CPU上出错) | selects the minimum cpu required (affects instruction selection, may crash on older CPUs)
    --powerpc-perf-enable    启用PPC上面的性能报告(需要启用PMC)enable performance report on PPC
                               (requires enabling PMC)
    --disable-mmx            禁用MMX | disable MMX usage
    --disable-armv5te        禁用armv5te | disable armv5te usage
    --disable-iwmmxt         禁用iwmmxt | disable iwmmxt usage
    --disable-altivec        禁用AltiVec | disable AltiVec usage
    --disable-audio-oss      禁用OSS音频支持(默认启用)disable OSS audio support [default=no]
    --disable-audio-beos     禁用BeOS音频支持(默认启用)disable BeOS audio support [default=no]
    --disable-v4l            禁用video4linux提取(默认启用)disable video4linux grabbing [default=no]
    --disable-v4l2           禁用video4linux2提取(默认启用)disable video4linux2 grabbing [default=no]
    --disable-bktr           禁用bktr视频提取(默认启用)disable bktr video grabbing [default=no]
    --disable-dv1394         禁用DV1394提取(默认启用)disable DV1394 grabbing [default=no]
    --disable-network        禁用网络支持(默认支持)disable network support [default=no]
    --disable-ipv6           禁用ipv6支持(默认支持)disable ipv6 support [default=no]
    --disable-zlib           禁用zlib(默认支持)disable zlib [default=no]
    --disable-simple_idct    禁用simple IDCT例程(默认启用)disable simple IDCT routines [default=no]
    --disable-vhook          禁用video hooking支持 | disable video hooking support
    --enable-gprof           enable profiling with gprof [no]
    --disable-debug          禁用调试符号 | disable debugging symbols
    --disable-opts           禁用编译器最优化 | disable compiler optimizations
    --disable-mpegaudio-hp   启用更快的解码MPEG音频(但精确度较低)(默认禁用)faster (but less accurate) MPEG audio decoding [default=no]
    --disable-protocols      禁用 I/O 协议支持(默认启用)disable I/O protocols support [default=no]
    --disable-ffserver       禁用生成ffserver | disable ffserver build
    --disable-ffplay         禁用生成ffplay | disable ffplay build
    --enable-small           启用优化文件尺寸大小(牺牲速度)optimize for size instead of speed
    --enable-memalign-hack   启用模拟内存排列,由内存调试器干涉? | emulate memalign, interferes with memory debuggers
    --disable-strip          禁用剥离可执行程序和共享库 | disable stripping of executables and shared libraries
    --disable-encoder=NAME   禁用XX编码器 | disables encoder NAME
    --enable-encoder=NAME    启用XX编码器 | enables encoder NAME
    --disable-decoder=NAME   禁用XX解码器 | disables decoder NAME
    --enable-decoder=NAME    启用XX解码器 | enables decoder NAME
    --disable-encoders       禁用所有编码器 | disables all encoders
    --disable-decoders       禁用所有解码器 | disables all decoders
    --disable-muxer=NAME     禁用XX混音器 | disables muxer NAME
    --enable-muxer=NAME      启用XX混音器 | enables muxer NAME
    --disable-muxers         禁用所有混音器 | disables all muxers
    --disable-demuxer=NAME   禁用XX解轨器 | disables demuxer NAME
    --enable-demuxer=NAME    启用XX解轨器 | enables demuxer NAME
    --disable-demuxers       禁用所有解轨器 | disables all demuxers
    --enable-parser=NAME     启用XX剖析器 | enables parser NAME
    --disable-parser=NAME    禁用XX剖析器 | disables parser NAME
    --disable-parsers        禁用所有剖析器 | disables all parsers


    转载自https://www.cnblogs.com/azraelly/archive/2012/12/31/2840541.html

    展开全文
  • Apache2.2 configure 参数详解 `configure’ configures this package to adapt to many kinds of systems. `configure’ 配置这个包来适合多数系统. Usage: ./configure [OPTION]… [VAR=VALUE]… 语法: ./...

    Apache2.2 configure 参数详解  

    `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

    转载地址:http://blog.csdn.net/phphot/archive/2008/07/26/2714052.aspx

    展开全文
  • Qt5 configure参数说明文档

    热门讨论 2014-03-04 22:45:35
    Qt5 configure参数说明文档。Qt5源码VS下编译参考:http://blog.csdn.net/phil2036/article/details/20409535
  • 在linux下安装软件包的时候需要对其进行配置,文档对--prefix --HOST等configure参数进行了剖析,非常useful!
  • PHP7.1编译安装configure参数 [root@master php-7.1.33]# ./configure -h `configure' configures this package to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... To assign ...

    nginx1.16编译安装config参数

    PHP7.1编译安装configure参数

    [root@master php-7.1.33]# ./configure -h
    `configure' configures this package 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]
      --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                              [PREFIX]
    
    By default, `make install' will install all the files in
    `/usr/local/bin', `/usr/local/lib' etc.  You can specify
    an installation prefix other than `/usr/local' 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]
      --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
      --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 and Packages:
      --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]
      --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
      --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
      --with-libdir=NAME      Look for libraries in .../NAME rather than .../lib
      --disable-rpath         Disable passing additional runtime library
                              search paths
      --enable-re2c-cgoto     Enable -g flag to re2c to use computed goto gcc extension
      --disable-gcc-global-regs
                              whether to enable GCC global register variables
    
    SAPI modules:
    
      --with-apxs2=FILE       Build shared Apache 2.0 Handler module. FILE is the optional
                              pathname to the Apache apxs tool apxs
      --disable-cli           Disable building CLI version of PHP
                              (this forces --without-pear)
      --enable-embed=TYPE     EXPERIMENTAL: Enable building of embedded SAPI library
                              TYPE is either 'shared' or 'static'. TYPE=shared
      --enable-fpm            Enable building of the fpm SAPI executable
      --with-fpm-user=USER    Set the user for php-fpm to run as. (default: nobody)
      --with-fpm-group=GRP    Set the group for php-fpm to run as. For a system user, this
                              should usually be set to match the fpm username (default: nobody)
      --with-fpm-systemd      Activate systemd integration
      --with-fpm-acl          Use POSIX Access Control Lists
      --with-litespeed        Build PHP as litespeed module
      --enable-phpdbg            Build phpdbg
      --enable-phpdbg-webhelper  Build phpdbg web SAPI support
      --enable-phpdbg-debug      Build phpdbg in debug mode
      --disable-cgi           Disable building CGI version of PHP
    
    General settings:
    
      --enable-gcov           Enable GCOV code coverage (requires LTP) - FOR DEVELOPERS ONLY!!
      --enable-debug          Compile with debugging symbols
      --with-layout=TYPE      Set how installed files will be laid out.  Type can
                              be either PHP or GNU [PHP]
      --with-config-file-path=PATH
                              Set the path in which to look for php.ini [PREFIX/lib]
      --with-config-file-scan-dir=PATH
                              Set the path where to scan for configuration files
      --enable-sigchild       Enable PHP's own SIGCHLD handler
      --enable-libgcc         Enable explicitly linking against libgcc
      --disable-short-tags    Disable the short-form <? start tag by default
      --enable-dmalloc        Enable dmalloc
      --disable-ipv6          Disable IPv6 support
      --enable-dtrace         Enable DTrace support
      --enable-fd-setsize     Set size of descriptor sets
    
    Extensions:
    
      --with-EXTENSION=shared[,PATH]
    
        NOTE: Not all extensions can be build as 'shared'.
    
        Example: --with-foobar=shared,/usr/local/foobar/
    
          o Builds the foobar extension as shared extension.
          o foobar package install prefix is /usr/local/foobar/
    
    
      --disable-all           Disable all extensions which are enabled by default
    
      --disable-libxml        Disable LIBXML support
      --with-libxml-dir=DIR   LIBXML: libxml2 install prefix
      --with-openssl=DIR      Include OpenSSL support (requires OpenSSL >= 1.0.1)
      --with-kerberos=DIR     OPENSSL: Include Kerberos support
      --with-system-ciphers   OPENSSL: Use system default cipher list instead of hardcoded value
      --with-pcre-regex=DIR   Include Perl Compatible Regular Expressions support.
                              DIR is the PCRE install prefix BUNDLED
      --with-pcre-jit         Enable PCRE JIT functionality
      --without-sqlite3=DIR   Do not include SQLite3 support. DIR is the prefix to
                              SQLite3 installation directory.
      --with-zlib=DIR         Include ZLIB support (requires zlib >= 1.2.0.4)
      --with-zlib-dir=<DIR>   Define the location of zlib install directory
      --enable-bcmath         Enable bc style precision math functions
      --with-bz2=DIR          Include BZip2 support
      --enable-calendar       Enable support for calendar conversion
      --disable-ctype         Disable ctype functions
      --with-curl=DIR         Include cURL support
      --enable-dba            Build DBA with bundled modules. To build shared DBA
                              extension use --enable-dba=shared
      --with-qdbm=DIR         DBA: QDBM support
      --with-gdbm=DIR         DBA: GDBM support
      --with-ndbm=DIR         DBA: NDBM support
      --with-db4=DIR          DBA: Oracle Berkeley DB 4.x or 5.x support
      --with-db3=DIR          DBA: Oracle Berkeley DB 3.x support
      --with-db2=DIR          DBA: Oracle Berkeley DB 2.x support
      --with-db1=DIR          DBA: Oracle Berkeley DB 1.x support/emulation
      --with-dbm=DIR          DBA: DBM support
      --with-tcadb=DIR        DBA: Tokyo Cabinet abstract DB support
      --without-cdb=DIR       DBA: CDB support (bundled)
      --disable-inifile       DBA: INI support (bundled)
      --disable-flatfile      DBA: FlatFile support (bundled)
      --disable-dom           Disable DOM support
      --with-libxml-dir=DIR   DOM: libxml2 install prefix
      --with-enchant=DIR      Include enchant support.
                              GNU Aspell version 1.1.3 or higher required.
      --enable-exif           Enable EXIF (metadata from images) support
      --disable-fileinfo      Disable fileinfo support
      --disable-filter        Disable input filter support
      --with-pcre-dir         FILTER: pcre install prefix
      --enable-ftp            Enable FTP support
      --with-openssl-dir=DIR  FTP: openssl install prefix
      --with-gd=DIR           Include GD support.  DIR is the GD library base
                              install directory BUNDLED
      --with-webp-dir=DIR      GD: Set the path to libwebp install prefix
      --with-jpeg-dir=DIR     GD: Set the path to libjpeg install prefix
      --with-png-dir=DIR      GD: Set the path to libpng install prefix
      --with-zlib-dir=DIR     GD: Set the path to libz install prefix
      --with-xpm-dir=DIR      GD: Set the path to libXpm install prefix
      --with-freetype-dir=DIR GD: Set the path to FreeType 2 install prefix
      --enable-gd-native-ttf  GD: Enable TrueType string function
      --enable-gd-jis-conv    GD: Enable JIS-mapped Japanese font support
      --with-gettext=DIR      Include GNU gettext support
      --with-gmp=DIR          Include GNU MP support
      --with-mhash=DIR        Include mhash support
      --disable-hash          Disable hash support
      --without-iconv=DIR     Exclude iconv support
      --with-imap=DIR         Include IMAP support. DIR is the c-client install prefix
      --with-kerberos=DIR     IMAP: Include Kerberos support. DIR is the Kerberos install prefix
      --with-imap-ssl=DIR     IMAP: Include SSL support. DIR is the OpenSSL install prefix
      --with-interbase=DIR    Include Firebird support.  DIR is the Firebird base
                              install directory /opt/firebird
      --enable-intl           Enable internationalization support
      --with-icu-dir=DIR      Specify where ICU libraries and headers can be found
      --disable-json          Disable JavaScript Object Serialization support
      --with-ldap=DIR         Include LDAP support
      --with-ldap-sasl=DIR    LDAP: Include Cyrus SASL support
      --enable-mbstring       Enable multibyte string support
      --disable-mbregex       MBSTRING: Disable multibyte regex support
      --disable-mbregex-backtrack
                              MBSTRING: Disable multibyte regex backtrack check
      --with-libmbfl=DIR      MBSTRING: Use external libmbfl.  DIR is the libmbfl base
                              install directory BUNDLED
      --with-onig=DIR         MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
                              If DIR is not set, the bundled oniguruma will be used
      --with-mcrypt=DIR       Include mcrypt support
      --with-mysqli=FILE      Include MySQLi support.  FILE is the path
                              to mysql_config.  If no value or mysqlnd is passed
                              as FILE, the MySQL native driver will be used
      --enable-embedded-mysqli
                              MYSQLi: Enable embedded support
                              Note: Does not work with MySQL native driver!
      --with-mysql-sock=SOCKPATH
                              MySQLi/PDO_MYSQL: Location of the MySQL unix socket pointer.
                              If unspecified, the default locations are searched
      --with-oci8=DIR         Include Oracle Database OCI8 support. DIR defaults to $ORACLE_HOME.
                              Use --with-oci8=instantclient,/path/to/instant/client/lib
                              to use an Oracle Instant Client installation
      --with-odbcver=HEX      Force support for the passed ODBC version. A hex number is expected, default 0x0350.
                                 Use the special value of 0 to prevent an explicit ODBCVER to be defined.
      --with-adabas=DIR       Include Adabas D support /usr/local
      --with-sapdb=DIR        Include SAP DB support /usr/local
      --with-solid=DIR        Include Solid support /usr/local/solid
      --with-ibm-db2=DIR      Include IBM DB2 support /home/db2inst1/sqllib
      --with-ODBCRouter=DIR   Include ODBCRouter.com support /usr
      --with-empress=DIR      Include Empress support \$EMPRESSPATH
                              (Empress Version >= 8.60 required)
      --with-empress-bcs=DIR
                              Include Empress Local Access support \$EMPRESSPATH
                              (Empress Version >= 8.60 required)
      --with-birdstep=DIR     Include Birdstep support /usr/local/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\"
      --with-iodbc=DIR        Include iODBC support /usr/local
      --with-esoob=DIR        Include Easysoft OOB support /usr/local/easysoft/oob/client
      --with-unixODBC=DIR     Include unixODBC support /usr/local
      --with-dbmaker=DIR      Include DBMaker support
      --disable-opcache       Disable Zend OPcache support
      --disable-opcache-file  Disable file based caching
      --disable-huge-code-pages
                              Disable copying PHP CODE pages into HUGE PAGES
      --enable-pcntl          Enable pcntl support (CLI/CGI only)
      --disable-pdo           Disable PHP Data Objects support
      --with-pdo-dblib=DIR    PDO: DBLIB-DB support.  DIR is the FreeTDS home directory
      --with-pdo-firebird=DIR PDO: Firebird support.  DIR is the Firebird base
                              install directory /opt/firebird
      --with-pdo-mysql=DIR    PDO: MySQL support. DIR is the MySQL base directory
                              If no value or mysqlnd is passed as DIR, the
                              MySQL native driver will be used
      --with-zlib-dir=DIR     PDO_MySQL: Set the path to libz install prefix
      --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 example on Linux with 11.2 RPMs use:
                                --with-pdo-oci=instantclient,/usr,11.2
                              With 10.2 RPMs use:
                                --with-pdo-oci=instantclient,/usr,10.2.0.4
      --with-pdo-odbc=flavour,dir
                              PDO: Support for 'flavour' ODBC driver.
                              include and lib dirs are looked for under 'dir'.
    
                              'flavour' can be one of:  ibm-db2, iODBC, unixODBC, generic
                              If ',dir' part is omitted, default for the flavour
                              you have selected will be 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 built as 'shared' the extension filename is always pdo_odbc.so
      --with-pdo-pgsql=DIR    PDO: PostgreSQL support.  DIR is the PostgreSQL base
                              install directory or the path to pg_config
      --without-pdo-sqlite=DIR
                              PDO: sqlite 3 support.  DIR is the sqlite base
                              install directory BUNDLED
      --with-pgsql=DIR        Include PostgreSQL support.  DIR is the PostgreSQL
                              base install directory or the path to pg_config
      --disable-phar          Disable phar support
      --disable-posix         Disable POSIX-like functions
      --with-pspell=DIR       Include PSPELL support.
                              GNU Aspell version 0.50.0 or higher required
      --with-libedit=DIR      Include libedit readline replacement (CLI/CGI only)
      --with-readline=DIR     Include readline support (CLI/CGI only)
      --with-recode=DIR       Include recode support
      --disable-session       Disable session support
      --with-mm=DIR           SESSION: Include mm support for session storage
      --enable-shmop          Enable shmop support
      --disable-simplexml     Disable SimpleXML support
      --with-libxml-dir=DIR   SimpleXML: libxml2 install prefix
      --with-snmp=DIR         Include SNMP support
      --with-openssl-dir=DIR  SNMP: openssl install prefix
      --enable-soap           Enable SOAP support
      --with-libxml-dir=DIR   SOAP: libxml2 install prefix
      --enable-sockets        Enable sockets support
      --enable-sysvmsg        Enable sysvmsg support
      --enable-sysvsem        Enable System V semaphore support
      --enable-sysvshm        Enable the System V shared memory support
      --with-tidy=DIR         Include TIDY support
      --disable-tokenizer     Disable tokenizer support
      --enable-wddx           Enable WDDX support
      --with-libxml-dir=DIR   WDDX: libxml2 install prefix
      --with-libexpat-dir=DIR WDDX: libexpat dir for XMLRPC-EPI (deprecated)
      --disable-xml           Disable XML support
      --with-libxml-dir=DIR   XML: libxml2 install prefix
      --with-libexpat-dir=DIR XML: libexpat install prefix (deprecated)
      --disable-xmlreader     Disable XMLReader support
      --with-libxml-dir=DIR   XMLReader: libxml2 install prefix
      --with-xmlrpc=DIR       Include XMLRPC-EPI support
      --with-libxml-dir=DIR   XMLRPC-EPI: libxml2 install prefix
      --with-libexpat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI (deprecated)
      --with-iconv-dir=DIR    XMLRPC-EPI: iconv dir for XMLRPC-EPI
      --disable-xmlwriter     Disable XMLWriter support
      --with-libxml-dir=DIR   XMLWriter: libxml2 install prefix
      --with-xsl=DIR          Include XSL support.  DIR is the libxslt base
                              install directory (libxslt >= 1.1.0 required)
      --enable-zip            Include Zip read/write support
      --with-zlib-dir=DIR     ZIP: Set the path to libz install prefix
      --with-pcre-dir         ZIP: pcre install prefix
      --with-libzip=DIR       ZIP: use libzip
      --enable-mysqlnd        Enable mysqlnd explicitly, will be done implicitly
                              when required by other extensions
      --disable-mysqlnd-compression-support
                              Disable support for the MySQL compressed protocol in mysqlnd
      --with-zlib-dir=DIR     mysqlnd: Set the path to libz install prefix
    
    PEAR:
    
      --with-pear=DIR         Install PEAR in DIR [PREFIX/lib/php]
      --without-pear          Do not install PEAR
    
    Zend:
    
      --enable-maintainer-zts Enable thread safety - for code maintainers only!!
      --disable-inline-optimization
                              If building zend_execute.lo fails, try this switch
      --disable-zend-signals  whether to enable zend signal handling
    
    TSRM:
    
      --with-tsrm-pth=pth-config
                              Use GNU Pth
      --with-tsrm-st          Use SGI's State Threads
      --with-tsrm-pthreads    Use POSIX threads (default)
    
    Libtool:
    
      --enable-shared=PKGS    Build shared libraries default=yes
      --enable-static=PKGS    Build static libraries default=yes
      --enable-fast-install=PKGS
                              Optimize for fast installation default=yes
      --with-gnu-ld           Assume the C compiler uses GNU ld default=no
      --disable-libtool-lock  Avoid locking (might break parallel builds)
      --with-pic              Try to use only PIC/non-PIC objects default=use both
      --with-tags=TAGS        Include additional configurations automatic
    
    
    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
      YACC        The `Yet Another Compiler Compiler' implementation to use.
                  Defaults to the first program found out of: `bison -y', `byacc',
                  `yacc'.
      YFLAGS      The list of arguments that will be passed by default to $YACC.
                  This script will default YFLAGS to the empty string to avoid a
                  default value of `-d' given by some make applications.
      CXX         C++ compiler command
      CXXFLAGS    C++ compiler flags
      CXXCPP      C++ preprocessor
    
    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 the package provider.
    
    展开全文
  • configure参数介绍

    2012-07-27 16:58:10
    configure参数介绍 'configure'脚本有大量的命令行选项。对不同的软件包来说,这些选项可能会有变化,但是许多基本的选项是不会改变的。带上'--help'选项执行'configure'脚本可以看到可用的所有选项。...
  • configure参数说明

    2011-12-26 16:41:21
    configure参数说明 --build = 软件在什么平台下编译 --host = 软件在什么平台下运行 --target = 软件为什么平台服务(仅限开发工具链)
  • configure 参数详解

    2019-09-19 07:00:22
    linux ./configure参数详解 ./configure 该脚本将运行一些测试来猜测一些系统相关的变量并检测你的操作 系统的特殊设置,并且最后在制做树中创建一些文件以记录它找到了什么. 缺省设置将制作服务器和应用程序...
  • 文章目录ffmpeg----configure参数配置说明ffmpeg版本配置说明--disable-everything--disable-[component]--enable-shared--enable-cross-compile总结参考 ffmpeg----configure参数配置说明 ffmpeg版本 ffmpeg4.2.2 ...
  • C++支持调试不优化configure参数 CFLAGS="-O0" ./configure //这个是C语言 CXXFLAGS="-O0" ./configure //这个是C++语言
  • linux configure 参数解释

    2013-09-16 10:51:50
    linux configure 参数解释  Linux环境下的软件安装,并不是一件容易的事情;如果通过源代码编译后在安装,当然事情就更为复杂一些;现在安装各种软件的教程都非常普遍;但万变不离其中,对基础知识的扎实掌握,安装...
  • Configure参数选项详解

    2011-06-01 10:10:20
    对于需要编译安装的软件而言, 去了解其./configure参数是很有必要的, 不同的软件参数是不同的, 具体请查看 # ./configure –help 本文阐述一下通用的configure参数情况 Linux环境下的软件安装,并不是一件容易的...
  • 本文介绍编译PHP源码时configure参数的具体说明。
  • Linux configure参数解释

    2010-12-14 21:40:00
    Linux configure参数解释  Linux下安装软件真是不太容易,有直接rpm包安装的,这个还好说一点,有的直接使源文件还要先编译生成可执行文件,编译又有好多需要做的,比如configure,下面是网上找到的一片文章,关于...
  • 一些编译php时的configure 参数 ./configure –prefix=/usr/local/php php 安装目录 –with-apxs2=/usr/local/apache/bin/apxs –with-config-file-path=/usr/local/php/etc 指定...
  • ffmpeg ./configure参数说明 root@web ffmpeg]# ./configure --help Usage: configure [options] Options: [defaults in brackets after descriptions] Standard options: 基本选项参数 --help 显
  • 一些编译php时的configure 参数 ./configure –prefix=/usr/local/php7 php 安装目录 –with-apxs2=/usr/local/apache/bin/apxs –with-config-file-path=/usr/local/php/etc 指定php.ini位置...
  • ./configure 参数解析

    2014-10-30 00:13:23
    ./configure 参数解析 分类: Linux 2012-04-02 21:34 10860人阅读 评论(0) 收藏 举报 脚本emacsmakefile编译器compilergcc  Linux环境下的软件安装,并不是一件容易的事情;如果通过源代码编译后...
  • 如果安装后没有make clean过,可以使用以下命令查看安装apache时的configure参数: cat /usr/local/apache2/build/config.nice 如果apache的安装路径不是/usr/local/apache2,则需要先找到config.nice文件 find / -...
  • Nginx 编译安装中 ./configure 参数详解1. --with 与 --without 区别2. 1. --with 与 --without 区别 --with 开头的, 默认是禁用的. (没启动的, 想使用的话需要在编译的时候加上) --without 开头的, 默认是启用的. ...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 4,801
精华内容 1,920
关键字:

configure参数