checking that generated files are newer than configure... done
时间: 2024-04-04 19:35:20 浏览: 10
这是一个命令行工具检查,用于检查生成的文件是否比configure文件更新。如果返回"done",则表示生成的文件比configure文件更新。在配置代码时,通常会通过configure脚本生成一些文件,例如Makefile等。如果生成的文件比configure文件旧,就意味着configure文件已经过时,需要重新运行configure脚本进行配置。因此,这个检查可以确保生成的文件是最新的,以便正确编译和运行代码。
相关问题
[root@192 samtools-1.17]# ./configure checking for gawk... gawk checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for grep that handles long lines and -e... /usr/bin/grep checking for C compiler warning flags... -Wall checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking location of HTSlib source tree... htslib-1.17 checking for NcursesW wide-character library... yes checking for working ncursesw/curses.h... yes checking for library containing cbreak... none required checking for zlib.h... no checking for inflate in -lz... no configure: error: zlib development files not found
根据你提供的信息,编译 `samtools-1.17` 时出现了错误。错误信息显示缺少 zlib 的开发文件。
在 CentOS 7 上安装 zlib 的开发文件,可以使用以下命令:
```
sudo yum install zlib-devel
```
然后重新运行 `./configure` 命令进行配置和编译。如果还有其他缺少的依赖项,也可以通过相应的包名在系统中安装它们。
注意:你可能需要具有管理员权限(使用 `sudo`)来执行安装命令。
checking for xsltproc... no configure: error: XCB requires xsltproc.
这个错误提示是因为在编译安装 XCB 库时缺少了 xsltproc 工具。xsltproc 是一个 XML 转换工具,用于将 XSLT 样式表转换成 HTML 或其他格式的工具。
你需要安装 xsltproc 工具,方法如下:
在 Ubuntu 或 Debian 系统中,可以使用以下命令安装:
```bash
sudo apt-get install xsltproc
```
在 CentOS 或 RedHat 系统中,可以使用以下命令安装:
```bash
sudo yum install libxslt
```
如果你使用的是 macOS 系统,可以使用以下命令安装:
```bash
brew install libxslt
```
安装完成后,重新编译安装 XCB 库即可。