linux下安装make

为什么make安装到./configure --prefix=/usr会出现:

config.status: error: in /opt/module/make-4.3': config.status: error: Something went wrong bootstrapping makefile fragments     for automatic dependency tracking.  Try re-running configure with the     '--disable-dependency-tracking' option to at least be able to build     the package (albeit without support for automatic dependency tracking). Seeconfig.log' for more details

该回答引用ChatGPT

这种错误通常是由于编译过程中某些依赖关系缺失导致的。您提判的错误消息显示,configure 脚本尝试在自动依赖跟踪功能支持下生成 makefile 片段时出错了。

您可以尝试重新运行 configure 脚本并加上 '--disable-dependency-tracking' 选项,以便在没有自动依赖跟踪功能的情况下至少能够编译该软件包。您也可以检查 config.log 文件以获取更多详细信息。

此外,您还可以尝试检查是否安装了编译过程中所需的所有依赖项,并确保它们的版本是最新的。

这个已经用过了yum install make -y

下载安装下make,再configure
yum install make -y