我发现在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
是什么类型的参数?
我的意思是:
这些参数是否适用于所有软件包,还是因软件而异?
我甚至尝试阅读文档,但没有人提到这些参数。
less configure
- Michael