我按照说明安装 shtool
下载并解压
wget ftp://ftp.gnu.org/gnu/shtool/shtool-2.0.8.tar.gz
tar -zxvf shtool-2.0.8.tar.gz
Run Code Online (Sandbox Code Playgroud)建立图书馆
$ ./configure
$ make
Run Code Online (Sandbox Code Playgroud)我可以参考制作手册
man make
Run Code Online (Sandbox Code Playgroud)
我怎么能找到关于配置的手册
Kus*_*nda 17
该configure脚本是一个脚本,用于配置随其分发的软件以进行编译(如果适用)和安装。
这些脚本通常(在本例中)由GNUautoconf(开发人员专门用于创建可移植configure脚本的工具)创建,这意味着它将至少具有特定的一组选项。这些选项之一是--help。
$ ./configure --help
`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 `..']
Run Code Online (Sandbox Code Playgroud)
(等等。)
没有手册,configure因为它特定于分发它的软件包,并且一些可用选项可能取决于它配置的软件(因此它不能是具有自己手册的系统范围工具)。特别是,经常有--with-xxx和--without-xxx选项可以配置带有或不带有某些库的项目xxx,同样--enable-xxx还有--disable-xxx用于启用或禁用某些功能的选项(shtool尽管似乎不在此发行版中)。
通常(在这种情况下)有一个README和一个INSTALL文本文件与源代码一起分发。这些文件将描述软件以及如何配置和安装它。该INSTALL文档通常会告诉您作者如何设想安装应该发生,您可以参考configure --help输出以了解如何根据自己的需要对其进行自定义。