linux - Linux 中 "./configure"的各种选项/参数是什么

标签 linux configure

我已经看到,在 Linux 中安装新软件时,我总是必须先使用 configure 它。

但有时我们需要像我今天所做的那样传递各种选项来安装 lxml:

./configure --with-python=/opt/python27/bin/python 
--prefix=/usr/local 
--with-libxml-prefix=/usr/local 
--with-libxml-include-prefix=/usr/local/include 
--with-libxml-libs-prefix=/usr/local/lib

现在我想知道,这个人怎么知道可以使用什么类型的参数,如 --with-python
我的意思是:

  1. 这些参数在所有软件包中是否相同,或者它们因软件而异?

  2. 我什至也尝试阅读文档,但没有人提及这些参数。

最佳答案

./configure --help

这将显示该特定 configure 脚本的所有选项。

关于linux - Linux 中 "./configure"的各种选项/参数是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6227875/

相关文章:

c - 如何查找已连接套接字使用的网络接口(interface)

linux - 如何在 Redhat 7.0 中构建 gcc 4.2.0 以实现向后兼容?

java - 从文件配置 ehcache

ubuntu - activemq 中的内存限制 (67108864)

android - 用android ndk r5b编译ffmpeg

ubuntu - 在 Linux 上安装 WordNet (Ubuntu trusty)

c++ - 如何将 boost 库添加到 Visual Studio Linux 项目中?

linux - 关闭正在轮询的文件描述符

linux - 管道pyinstaller输出可能吗?

java - jar 在 unix 和 linux 中的行为是否不同?